Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
project-prototype
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
project-prototype
Commits
8399ba20
Commit
8399ba20
authored
Jul 19, 2022
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基本修改配置
parent
918cdd60
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
application-test.yml
projectname-admin/src/main/resources/application-test.yml
+3
-3
application.yml
projectname-admin/src/main/resources/application.yml
+1
-1
vue.config.js
projectname-web/vue.config.js
+1
-1
No files found.
projectname-admin/src/main/resources/application-test.yml
View file @
8399ba20
...
...
@@ -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
:
# 从数据源开关/默认关闭
...
...
projectname-admin/src/main/resources/application.yml
View file @
8399ba20
...
...
@@ -4,7 +4,7 @@ server:
port
:
8080
servlet
:
# 应用的访问路径
context-path
:
/
context-path
:
/
motuo
tomcat
:
# tomcat的URI编码
uri-encoding
:
UTF-8
...
...
projectname-web/vue.config.js
View file @
8399ba20
...
...
@@ -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
]:
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment