30 lines
603 B
JavaScript
30 lines
603 B
JavaScript
|
import request from '@/peach/request'
|
||
|
|
||
|
const UserUtil = {
|
||
|
// 获取用户信息
|
||
|
getUserInfo: () => {
|
||
|
return request({
|
||
|
url: '/particulars/member/get',
|
||
|
method: 'GET',
|
||
|
})
|
||
|
},
|
||
|
|
||
|
// 获取钱包
|
||
|
getWalletInfo: () => {
|
||
|
return request({
|
||
|
url: '/pay/wallet/get',
|
||
|
method: 'GET',
|
||
|
})
|
||
|
},
|
||
|
|
||
|
// 首页统计
|
||
|
getHomeStatistics: () => {
|
||
|
return request({
|
||
|
url: '/statistics/index/get-count',
|
||
|
method: 'GET',
|
||
|
})
|
||
|
},
|
||
|
}
|
||
|
|
||
|
export default UserUtil
|