|
|
- // 个人相关接口
-
- const api = {
- /**
- * 我的团队-查询直推用户列表
- */
- queryRecommendUserList: {
- url: '/share/queryRecommendUserList',
- method: 'POST',
- auth: true,
- },
- /**
- * 邀请好友-获取推荐二维码
- */
- getInviteCode: {
- url: '/share/getInviteCode',
- method: 'POST',
- auth: true,
- showLoading: true,
- },
- /**
- * 积分-签到获取积分
- */
- sign: {
- url: '/score/sign',
- method: 'POST',
- auth: true,
- showLoading: true,
- },
- /**
- * 积分-查询积分列表
- */
- queryScoreList: {
- url: '/score/queryScoreList',
- method: 'GET',
- auth: true,
- showLoading: true,
- },
-
-
- // 充值
- 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,
- },
- // 获取流水记录带分页
- 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
|