From 529ba0b0ad68de37a3ab0398f951ff9c2f572298 Mon Sep 17 00:00:00 2001 From: liruiqiang <3151805288@qq.com> Date: Wed, 31 Dec 2025 16:29:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=8E=A5=E5=8F=A3=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- .env.test | 4 ++-- src/api/userPermissions.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.env.development b/.env.development index cf77dd5..bb39d60 100644 --- a/.env.development +++ b/.env.development @@ -1,2 +1,2 @@ VITE_API_BASE_URL = "https://dbqb.legu168.cn/adminApi" -VITE_API_BASE_URL_LINK = "http://39.101.133.168:8828" \ No newline at end of file +VITE_API_BASE_URL_LINK = "https://dbqb.legu168.cn/hljw/api/haiwai/user/login_jwcode" \ No newline at end of file diff --git a/.env.production b/.env.production index 963cb02..8fde434 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,2 @@ VITE_API_BASE_URL = "https://dcapi.homilychart.com/prod/deepchart" -VITE_API_BASE_URL_LINK = "https://api.homilychart.com" \ No newline at end of file +VITE_API_BASE_URL_LINK = "https://api.homilychart.com/hljw/api/haiwai/user/login_jwcode" \ No newline at end of file diff --git a/.env.test b/.env.test index 5c7d2f4..379c4a8 100644 --- a/.env.test +++ b/.env.test @@ -1,2 +1,2 @@ -VITE_API_BASE_URL = "https://dcapi.homilychart.com/prod/deepchart" -VITE_API_BASE_URL_LINK = "http://39.101.133.168:8828" +VITE_API_BASE_URL = "https://dbqb.legu168.cn/adminApi" +VITE_API_BASE_URL_LINK = "https://dbqb.legu168.cn/hljw/api/haiwai/user/login_jwcode" diff --git a/src/api/userPermissions.js b/src/api/userPermissions.js index c4683fc..57df0ce 100644 --- a/src/api/userPermissions.js +++ b/src/api/userPermissions.js @@ -14,7 +14,7 @@ const requestFrom = axios.create({ // 登录 export function loginApi(params) { return requestFrom({ - url: "https://dbqb.legu168.cn/hljw/api/haiwai/user/login_jwcode", + url: base_url_link, method: "post", data: new URLSearchParams(params), });