Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
antai-sport-http-server
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
antai-sport
antai-sport-http-server
Commits
2408d514
Commit
2408d514
authored
Nov 11, 2022
by
liming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改mobile-api test环境配置
parent
55a19b2a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
4 deletions
+33
-4
application-test.yaml
mobile-api/src/main/resources/application-test.yaml
+6
-3
logback-spring-test.xml
mobile-api/src/main/resources/logback-spring-test.xml
+26
-0
application-common-db-test.yml
profile/src/main/resources/application-common-db-test.yml
+1
-1
No files found.
mobile-api/src/main/resources/application-test.yaml
View file @
2408d514
...
@@ -6,12 +6,12 @@ spring:
...
@@ -6,12 +6,12 @@ spring:
database
:
1
database
:
1
host
:
127.0.0.1
host
:
127.0.0.1
port
:
6379
port
:
6379
password
:
ENC(
yKZoKLWfAj6BRglq4C2HWWjsL64maeCm
)
password
:
ENC(
4yi769QrulhSbnefFrKAf6SG6ssIca8i
)
swagger
:
swagger
:
enable
:
true
enable
:
true
game-server-address
:
http://
39.106.215.44
:3333/close?MatchId=force
game-server-address
:
http://
127.0.0.1
:3333/close?MatchId=force
aliyun
:
aliyun
:
access-key-id
:
LTAI4FivP3A9hfXzF5Z2KKNM
access-key-id
:
LTAI4FivP3A9hfXzF5Z2KKNM
...
@@ -22,3 +22,6 @@ aliyun:
...
@@ -22,3 +22,6 @@ aliyun:
time-out
:
1000
time-out
:
1000
template-code
:
template-code
:
login
:
SMS_136440120
#登录确认验证码
login
:
SMS_136440120
#登录确认验证码
logging
:
config
:
classpath:logback-spring-test.xml
\ No newline at end of file
mobile-api/src/main/resources/logback-spring-test.xml
0 → 100644
View file @
2408d514
<configuration>
<!--为了防止进程退出时,内存中的数据丢失,请加上此选项-->
<shutdownHook
class=
"ch.qos.logback.core.hook.DelayingShutdownHook"
/>
<appender
name=
"fileAppender"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<!-- daily rollover -->
<fileNamePattern>
/usr/local/project/mobile-api/logs/logFile.%d{yyyy-MM-dd}-%i.log
</fileNamePattern>
<!-- keep 30 days' worth of history capped at 3GB total size -->
<maxHistory>
30
</maxHistory>
<maxFileSize>
100MB
</maxFileSize>
<totalSizeCap>
3GB
</totalSizeCap>
</rollingPolicy>
<!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder
by default -->
<encoder>
<pattern>
%d %-5level [%thread] %logger{0}: %msg %n
</pattern>
</encoder>
</appender>
<root>
<level
value=
"INFO"
/>
<appender-ref
ref=
"fileAppender"
/>
</root>
</configuration>
profile/src/main/resources/application-common-db-test.yml
View file @
2408d514
...
@@ -5,5 +5,5 @@ spring:
...
@@ -5,5 +5,5 @@ spring:
datasource
:
datasource
:
url
:
jdbc:mysql://127.0.0.1:3306/antaisport${project.mysql-url-params}
url
:
jdbc:mysql://127.0.0.1:3306/antaisport${project.mysql-url-params}
username
:
root
username
:
root
password
:
ENC(
eeesjD8BM2hklNwdDv4FCDoaVZF9c8+2
)
password
:
ENC(
4yi769QrulhSbnefFrKAf6SG6ssIca8i
)
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