Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
zhxf_java
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
葛齐林
zhxf_java
Commits
f7195e66
Commit
f7195e66
authored
Jun 03, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
1ac24f93
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
22 deletions
+26
-22
bootstrap.yml
microservice-admin/src/main/resources/bootstrap.yml
+4
-4
SysUserDao.xml
...ervice-admin/src/main/resources/mapper/sys/SysUserDao.xml
+4
-4
bootstrap.yml
microservice-alram/src/main/resources/bootstrap.yml
+2
-2
bootstrap.yml
...ice-authorization-server/src/main/resources/bootstrap.yml
+1
-1
application-dev.yml
...vice-config-server/src/main/resources/application-dev.yml
+7
-3
application.yml
...oservice-config-server/src/main/resources/application.yml
+1
-1
bootstrap.yml
microservice-equipment/src/main/resources/bootstrap.yml
+4
-4
bootstrap.yml
microservice-gateway-zuul/src/main/resources/bootstrap.yml
+3
-3
No files found.
microservice-admin/src/main/resources/bootstrap.yml
View file @
f7195e66
#服务器配置信息1
server
:
port
:
809
1
port
:
809
2
spring
:
application
:
...
...
@@ -14,7 +14,7 @@ spring:
cloud
:
config
:
profile
:
dev
uri
:
http://config:877
7
uri
:
http://config:877
6
#discovery:
#enabled: true
#service-id: microservice-config-server
...
...
@@ -30,7 +30,7 @@ warning:
port
:
30003
upload
:
realBaseDir
:
/usr/local/nginx/html/dist/
realBaseDir
:
/usr/local/nginx/html/
zhxf/
dist/
---
spring
:
profiles
:
test
...
...
@@ -38,7 +38,7 @@ spring:
config
:
profile
:
test
label
:
master
uri
:
http://config:877
7
uri
:
http://config:877
6
upload
:
realBaseDir
:
./root/crsh/admin/upload/
readBaseDir
:
http://new001.suntrayoa.com/admin/
\ No newline at end of file
microservice-admin/src/main/resources/mapper/sys/SysUserDao.xml
View file @
f7195e66
...
...
@@ -32,7 +32,6 @@
<select
id=
"getById"
resultType=
"com.devplatform.admin.modules.sys.bean.SysUserEntity"
>
SELECT su.user_id,
ls.station_name AS org_id,
su.name,
su.username,
su.password,
...
...
@@ -61,7 +60,6 @@
su.byx2,
su.byx3
FROM sys_user su
LEFT JOIN li_station ls ON ls.id = su.org_id
WHERE su.deleted = 0
AND su.user_id = #{userId}
</select>
...
...
@@ -106,11 +104,13 @@
<select
id=
"getAllUserByOrgIdPage"
resultType=
"java.util.HashMap"
>
SELECT u.*,sd.name AS jobName ,sn.name AS nationName
FROM sys_user u
LEFT JOIN sys_dictionary sd ON u.job = sd.id AND sd.deleted = 0
AND sd.station_id = u.station_id
LEFT JOIN sys_dictionary sd ON u.job = sd.id AND sd.deleted = 0
LEFT JOIN sys_nation sn ON u.nation = sn.id
<where>
AND u.deleted = 0 AND u.user_id not in(1, 2)
AND u.station_id = #{map.stationId}
<if
test=
"map.stationId !=null and map.stationId != ''"
>
AND u.station_id = #{map.stationId}
</if>
<if
test=
"map.username !=null and map.username != ''"
>
AND INSTR(u.username, #{map.username})
</if>
...
...
microservice-alram/src/main/resources/bootstrap.yml
View file @
f7195e66
...
...
@@ -16,7 +16,7 @@ spring:
cloud
:
config
:
profile
:
dev
uri
:
http://config:877
7
uri
:
http://config:877
6
#discovery:
#enabled
:
true
#service-id: microservice-config-server
...
...
@@ -25,4 +25,4 @@ environment: common
info
:
version
:
0.1
upload
:
realBaseDir
:
/usr/local/nginx/html/dist/
\ No newline at end of file
realBaseDir
:
/usr/local/nginx/html/zhxf/dist/
\ No newline at end of file
microservice-authorization-server/src/main/resources/bootstrap.yml
View file @
f7195e66
server
:
port
:
830
0
port
:
830
1
spring
:
...
...
microservice-config-server/src/main/resources/application-dev.yml
View file @
f7195e66
...
...
@@ -41,7 +41,8 @@ spring:
async
:
request-timeout
:
60000
redis
:
host
:
47.94.207.62
# host: 47.94.207.62
host
:
10.20.2.33
port
:
6379
password
:
jedis
:
...
...
@@ -62,9 +63,12 @@ spring:
# url: jdbc:mysql://localhost:3306/zhxf?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
# username: root
# password: 123456
url
:
jdbc:mysql://
47.94.207.62
:3306/zhxf?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
url
:
jdbc:mysql://
10.20.2.33
:3306/zhxf?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
username
:
root
password
:
superAdmin&321
password
:
root
# url: jdbc:mysql://47.94.207.62:3306/zhxf?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
# username: root
# password: superAdmin&321
initialSize
:
5
minIdle
:
0
maxActive
:
1000
...
...
microservice-config-server/src/main/resources/application.yml
View file @
f7195e66
...
...
@@ -9,7 +9,7 @@ spring:
native
:
search-locations
:
classpath:/
server
:
port
:
877
7
port
:
877
6
eureka
:
client
:
fetch-registry
:
true
...
...
microservice-equipment/src/main/resources/bootstrap.yml
View file @
f7195e66
#服务器配置信息1
server
:
port
:
809
2
port
:
809
4
#将日志输出到文件
config
:
classpath:camera-log.xml
spring
:
...
...
@@ -15,7 +15,7 @@ spring:
cloud
:
config
:
profile
:
dev
uri
:
http://config:877
7
uri
:
http://config:877
6
#discovery:
#enabled
:
true
#service-id
:
microservice-config-server
...
...
@@ -24,7 +24,7 @@ info:
version
:
0.1
upload
:
realBaseDir
:
/usr/local/nginx/html/dist/
realBaseDir
:
/usr/local/nginx/html/
zhxf/
dist/
---
spring
:
profiles
:
test
...
...
@@ -32,7 +32,7 @@ spring:
config
:
profile
:
test
label
:
master
uri
:
http://config:877
7
uri
:
http://config:877
6
upload
:
realBaseDir
:
./root/crsh/admin/upload/
readBaseDir
:
http://10.20.2.132:8089/
microservice-gateway-zuul/src/main/resources/bootstrap.yml
View file @
f7195e66
...
...
@@ -5,7 +5,7 @@ spring:
cloud
:
config
:
profile
:
dev
uri
:
http://config:877
7
uri
:
http://config:877
6
servlet
:
multipart
:
max-file-size
:
10MB
...
...
@@ -15,7 +15,7 @@ spring:
# service-id: microservice-config-server
server
:
port
:
804
6
port
:
804
7
info
:
version
:
0.1
...
...
@@ -79,7 +79,7 @@ zuul:
#添加代理头
add-proxy-headers
:
true
auth-server
:
http://auth:830
0
# oauth-server地址
auth-server
:
http://auth:830
1
# oauth-server地址
security
:
oauth2
:
...
...
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