// 个人相关接口
|
|
|
|
const api = {
|
|
// 充值
|
|
recharge: {
|
|
url: '/info_common/withdraw',
|
|
method: 'GET',
|
|
auth: true,
|
|
limit: 1000,
|
|
showLoading: true,
|
|
},
|
|
// 提现
|
|
withdraw: {
|
|
url: '/info_common/withdraw',
|
|
method: 'GET',
|
|
auth: true,
|
|
limit: 1000,
|
|
showLoading: true,
|
|
},
|
|
// 获取地址列表带分页
|
|
getAddressPageList: {
|
|
url: '/info_common/getAddressPageList',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 增加或修改地址信息
|
|
addOrUpdateAddress: {
|
|
url: '/info_common/addOrUpdateAddress',
|
|
method: 'POST',
|
|
limit: 500,
|
|
auth: true,
|
|
showLoading: true,
|
|
},
|
|
// 删除地址
|
|
deleteAddress: {
|
|
url: '/info_common/deleteAddress',
|
|
method: 'GET',
|
|
limit: 500,
|
|
auth: true,
|
|
showLoading: true,
|
|
},
|
|
// 修改默认地址
|
|
updateDefaultAddress: {
|
|
url: '/info_common/updateDefaultAddress',
|
|
method: 'GET',
|
|
auth: true,
|
|
limit: 1000,
|
|
},
|
|
// 获取粉丝列表带分页
|
|
getFansPageList: {
|
|
url: '/info_common/getFansPageList',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 获取相关介绍
|
|
getInfoIntroduce: {
|
|
url: '/info_common/getInfoIntroduce',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 获取个人邀请码
|
|
getInviteCode: {
|
|
url: '/info_common/getInviteCode',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 获取订单列表带分页
|
|
getOrderPageList: {
|
|
url: '/info_common/getOrderPageList',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 获取订单详情
|
|
getOrderDetail: {
|
|
url: '/info_common/getOrderDetail',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 获取流水记录带分页
|
|
getWaterPageList: {
|
|
url: '/info_common/getWaterPageList',
|
|
method: 'GET',
|
|
auth: true,
|
|
},
|
|
// 获取相关介绍
|
|
getInfoIntroduce: {
|
|
url: '/info_common/getInfoIntroduce',
|
|
method: 'GET',
|
|
},
|
|
// 获取相关介绍详情
|
|
getInfoIntroduceDetail: {
|
|
url: '/info_common/getRiceNewsDetail',
|
|
method: 'GET',
|
|
},
|
|
// 查询个人信息相关
|
|
getRiceInfo: {
|
|
url: '/info_common/getRiceInfo',
|
|
method: 'GET',
|
|
limit: 500,
|
|
},
|
|
// 获取购物车信息列表带分页
|
|
getCartPageList: {
|
|
url: '/info_common/getCartPageList',
|
|
method: 'GET',
|
|
},
|
|
// 领取新人优惠券
|
|
getRiceCoupon: {
|
|
url: '/info_common/getRiceCoupon',
|
|
method: 'GET',
|
|
limit: 500,
|
|
auth: true,
|
|
},
|
|
}
|
|
|
|
export default api
|