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

26 lines
457 B
JavaScript

import { request } from "@/utils/request";
export default {
/**
* 获取当前积分
*/
getIntegral() {
return request({
url: "/user/integral",
method: "GET",
needLogin: true,
});
},
/**
* 获取当前余额
*/
getBalance() {
return request({
url: "/user/balance",
method: "GET",
needLogin: true,
});
},
};