暖心人
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
966 B

1 year ago
import request from "@/utils/request.js";
import {host} from "@/config/host.js";
/**
* 登录
* @param {Object} data
*/
export function testLogin(data) {
return request({
url: `${host}/common/fake-login`,
1 year ago
method: "get",
data
});
}
export function appletLogin(data) {
1 year ago
return request({
url: `${host}/common/SmallLogins`,
method: "post",
1 year ago
data
});
}
export function userDetail(data) {
return request({
url: `${host}/user/get-info`,
method: "get",
1 year ago
data
});
}
export function userExtends(data) {
return request({
url: `${host}/user/user-count`,
method: "post",
data
});
}
export function cronBalance(data) {
1 year ago
return request({
url: `${host}/clue-record/balance`,
method: "post",
data
});
}
export function cronList(data) {
return request({
url: `${host}/clue-record/lists`,
method: "post",
data
});
}
export function userEdit(data) {
return request({
url: `${host}/user/update`,
method: "post",
1 year ago
data
});
}