From 7dcfc919e2e7971d58233f7370722290cac06396 Mon Sep 17 00:00:00 2001 From: xingyy <373639591@qq.com> Date: Fri, 5 Jan 2024 15:22:12 +0800 Subject: [PATCH] submit --- http/interface.js | 2 +- http/login.js | 7 +++++++ pages/realName/realName.vue | 29 ++++++++++++++--------------- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/http/interface.js b/http/interface.js index 2156288..6fc39e3 100644 --- a/http/interface.js +++ b/http/interface.js @@ -4,7 +4,7 @@ */ export default { config: { - baseUrl: "https://stock.szjixun.cn", //"http://172.16.100.93:8017", //"http://192.168.88.175:9021",//测试 'https://warehouse.szjixun.cn' 正式 https://stock.szjixun.cn + baseUrl: "https://warehouse.szjixun.cn", //"http://172.16.100.93:8017", //"http://192.168.88.175:9021",//测试 'https://warehouse.szjixun.cn' 正式 https://stock.szjixun.cn header: { "Content-Type": "application/json;charset=UTF-8", // 'Content-Type':'application/x-www-form-urlencoded' diff --git a/http/login.js b/http/login.js index 17e915d..a7ea8ad 100644 --- a/http/login.js +++ b/http/login.js @@ -8,6 +8,13 @@ export const login = (data) => { data, }); }; +export const configFun = (data) => { + return http.request({ + url: "/api/config", + method: "POST", + data, + }); +}; // 获取手机号 export const getTel = (data) => { return http.request({ diff --git a/pages/realName/realName.vue b/pages/realName/realName.vue index 0439772..ddcc809 100644 --- a/pages/realName/realName.vue +++ b/pages/realName/realName.vue @@ -48,7 +48,7 @@ - + 人脸识别 前往认证 @@ -90,9 +90,11 @@