Commit 8399ba20 authored by zhangjianqian's avatar zhangjianqian

基本修改配置

parent 918cdd60
......@@ -6,9 +6,9 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: root
url: jdbc:mysql://47.93.245.140:3306/z_motuo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: z_motuo
password: eRtinRFe4dybkPm3
# 从库数据源
slave:
# 从数据源开关/默认关闭
......
......@@ -4,7 +4,7 @@ server:
port: 8080
servlet:
# 应用的访问路径
context-path: /
context-path: /motuo
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
......
......@@ -34,7 +34,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://192.168.2.28:8080`,
target: `http://localhost:8080/motuo`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment