zhuli 3 долоо хоног өмнө
parent
commit
2e7107267a

+ 10 - 1
src/api/modules/homeEntry.ts

@@ -88,7 +88,16 @@ export const resetToInitialStatus = () => {
 export const addAlipayAccount = params => {
   return http.post(PORT_NONE + `/merchantUser/addAlipayAccount`, params);
 };
+
+//删除支付宝账号
+export const deleteAlipayAccount = () => {
+  return http.post(PORT_NONE + `/merchantUser/deleteAlipayAccount`, {});
+};
 //提现申请-提交
 export const cashOut = params => {
-  return http.get(PORT_NONE + `/incomeManage/cashOut`, params);
+  return http.post(PORT_NONE + `/incomeManage/cashOut`, params);
+};
+
+export const getCheckPayPasswordTwo = params => {
+  return http.get(PORT_NONE + `/merchantUser/checkPayPassword`, params);
 };

+ 4 - 0
src/api/modules/newLoginApi.ts

@@ -55,3 +55,7 @@ export const getDistrict = params => {
 export const uploadImg = (params: FormData) => {
   return httpLogin.post<Upload.ResFileUrl>(`/alienStore/file/uploadMore`, params, { cancel: false });
 };
+//验证验证码
+export const getCheckSmsCode = params => {
+  return httpLogin.get(`/alienStore/ali/checkSmsCode`, params);
+};

+ 14 - 0
src/assets/json/authMenuList.json

@@ -466,6 +466,20 @@
             "isAffix": false,
             "isKeepAlive": false
           }
+        },
+        {
+          "path": "/financialManagement/realName",
+          "name": "realName",
+          "component": "/financialManagement/realName",
+          "meta": {
+            "icon": "CreditCard",
+            "title": "支付设置",
+            "isLink": "",
+            "isHide": false,
+            "isFull": false,
+            "isAffix": false,
+            "isKeepAlive": false
+          }
         }
       ]
     }