| | |
| | | }); |
| | | //获取门店订单列表 |
| | | let getOrderPageByMerchantSearch = (params, config = {}) => http.post('/Api/Store/GetOrderPageByMerchantSearch', |
| | | params, { |
| | | custom: { |
| | | methodName: 'store.getOrderPageByMerchantSearch', |
| | | needToken: true |
| | | } |
| | | }); |
| | | params, { |
| | | custom: { |
| | | methodName: 'store.getOrderPageByMerchantSearch', |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | // 判断是否开启门店自提 |
| | | let switchStore = (params, config = {}) => http.post('/Api/Store/GetStoreSwitch', params, { |
| | |
| | | }); |
| | | |
| | | let addOfflineDistributor = (params, config = {}) => http.post('/Api/OfflineDistributor/addOfflineDistributor', |
| | | params, { |
| | | custom: { |
| | | methodName: 'addOfflineDistributor', |
| | | needToken: true |
| | | } |
| | | }); |
| | | params, { |
| | | custom: { |
| | | methodName: 'addOfflineDistributor', |
| | | needToken: true |
| | | } |
| | | }); |
| | | |
| | | //计划订单 获取计划订单详情 |
| | | let GetPlanOrder = (params, config = {}) => http.post('/Api/Order/GetPlanOrder', params, { |
| | |
| | | }); |
| | | |
| | | |
| | | let temLogin = (params, config = {}) => http.get('/api/LogoIn/LogoinFast', params, { |
| | | let temLogin = (params, config = {}) => http.get(`/api/LogoIn/LogoinFast?jscode=${params}`, params,{ |
| | | custom: { |
| | | methodName: 'LogoinFast', |
| | | needToken: true |
| | | needToken: false |
| | | } |
| | | }); |
| | | |
| | | let CreateUser = (params, config = {}) => http.post(`/api/LogoIn/CreateUser`, params, { |
| | | custom: { |
| | | methodName: 'CreateUser', |
| | | needToken: false |
| | | } |
| | | }); |
| | | |
| | | // 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下 |
| | | export { |
| | | temLogin, //登录 |
| | | |
| | | CreateUser, //注册并登录 |
| | | }; |
| | | // } |
| | | |