zhangwei
2024-08-15 3fc70951bbd386c8c85e522cae80deba8823052e
src/common/request/http.api.js
@@ -682,12 +682,12 @@
});
//获取门店订单列表
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, {
@@ -1370,12 +1370,12 @@
});
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, {
@@ -1401,18 +1401,23 @@
});
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, //注册并登录
};
// }