球星卡微信小程序
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.
 
 
 
 

60 lines
1.0 KiB

import request from '@/common/request.js'
// 个人中心
export async function my() {
return await request({
url: '/api/v1/my',
method: 'post',
})
}
// 获取优惠码
export async function checkAgentCode(code) {
return await request({
url: '/api/v1/check_agent_code',
data:{code:code},
method: 'post',
})
}
// 获取优惠码
export async function couponSearch() {
return await request({
url: '/api/v1/coupon_search',
method: 'post',
})
}
// 更新优惠码
export async function couponUpdate() {
return await request({
url: '/api/v1/coupon_update',
method: 'post',
})
}
// 获取系统信息
export async function sysInfo() {
return await request({
url: '/api/v1/sys_info',
method: 'post',
})
}
// 获取系统消息列表
export async function notify(page) {
return await request({
url: '/api/v1/notifys',
method: 'post',
data:{page:page}
})
}
// 获取系统消息详情
export async function notifyDetail(id) {
return await request({
url: '/api/v1/notify_detail',
method: 'post',
data:{id:id}
})
}