Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-tool
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
张帅
amos-tool
Commits
bafedd3a
Commit
bafedd3a
authored
Sep 14, 2023
by
xinglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
e11b19a1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
21 deletions
+28
-21
SortType.java
src/main/java/com/yeejoin/amos/api/tool/enums/SortType.java
+3
-3
application-qa.properties
src/main/resources/application-qa.properties
+25
-18
No files found.
src/main/java/com/yeejoin/amos/api/tool/enums/SortType.java
View file @
bafedd3a
...
...
@@ -5,9 +5,9 @@ public enum SortType {
LATEST
(
"最新发布"
,
"REC_DATE"
,
"desc"
),
VIEW_TIMES
(
"最多浏览"
,
"VIEW_TIMES"
,
"desc"
);
private
final
String
name
;
private
final
String
field
;
private
final
String
direction
;
private
String
name
;
private
String
field
;
private
String
direction
;
SortType
(
String
name
,
String
field
,
String
direction
)
{
this
.
name
=
name
;
...
...
src/main/resources/application-qa.properties
View file @
bafedd3a
#DB properties:
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.url
=
jdbc:mysql://
172.16.3.67:3306/systemdeveloper?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
# jdbc_config
spring.datasource.url
=
jdbc:mysql://
39.98.45.134:3306/amos_tool_library?allowMultiQueries=true
spring.datasource.username
=
root
spring.datasource.password
=
root_123
spring.datasource.password
=
Yeejoin@2020
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.maximum-pool-size
=
10
spring.datasource.hikari.auto-commit
=
true
spring.datasource.hikari.idle-timeout
=
30000
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.max-lifetime
=
1800000
spring.datasource.hikari.connection-timeout
=
30000
spring.datasource.hikari.connection-test-query
=
SELECT 1
#eureka
properties:
eureka.instance.hostname
=
172.16.10.72
#eureka
eureka.instance.hostname
=
39.98.45.134
eureka.client.serviceUrl.defaultZone
=
http://${eureka.instance.hostname}:10001/eureka/
eureka.instance.prefer-ip-address
=
true
eureka.instance.health-check-url
=
http://localhost:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url
=
http://localhost:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.metadata-map.management.api-docs
=
http://localhost:${server.port}${server.servlet.context-path}/
swagger-ui
.html
eureka.instance.metadata-map.management.api-docs
=
http://localhost:${server.port}${server.servlet.context-path}/
doc
.html
#redis
spring.redis.database
=
0
spring.redis.host
=
172.16.10.85
spring.redis.database
=
1
spring.redis.host
=
39.98.45.134
spring.redis.port
=
6379
spring.redis.password
=
amos2019Redis
spring.redis.lettuce.pool.max-active
=
200
spring.redis.lettuce.pool.max-wait
=
-1
spring.redis.lettuce.pool.max-idle
=
10
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.expire.time
=
300
spring.redis.password
=
yeejoin@2020
spring.redis.timeout
=
0
## emqx
emqx.clean-session
=
true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://172.16.10.85:1883
emqx.user-name
=
super
emqx.password
=
a123456
security.systemctl.name
=
AMOS-API-SYSTEMCTL
emqx.broker
=
tcp://39.98.45.134:2883
emqx.client-user-name
=
super
emqx.client-password
=
a123456
emqx.max-inflight
=
1000
emqx.keep-alive-interval
=
10
knife4j.production
=
false
knife4j.enable
=
true
...
...
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