From 82af85eae92790fc125ca42d1a800046fe0bd916 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期三, 29 三月 2023 14:00:08 +0800 Subject: [PATCH] 登录页修改 --- api/publicInterface.js | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/api/publicInterface.js b/api/publicInterface.js index bba27cf..5154bc8 100644 --- a/api/publicInterface.js +++ b/api/publicInterface.js @@ -2,9 +2,12 @@ // import login from "../pages/login/login"; // const BaseUrl = "http://192.168.3.159:9999/"; -import {BaseUrl as wrBaseUrl} from '@/api/request.js' -// const BaseUrl = "http://192.168.0.120:9999" -const BaseUrl = "http://192.168.3.109:9999" +import { + BaseUrl as wrBaseUrl +} from '@/api/request.js' +// const BaseUrl = "http://hesuancj.cn:9999" +// const BaseUrl = "https://hesuancj.cn:9095" +const BaseUrl = "http://192.168.3.119:9999" // 鐧诲綍 // function apiLogin({ @@ -153,8 +156,8 @@ url: BaseUrl + '/admin/oauth2/token', method: "POST", data: { - grant_type:'mobile', - mobile:`MINI@${code}`, + grant_type: 'mobile', + mobile: `MINI@${code}`, code }, header: { -- Gitblit v1.9.1