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), }); diff --git a/src/views/UserPermissions/Market.vue b/src/views/UserPermissions/Market.vue index 72ce497..5e32f15 100644 --- a/src/views/UserPermissions/Market.vue +++ b/src/views/UserPermissions/Market.vue @@ -118,7 +118,7 @@