From 4abaa346a1593d0721bc1aa0989f1007e16d3301 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期三, 21 八月 2024 17:20:38 +0800
Subject: [PATCH] -
---
src/common/request/http.api.js | 52 ++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 38 insertions(+), 14 deletions(-)
diff --git a/src/common/request/http.api.js b/src/common/request/http.api.js
index 0181c4d..4097830 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,42 @@
});
-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: false
+ }
+});
+let CreateUser = (params, config = {}) => http.post(`/api/LogoIn/CreateUser`, params, {
+ custom: {
+ methodName: 'CreateUser',
+ needToken: false
+ }
+});
+
+//鏈湴閫夋嫨鍥剧墖杞琤ase64锛屽啀涓婁紶鏈嶅姟鍣ㄥ瓨鍌ㄨ繑鍥炲湴鍧�
+let UpdateFileBase64 = (params, config = {}) => http.post('/api/UpFile/UpdateFileBase64', params, {
+ custom: {
+ methodName: 'topUp.UpdateFileBase64',
needToken: true
}
});
+// 澧炲姞浜鸿劯鐗瑰緛
+let IaiAddPerso = (params, config = {}) => http.post(`/api/UpFile/IaiAddPerso`, params, {
+ custom: {
+ methodName: 'topUp.IaiAddPerso',
+ needToken: true
+ },
+ params:config
+});
// 灏嗗悇涓畾涔夌殑鎺ュ彛鍚嶇О锛岀粺涓�鏀捐繘瀵硅薄鎸傝浇鍒皏m.$u.api(鍥犱负vm灏辨槸this锛屼篃鍗硉his.$u.api)涓�
export {
temLogin, //鐧诲綍
-
+ CreateUser, //娉ㄥ唽骞剁櫥褰�
+ UpdateFileBase64, //杞崲鎴恇ase64
+ IaiAddPerso
};
// }
--
Gitblit v1.9.1