|
@ -3,264 +3,264 @@ |
|
|
const api = { |
|
|
const api = { |
|
|
// 获取首页轮播图
|
|
|
// 获取首页轮播图
|
|
|
getBanner: { |
|
|
getBanner: { |
|
|
url: '/recycle-admin/applet/index/getBanner', |
|
|
|
|
|
|
|
|
url: '/applet/index/getBanner', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : false, |
|
|
auth : false, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
getHanHaiMemberUser: { |
|
|
getHanHaiMemberUser: { |
|
|
url: '/recycle-admin/applet/promotion/getHanHaiMemberUser', |
|
|
|
|
|
|
|
|
url: '/applet/promotion/getHanHaiMemberUser', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 升级用户为推广官
|
|
|
// 升级用户为推广官
|
|
|
upgrade: { |
|
|
upgrade: { |
|
|
url: '/recycle-admin/applet/info_team/upgrade', |
|
|
|
|
|
|
|
|
url: '/applet/info_team/upgrade', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 拉黑用户
|
|
|
// 拉黑用户
|
|
|
blackUser: { |
|
|
blackUser: { |
|
|
url: '/recycle-admin/applet/info_team/blackUser', |
|
|
|
|
|
|
|
|
url: '/applet/info_team/blackUser', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 订单驳回
|
|
|
// 订单驳回
|
|
|
rejectOrder: { |
|
|
rejectOrder: { |
|
|
url: '/recycle-admin/applet/info_team_order/rejectOrder', |
|
|
|
|
|
|
|
|
url: '/applet/info_team_order/rejectOrder', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 订单通过
|
|
|
// 订单通过
|
|
|
passOrder: { |
|
|
passOrder: { |
|
|
url: '/recycle-admin/applet/info_team_order/passOrder', |
|
|
|
|
|
|
|
|
url: '/applet/info_team_order/passOrder', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 解除员工
|
|
|
// 解除员工
|
|
|
removeMember: { |
|
|
removeMember: { |
|
|
url: '/recycle-admin/applet/member/removeMember', |
|
|
|
|
|
|
|
|
url: '/applet/member/removeMember', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 查询员工列表
|
|
|
// 查询员工列表
|
|
|
getMyTeamList: { |
|
|
getMyTeamList: { |
|
|
url: '/recycle-admin/applet/member/getMyTeamList', |
|
|
|
|
|
|
|
|
url: '/applet/member/getMyTeamList', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 查询员工详情
|
|
|
// 查询员工详情
|
|
|
getMemberInfo: { |
|
|
getMemberInfo: { |
|
|
url: '/recycle-admin/applet/member/getMemberInfo', |
|
|
|
|
|
|
|
|
url: '/applet/member/getMemberInfo', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 拒绝推广官申请
|
|
|
// 拒绝推广官申请
|
|
|
rejectPromotionApply: { |
|
|
rejectPromotionApply: { |
|
|
url: '/recycle-admin/applet/promotion/rejectPromotionApply', |
|
|
|
|
|
|
|
|
url: '/applet/promotion/rejectPromotionApply', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 同意推广官申请
|
|
|
// 同意推广官申请
|
|
|
passPromotionApply: { |
|
|
passPromotionApply: { |
|
|
url: '/recycle-admin/applet/promotion/passPromotionApply', |
|
|
|
|
|
|
|
|
url: '/applet/promotion/passPromotionApply', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 获取推广表单申请列表带分页
|
|
|
// 获取推广表单申请列表带分页
|
|
|
getPromotionApplyListPage: { |
|
|
getPromotionApplyListPage: { |
|
|
url: '/recycle-admin/applet/promotion/getPromotionApplyListPage', |
|
|
|
|
|
|
|
|
url: '/applet/promotion/getPromotionApplyListPage', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 获取推广员列表
|
|
|
// 获取推广员列表
|
|
|
getPromotionList: { |
|
|
getPromotionList: { |
|
|
url: '/recycle-admin/applet/promotion/getPromotionList', |
|
|
|
|
|
|
|
|
url: '/applet/promotion/getPromotionList', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 修改购物车信息数量
|
|
|
// 修改购物车信息数量
|
|
|
getUserOrderNum: { |
|
|
getUserOrderNum: { |
|
|
url: '/recycle-admin/applet/info_team_order/getUserOrderNum', |
|
|
|
|
|
|
|
|
url: '/applet/info_team_order/getUserOrderNum', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 获取管理员订单详情
|
|
|
// 获取管理员订单详情
|
|
|
getOrderDetail: { |
|
|
getOrderDetail: { |
|
|
url: '/recycle-admin/applet/info_team_order/getOrderDetail', |
|
|
|
|
|
|
|
|
url: '/applet/info_team_order/getOrderDetail', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 获取管理员订单列表
|
|
|
// 获取管理员订单列表
|
|
|
getOrderList: { |
|
|
getOrderList: { |
|
|
url: '/recycle-admin/applet/info_team_order/getOrderList', |
|
|
|
|
|
|
|
|
url: '/applet/info_team_order/getOrderList', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true |
|
|
auth: true |
|
|
}, |
|
|
}, |
|
|
// 创建预约订单
|
|
|
// 创建预约订单
|
|
|
createOrder: { |
|
|
createOrder: { |
|
|
url: '/recycle-admin/applet/order/createOrder', |
|
|
|
|
|
|
|
|
url: '/applet/order/createOrder', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 流水列表带分页
|
|
|
// 流水列表带分页
|
|
|
getMyMoneyLogPage: { |
|
|
getMyMoneyLogPage: { |
|
|
url: '/recycle-admin/applet/money/getMyMoneyLogPage', |
|
|
|
|
|
|
|
|
url: '/applet/money/getMyMoneyLogPage', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 确认收货
|
|
|
// 确认收货
|
|
|
apply: { |
|
|
apply: { |
|
|
url: '/recycle-admin/applet/promotion/apply', |
|
|
|
|
|
|
|
|
url: '/applet/promotion/apply', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 获取推广官信息
|
|
|
// 获取推广官信息
|
|
|
getMyPromotionInfo: { |
|
|
getMyPromotionInfo: { |
|
|
url: '/recycle-admin/applet/promotion/getMyPromotionInfo', |
|
|
|
|
|
|
|
|
url: '/applet/promotion/getMyPromotionInfo', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
// 获取首页广告列表
|
|
|
// 获取首页广告列表
|
|
|
getRankList: { |
|
|
getRankList: { |
|
|
url: '/recycle-admin/applet/promotion/getRankList', |
|
|
|
|
|
|
|
|
url: '/applet/promotion/getRankList', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : true |
|
|
auth : true |
|
|
}, |
|
|
}, |
|
|
// 获取品牌列表
|
|
|
// 获取品牌列表
|
|
|
getGoodsBrandList: { |
|
|
getGoodsBrandList: { |
|
|
url: '/recycle-admin/applet/class/getGoodsBrandList', |
|
|
|
|
|
|
|
|
url: '/applet/class/getGoodsBrandList', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : false |
|
|
auth : false |
|
|
}, |
|
|
}, |
|
|
//联系客服页面
|
|
|
//联系客服页面
|
|
|
getQuestionList: { |
|
|
getQuestionList: { |
|
|
url: '/recycle-admin/applet/order/getQuestionList', |
|
|
|
|
|
|
|
|
url: '/applet/order/getQuestionList', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : false |
|
|
auth : false |
|
|
}, |
|
|
}, |
|
|
//获取用户信息
|
|
|
//获取用户信息
|
|
|
getInfoTeamListPage: { |
|
|
getInfoTeamListPage: { |
|
|
url: '/recycle-admin/applet/info_team/getInfoTeamListPage', |
|
|
|
|
|
|
|
|
url: '/applet/info_team/getInfoTeamListPage', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : true |
|
|
auth : true |
|
|
}, |
|
|
}, |
|
|
//查看订单详情
|
|
|
//查看订单详情
|
|
|
getOrderDetail: { |
|
|
getOrderDetail: { |
|
|
url: '/recycle-admin/applet/order/getOrderDetail', |
|
|
|
|
|
|
|
|
url: '/applet/order/getOrderDetail', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : true |
|
|
auth : true |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//查看最近回收质检报告
|
|
|
//查看最近回收质检报告
|
|
|
getQualityReport: { |
|
|
getQualityReport: { |
|
|
url: '/recycle-admin/applet/index/getQualityReport', |
|
|
|
|
|
|
|
|
url: '/applet/index/getQualityReport', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : false |
|
|
auth : false |
|
|
}, |
|
|
}, |
|
|
// 回收规则
|
|
|
// 回收规则
|
|
|
getGoodsRecycleRule: { |
|
|
getGoodsRecycleRule: { |
|
|
url: '/recycle-admin/applet/class/getGoodsRecycleRule', |
|
|
|
|
|
|
|
|
url: '/applet/class/getGoodsRecycleRule', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : false |
|
|
auth : false |
|
|
}, |
|
|
}, |
|
|
// 获取用户订单列表
|
|
|
// 获取用户订单列表
|
|
|
getOrderListPage: { |
|
|
getOrderListPage: { |
|
|
url: '/recycle-admin/applet/order/getOrderListPage', |
|
|
|
|
|
|
|
|
url: '/applet/order/getOrderListPage', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : true |
|
|
auth : true |
|
|
}, |
|
|
}, |
|
|
// 查询最近回收商品
|
|
|
// 查询最近回收商品
|
|
|
getRecentGoodsList: { |
|
|
getRecentGoodsList: { |
|
|
url: '/recycle-admin/applet/index/getRecentGoodsList', |
|
|
|
|
|
|
|
|
url: '/applet/index/getRecentGoodsList', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : false |
|
|
auth : false |
|
|
}, |
|
|
}, |
|
|
// 最近回收
|
|
|
// 最近回收
|
|
|
getQualityReport: { |
|
|
getQualityReport: { |
|
|
url: '/recycle-admin/applet/index/getQualityReport', |
|
|
|
|
|
|
|
|
url: '/applet/index/getQualityReport', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : false, |
|
|
auth : false, |
|
|
}, |
|
|
}, |
|
|
// 1.根据id获取对应商品列表
|
|
|
// 1.根据id获取对应商品列表
|
|
|
getGoodsBrandList: { |
|
|
getGoodsBrandList: { |
|
|
url: '/recycle-admin/applet/class/getGoodsBrandList', |
|
|
|
|
|
|
|
|
url: '/applet/class/getGoodsBrandList', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : false |
|
|
auth : false |
|
|
}, |
|
|
}, |
|
|
// 根据商品标识查询商品品牌下的款式
|
|
|
// 根据商品标识查询商品品牌下的款式
|
|
|
getGoodsBrandProduct: { |
|
|
getGoodsBrandProduct: { |
|
|
url: '/recycle-admin/applet/class/getGoodsBrandProduct', |
|
|
|
|
|
|
|
|
url: '/applet/class/getGoodsBrandProduct', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : false |
|
|
auth : false |
|
|
}, |
|
|
}, |
|
|
// 2.根据分类标识获取分类商品列表带分页
|
|
|
// 2.根据分类标识获取分类商品列表带分页
|
|
|
getClassGoodsList: { |
|
|
getClassGoodsList: { |
|
|
url: '/recycle-admin/applet/class/getClassGoodsList', |
|
|
|
|
|
|
|
|
url: '/applet/class/getClassGoodsList', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : false |
|
|
auth : false |
|
|
}, |
|
|
}, |
|
|
// 获取我的礼品订单
|
|
|
// 获取我的礼品订单
|
|
|
getPricePreviewClassList: { |
|
|
getPricePreviewClassList: { |
|
|
url: '/recycle-admin/applet/class/getPricePreviewClassList', |
|
|
|
|
|
|
|
|
url: '/applet/class/getPricePreviewClassList', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : false, |
|
|
auth : false, |
|
|
}, |
|
|
}, |
|
|
// 获取我的礼品订单详情
|
|
|
// 获取我的礼品订单详情
|
|
|
getAreaList: { |
|
|
getAreaList: { |
|
|
url: '/recycle-admin/applet/index/getAreaList', |
|
|
|
|
|
|
|
|
url: '/applet/index/getAreaList', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : true, |
|
|
auth : true, |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
getCumulativeRecoveryCount: { |
|
|
getCumulativeRecoveryCount: { |
|
|
url: '/recycle-admin/applet/order/getCumulativeRecoveryCount', |
|
|
|
|
|
|
|
|
url: '/applet/order/getCumulativeRecoveryCount', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth : true, |
|
|
auth : true, |
|
|
}, |
|
|
}, |
|
|
getcheckoutReasons: { |
|
|
getcheckoutReasons: { |
|
|
url: '/recycle-admin/applet/order/getcheckoutReasons', |
|
|
|
|
|
|
|
|
url: '/applet/order/getcheckoutReasons', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
submitQualityInfo: { |
|
|
submitQualityInfo: { |
|
|
url: '/recycle-admin/applet/info_team_order/submitQualityInfo', |
|
|
|
|
|
|
|
|
url: '/applet/info_team_order/submitQualityInfo', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
cancelOrder: { |
|
|
cancelOrder: { |
|
|
url: '/recycle-admin/applet/order/cancelOrder', |
|
|
|
|
|
|
|
|
url: '/applet/order/cancelOrder', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
getGoodsDetail: { |
|
|
getGoodsDetail: { |
|
|
url: '/recycle-admin/applet/class/getGoodsDetail', |
|
|
|
|
|
|
|
|
url: '/applet/class/getGoodsDetail', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
orderStatusStatistics: { |
|
|
orderStatusStatistics: { |
|
|
url: '/recycle-admin/applet/info_team_order/orderStatusStatistics', |
|
|
|
|
|
|
|
|
url: '/applet/info_team_order/orderStatusStatistics', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
income: { |
|
|
income: { |
|
|
url: '/recycle-admin/applet/money/income', |
|
|
|
|
|
|
|
|
url: '/applet/money/income', |
|
|
method: 'POST', |
|
|
method: 'POST', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
adminOrderBrowseRecord: { |
|
|
adminOrderBrowseRecord: { |
|
|
url: '/recycle-admin/applet/info_team_order/adminOrderBrowseRecord', |
|
|
|
|
|
|
|
|
url: '/applet/info_team_order/adminOrderBrowseRecord', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
getPromotionCount: { |
|
|
getPromotionCount: { |
|
|
url: '/recycle-admin/applet/promotion/getPromotionCount', |
|
|
|
|
|
|
|
|
url: '/applet/promotion/getPromotionCount', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|
queryTrace: { |
|
|
queryTrace: { |
|
|
url: '/recycle-admin/applet/order/queryTrace', |
|
|
|
|
|
|
|
|
url: '/applet/order/queryTrace', |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
auth: true, |
|
|
auth: true, |
|
|
}, |
|
|
}, |
|
|