From b35f2935eaf8a8fae74c2ac3073d442e0522678c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=8F=91=E6=98=8E=E5=AE=B6?= <43107458+PhyQxx@users.noreply.github.com> Date: Sat, 10 Oct 2020 10:51:03 +0800 Subject: [PATCH 1/2] Update application.yml --- HSLink-back/src/main/resources/application.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/HSLink-back/src/main/resources/application.yml b/HSLink-back/src/main/resources/application.yml index 9b48b4e..de85410 100644 --- a/HSLink-back/src/main/resources/application.yml +++ b/HSLink-back/src/main/resources/application.yml @@ -12,13 +12,12 @@ logging: ##数据源 spring: datasource: -# url: jdbc:mysql://127.0.0.1:3306/hslink?serverTimezone=Hongkong&useUnicode=true&characterEncoding=utf8 - url: jdbc:mysql://106.53.113.158:3306/hslink?serverTimezone=Hongkong&useUnicode=true&characterEncoding=utf8 + url: jdbc:mysql://127.0.0.1:3306/hslink?serverTimezone=Hongkong&useUnicode=true&characterEncoding=utf8 username: root - password: Beater123 + password: 123456 db-name: hslink filters: log4j,wall,mergeStat driverClassName: com.mysql.cj.jdbc.Driver ##文件保存路径 -filePath: D:\office\phy\HSLink\HSLink-front\src\assets\file \ No newline at end of file +filePath: D:\office\phy\HSLink\HSLink-front\src\assets\file From 1572a59acaffe846c9653e94fdef6f990322bcc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=8F=91=E6=98=8E=E5=AE=B6?= <43107458+PhyQxx@users.noreply.github.com> Date: Sat, 10 Oct 2020 10:52:04 +0800 Subject: [PATCH 2/2] Update request.js --- HSLink-app/util/request.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/HSLink-app/util/request.js b/HSLink-app/util/request.js index ccd27ee..6044979 100644 --- a/HSLink-app/util/request.js +++ b/HSLink-app/util/request.js @@ -1,7 +1,5 @@ - -const baseUrl = 'http://106.53.113.158:8048'; //服务器地址 -// const baseUrl = 'http://192.168.10.29:8048'; //服务器地址 -// const baseUrl = 'http://127.0.0.1:8048'; //服务器地址 +const baseUrl = 'http://192.168.10.29:8048'; //服务器地址 +// const baseUrl = 'http://127.0.0.1:8048'; //服务器地址 const get = (url, data) => { let httpDefaultOpts = { @@ -120,4 +118,4 @@ export default { get, post, httpTokenRequest -} \ No newline at end of file +}