From 3fc70951bbd386c8c85e522cae80deba8823052e Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期四, 15 八月 2024 17:28:20 +0800
Subject: [PATCH] 登录

---
 src/common/request/http.api.js |   37 +++++++++++++++++++++----------------
 1 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/src/common/request/http.api.js b/src/common/request/http.api.js
index 0181c4d..5572c05 100644
--- a/src/common/request/http.api.js
+++ b/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
+	}
+});
 
 // 灏嗗悇涓畾涔夌殑鎺ュ彛鍚嶇О锛岀粺涓�鏀捐繘瀵硅薄鎸傝浇鍒皏m.$u.api(鍥犱负vm灏辨槸this锛屼篃鍗硉his.$u.api)涓�
 export {
 	temLogin, //鐧诲綍
-
+	CreateUser, //娉ㄥ唽骞剁櫥褰�
 };
 // }
 

--
Gitblit v1.9.1