Compare commits
253 Commits
b79f2a441a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d2f63f747 | ||
|
|
f027c0f30a | ||
|
|
abbc4592e1 | ||
|
|
50c5a4c192 | ||
|
|
602bb0c31d | ||
|
|
cf57e7b0e3 | ||
|
|
2e85639d1e | ||
|
|
eee4d94be6 | ||
|
|
2874f33917 | ||
|
|
34bbdc7586 | ||
|
|
60715a123c | ||
|
|
d97fa12744 | ||
|
|
57f6c50625 | ||
|
|
35cf811689 | ||
|
|
3b6f05d2c7 | ||
|
|
886ee2f9b0 | ||
|
|
ff2e89f6ee | ||
|
|
46bfc26eae | ||
|
|
23c6900fb9 | ||
|
|
4a55516016 | ||
|
|
3dfee8e360 | ||
|
|
b70ac9d5cc | ||
|
|
a2cb97ce4c | ||
|
|
f8876ea188 | ||
|
|
32fc1d98ac | ||
|
|
560162c27d | ||
|
|
a43bba5617 | ||
|
|
b055b2cbf9 | ||
|
|
3c12e7490c | ||
|
|
4765f3b5cf | ||
|
|
d57204ff3a | ||
|
|
4ecb7b53dd | ||
|
|
ef6f48f590 | ||
|
|
3aa3c2260d | ||
|
|
73a9d60d2a | ||
|
|
3798930698 | ||
|
|
4b40cc925c | ||
|
|
01f4a5c3d6 | ||
|
|
e9765d7d39 | ||
|
|
087ad2f34f | ||
|
|
59ffe91e72 | ||
|
|
095dacb873 | ||
|
|
0fa1439304 | ||
|
|
2da336a69f | ||
|
|
ffd27558d1 | ||
|
|
3a69f83746 | ||
|
|
b99d2600f7 | ||
|
|
9a4eaddc50 | ||
|
|
45d78ed7d3 | ||
|
|
517c1e7d96 | ||
|
|
d94e9d84ab | ||
|
|
cb24deceb0 | ||
|
|
73a25e95c7 | ||
|
|
185a0d1bd4 | ||
|
|
559a659797 | ||
|
|
b472c6a2a7 | ||
|
|
05554f4157 | ||
|
|
4f5cd0c0ce | ||
|
|
e8b672f119 | ||
|
|
475b9a5184 | ||
|
|
8db29f5dcc | ||
|
|
9f398a03d9 | ||
|
|
62d510ccdd | ||
|
|
0ca5f424d3 | ||
|
|
3cc98f22cd | ||
|
|
0a69c22211 | ||
|
|
0fa82f1337 | ||
|
|
3d0f8efa23 | ||
|
|
42102fa636 | ||
|
|
b5c97f99df | ||
|
|
8375e1bab9 | ||
|
|
563e97d377 | ||
|
|
54fe64c7ea | ||
|
|
c7bb6ebb7f | ||
|
|
08d94cc344 | ||
|
|
8fda834249 | ||
|
|
aeff59186e | ||
|
|
22fd0ccd29 | ||
|
|
9230988009 | ||
|
|
ba4d88637b | ||
|
|
6574f5cb02 | ||
|
|
218428eeac | ||
|
|
0ac155ce58 | ||
|
|
20eca448a4 | ||
|
|
bbeb3e4ff7 | ||
|
|
016285919b | ||
|
|
67236a523a | ||
|
|
dcc64b2de9 | ||
|
|
e739cc110a | ||
|
|
9c11e5abe6 | ||
|
|
e9eff0c8f6 | ||
|
|
d92e30a097 | ||
|
|
9a4904ad66 | ||
|
|
3cbae167dc | ||
|
|
03aae62a4c | ||
|
|
27d9d26a90 | ||
|
|
d1804ffbea | ||
|
|
22a63e5fa8 | ||
|
|
74343084dc | ||
|
|
3e629b8318 | ||
|
|
d680308aea | ||
|
|
026bded12d | ||
|
|
5f8bdab765 | ||
|
|
4de27cf581 | ||
|
|
b691bedc13 | ||
|
|
f03cf99d5c | ||
|
|
03c2876e0e | ||
|
|
eb388089f7 | ||
|
|
72e8dae4b9 | ||
|
|
fa9fe2148f | ||
|
|
5e34812077 | ||
|
|
d09ca0a04e | ||
|
|
0337933b18 | ||
|
|
a2cd6c10bb | ||
|
|
7c048fe254 | ||
|
|
1749442161 | ||
|
|
48ec145e7a | ||
|
|
75b4440cf5 | ||
|
|
c502a2b303 | ||
|
|
f89e1da57e | ||
|
|
51c48672d7 | ||
|
|
204c59c065 | ||
|
|
55d6cac588 | ||
|
|
81edcdf796 | ||
|
|
6c8d89da91 | ||
|
|
0fe41ee355 | ||
|
|
b5b7ce2ad6 | ||
|
|
65e49ffdc2 | ||
|
|
e258254e2f | ||
|
|
42c386e470 | ||
|
|
9598cacfc8 | ||
|
|
3731aefec8 | ||
|
|
d0c9eb320a | ||
|
|
076fa284aa | ||
|
|
5814f4d7ec | ||
|
|
90cf0947be | ||
|
|
f4496385a5 | ||
|
|
92297cb559 | ||
|
|
8eefb0108b | ||
|
|
1a5bf3461f | ||
|
|
0fdf23fa16 | ||
|
|
3967188942 | ||
|
|
76b9188b7d | ||
|
|
2ae7616fde | ||
|
|
faa8e0ad5e | ||
|
|
804b25a875 | ||
|
|
2ef09ec104 | ||
|
|
8e80e320f8 | ||
|
|
472d2b96fc | ||
|
|
065999ddd2 | ||
|
|
065ca953e6 | ||
|
|
ac9001ed87 | ||
|
|
2b03000c51 | ||
|
|
9dd70b28ab | ||
|
|
c3f3ab872a | ||
|
|
7837eabd56 | ||
|
|
c4422375c9 | ||
|
|
74073a3657 | ||
|
|
40bbe179ac | ||
|
|
a75d638d30 | ||
|
|
8085c3d8c4 | ||
|
|
043165fe70 | ||
|
|
abd6af31ed | ||
|
|
8e7851eebe | ||
|
|
b7f60a6a08 | ||
|
|
9d7b44d1dd | ||
|
|
f7f8642401 | ||
|
|
575e101082 | ||
|
|
96bd946635 | ||
|
|
eb2c409100 | ||
|
|
40bc0b612b | ||
|
|
a70c5d3cd9 | ||
|
|
55d9cc3ec0 | ||
|
|
c04fabedd3 | ||
|
|
0016179356 | ||
|
|
07adda7439 | ||
|
|
c304f70b74 | ||
|
|
aaa031cacc | ||
|
|
186a095232 | ||
|
|
d17153ed50 | ||
|
|
6c10050fe7 | ||
|
|
40382150ff | ||
|
|
e6b18ed211 | ||
|
|
7fb6fcc344 | ||
|
|
c54a9684d7 | ||
|
|
bbb9542433 | ||
|
|
7df3b8d643 | ||
|
|
7d46e96bfa | ||
|
|
5e353cf7fd | ||
|
|
6d9048f31c | ||
|
|
b57f4a7a77 | ||
|
|
7466dcfdd7 | ||
|
|
c8b3720947 | ||
|
|
84233484f4 | ||
|
|
6c5a4d0805 | ||
|
|
1550b78912 | ||
|
|
807fc6cbda | ||
|
|
d5e3533d2d | ||
|
|
d1ff37370c | ||
|
|
e173c62c0c | ||
|
|
6eaf2bf471 | ||
|
|
2deaac0c5b | ||
|
|
79a420f07c | ||
|
|
3a289f9f2e | ||
|
|
3777de6edc | ||
|
|
6c100b2ebf | ||
|
|
81c44e1c16 | ||
|
|
eb72b4b1b9 | ||
|
|
55ee26a7c5 | ||
|
|
a8131f63b4 | ||
|
|
469607fef0 | ||
|
|
92358e29c7 | ||
|
|
d5eb759303 | ||
|
|
55e7c22469 | ||
|
|
832b5a86a8 | ||
|
|
524308b2d8 | ||
|
|
de1f5eb145 | ||
|
|
1d954bafc3 | ||
|
|
992c686882 | ||
|
|
1c0eb50c90 | ||
|
|
0dba6276d3 | ||
|
|
935f868f26 | ||
|
|
594f416b77 | ||
|
|
59be8b6237 | ||
|
|
38116a13f1 | ||
|
|
03e6bd043a | ||
|
|
b47e403fbd | ||
|
|
21c09b3fa4 | ||
|
|
c7d303d45a | ||
|
|
ec67475fe8 | ||
|
|
3b2ae3c597 | ||
|
|
9b902bfd84 | ||
|
|
e8a0ad3356 | ||
|
|
c454de459c | ||
|
|
35889fe4f7 | ||
|
|
7d00f7fd68 | ||
|
|
1fbc95e907 | ||
|
|
bb726cc05f | ||
|
|
eea575213a | ||
|
|
f2b9497a00 | ||
|
|
695f730432 | ||
|
|
d6a2d26811 | ||
|
|
8b39b00e3c | ||
|
|
d55b89b337 | ||
|
|
727e5d94fd | ||
|
|
5d004dbd5c | ||
|
|
467076a067 | ||
|
|
c96fb94625 | ||
|
|
12f8d5076d | ||
|
|
d0dee7f7a4 | ||
|
|
0207122187 | ||
|
|
f5723b3106 | ||
|
|
dd0404b6a6 |
10
README.md
10
README.md
@@ -26,7 +26,7 @@ org.wfc
|
||||
│ └── wfc-common-swagger // 系统接口
|
||||
├── wfc-modules // 业务模块
|
||||
│ └── wfc-system // 系统模块 [9201]
|
||||
│ └── wfc-modules-user // 用户平台模块 [9208]
|
||||
│ └── wfc-user // 用户平台模块 [9208]
|
||||
│ └── wfc-gen // 代码生成 [9202]
|
||||
│ └── wfc-job // 定时任务 [9203]
|
||||
│ └── wfc-file // 文件服务 [9300]
|
||||
@@ -41,11 +41,11 @@ org.wfc
|
||||
|
||||
```
|
||||
JDK >= 1.8 (推荐1.8版本)
|
||||
Maven >= 3.6.3
|
||||
Mysql >= 5.7.0 (推荐5.7版本)
|
||||
Redis >= 3.0
|
||||
Maven >= 3.0
|
||||
nacos >= 2.0.4
|
||||
sentinel >= 1.6.0
|
||||
Redis >= 7.4.2
|
||||
nacos >= v2.5.0
|
||||
sentinel >= 1.6.0 (optional)
|
||||
```
|
||||
### 运行系统
|
||||
|
||||
|
||||
23
docker/.env
23
docker/.env
@@ -1,7 +1,24 @@
|
||||
MYSQL_ROOT_PASSWORD=123456
|
||||
MYSQL_DATABASE=wfc_system_db
|
||||
WFC_CONFIG_DATABASE=wfc_config_db
|
||||
WFC_SYSTEM_DATABASE=wfc_system_db
|
||||
WFC_USER_DATABASE=wfc_user_db
|
||||
MYSQL_PORT=3306
|
||||
MYSQL_USER=mysql
|
||||
MYSQL_PASSWORD=
|
||||
NACOS_SERVER_ADDR=192.168.2.248:8848
|
||||
MYSQL_PASSWORD=123456
|
||||
REDIS_PORT=6379
|
||||
NACOS_NAME_SPACE=wfc-test
|
||||
GATEWAY_ADDR=192.168.2.248:8080
|
||||
WFC_SERVER_PORT=80
|
||||
NACOS_SERVER_PORT=8848
|
||||
GATEWAY_SERVER_PORT=8080
|
||||
AUTH_SERVER_PORT=8081
|
||||
WFC_JOB_PORT=9203
|
||||
WFC_PAYMENT_PORT=9204
|
||||
WFC_SYSTEM_PORT=9205
|
||||
WFC_USER_PORT=9206
|
||||
WFC_SERVER_IP=192.168.2.248
|
||||
NACOS_SERVER_IP=${WFC_SERVER_IP}
|
||||
GATEWAY_SERVER_IP=${WFC_SERVER_IP}
|
||||
AUTH_SERVER_IP=${WFC_SERVER_IP}
|
||||
RESTART_OPTION=on-failure:5
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ echo begin copy wfc-modules-system
|
||||
copy ..\wfc-modules\wfc-system\target\wfc-modules-system.jar .\wfc\modules\system\jar
|
||||
|
||||
echo begin copy wfc-modules-user
|
||||
copy ..\wfc-modules\wfc-modules-user\target\wfc-modules-user.jar .\wfc\modules\user\jar
|
||||
copy ..\wfc-modules\wfc-user\target\wfc-modules-user.jar .\wfc\modules\user\jar
|
||||
|
||||
echo begin copy wfc-modules-file
|
||||
copy ..\wfc-modules\wfc-file\target\wfc-modules-file.jar .\wfc\modules\file\jar
|
||||
|
||||
@@ -39,7 +39,7 @@ echo "begin copy wfc-modules-system "
|
||||
cp ../wfc-modules/wfc-system/target/wfc-modules-system.jar ./wfc/modules/system/jar
|
||||
|
||||
echo "begin copy wfc-modules-user "
|
||||
cp ../wfc-modules/wfc-modules-user/target/wfc-modules-user.jar ./wfc/modules/user/jar
|
||||
cp ../wfc-modules/wfc-user/target/wfc-modules-user.jar ./wfc/modules/user/jar
|
||||
|
||||
echo "begin copy wfc-modules-file "
|
||||
cp ../wfc-modules/wfc-file/target/wfc-modules-file.jar ./wfc/modules/file/jar
|
||||
|
||||
@@ -6,7 +6,7 @@ services:
|
||||
context: ./nacos
|
||||
environment:
|
||||
- MODE=standalone
|
||||
- NACOS_SERVER_ADDR=${NACOS_SERVER_ADDR}
|
||||
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||
volumes:
|
||||
- ./nacos/logs/:/home/nacos/logs
|
||||
@@ -49,9 +49,9 @@ services:
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- ./redis/conf/redis.conf:/home/wfc/redis/redis.conf
|
||||
- ./redis/conf/redis.conf:/opt/wfc/redis/redis.conf
|
||||
- ./redis/data:/data
|
||||
command: redis-server /home/wfc/redis/redis.conf
|
||||
command: redis-server /opt/wfc/redis/redis.conf
|
||||
|
||||
wfc-gateway:
|
||||
container_name: wfc-gateway
|
||||
@@ -61,13 +61,13 @@ services:
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- ./wfc/gateway/jar/wfc-gateway.jar:/home/wfc/wfc-gateway.jar
|
||||
- ./wfc/gateway/jar/wfc-gateway.jar:/opt/wfc/wfc-gateway.jar
|
||||
depends_on:
|
||||
- wfc-redis
|
||||
links:
|
||||
- wfc-redis
|
||||
environment:
|
||||
- NACOS_SERVER_ADDR=${NACOS_SERVER_ADDR}
|
||||
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||
wfc-auth:
|
||||
container_name: wfc-auth
|
||||
@@ -77,13 +77,13 @@ services:
|
||||
ports:
|
||||
- "9200:9200"
|
||||
volumes:
|
||||
- ./wfc/auth/jar/wfc-auth.jar:/home/wfc/wfc-auth.jar
|
||||
- ./wfc/auth/jar/wfc-auth.jar:/opt/wfc/wfc-auth.jar
|
||||
depends_on:
|
||||
- wfc-redis
|
||||
links:
|
||||
- wfc-redis
|
||||
environment:
|
||||
- NACOS_SERVER_ADDR=${NACOS_SERVER_ADDR}
|
||||
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||
wfc-modules-system:
|
||||
container_name: wfc-modules-system
|
||||
@@ -93,7 +93,7 @@ services:
|
||||
ports:
|
||||
- "9201:9201"
|
||||
volumes:
|
||||
- ./wfc/modules/system/jar/wfc-modules-system.jar:/home/wfc/wfc-modules-system.jar
|
||||
- ./wfc/modules/system/jar/wfc-modules-system.jar:/opt/wfc/wfc-modules-system.jar
|
||||
depends_on:
|
||||
- wfc-redis
|
||||
- wfc-mysql
|
||||
@@ -101,7 +101,7 @@ services:
|
||||
- wfc-redis
|
||||
- wfc-mysql
|
||||
environment:
|
||||
- NACOS_SERVER_ADDR=${NACOS_SERVER_ADDR}
|
||||
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||
wfc-modules-user:
|
||||
container_name: wfc-modules-user
|
||||
@@ -111,7 +111,7 @@ services:
|
||||
ports:
|
||||
- "9204:9204"
|
||||
volumes:
|
||||
- ./wfc/modules/user/jar/wfc-modules-user.jar:/home/wfc/wfc-modules-user.jar
|
||||
- ./wfc/modules/user/jar/wfc-modules-user.jar:/opt/wfc/wfc-modules-user.jar
|
||||
depends_on:
|
||||
- wfc-redis
|
||||
- wfc-mysql
|
||||
@@ -119,7 +119,7 @@ services:
|
||||
- wfc-redis
|
||||
- wfc-mysql
|
||||
environment:
|
||||
- NACOS_SERVER_ADDR=${NACOS_SERVER_ADDR}
|
||||
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||
wfc-modules-gen:
|
||||
container_name: wfc-modules-gen
|
||||
@@ -129,13 +129,13 @@ services:
|
||||
ports:
|
||||
- "9202:9202"
|
||||
volumes:
|
||||
- ./wfc/modules/gen/jar/wfc-modules-gen.jar:/home/wfc/wfc-modules-gen.jar
|
||||
- ./wfc/modules/gen/jar/wfc-modules-gen.jar:/opt/wfc/wfc-modules-gen.jar
|
||||
depends_on:
|
||||
- wfc-mysql
|
||||
links:
|
||||
- wfc-mysql
|
||||
environment:
|
||||
- NACOS_SERVER_ADDR=${NACOS_SERVER_ADDR}
|
||||
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||
wfc-modules-job:
|
||||
container_name: wfc-modules-job
|
||||
@@ -145,13 +145,13 @@ services:
|
||||
ports:
|
||||
- "9203:9203"
|
||||
volumes:
|
||||
- ./wfc/modules/job/jar/wfc-modules-job.jar:/home/wfc/wfc-modules-job.jar
|
||||
- ./wfc/modules/job/jar/wfc-modules-job.jar:/opt/wfc/wfc-modules-job.jar
|
||||
depends_on:
|
||||
- wfc-mysql
|
||||
links:
|
||||
- wfc-mysql
|
||||
environment:
|
||||
- NACOS_SERVER_ADDR=${NACOS_SERVER_ADDR}
|
||||
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||
wfc-modules-file:
|
||||
container_name: wfc-modules-file
|
||||
@@ -161,10 +161,10 @@ services:
|
||||
ports:
|
||||
- "9300:9300"
|
||||
volumes:
|
||||
- ./wfc/modules/file/jar/wfc-modules-file.jar:/home/wfc/wfc-modules-file.jar
|
||||
- ./wfc/upload:/home/wfc/upload
|
||||
- ./wfc/modules/file/jar/wfc-modules-file.jar:/opt/wfc/wfc-modules-file.jar
|
||||
- ./nginx/html/dist/img:/opt/wfc/upload
|
||||
environment:
|
||||
- NACOS_SERVER_ADDR=${NACOS_SERVER_ADDR}
|
||||
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||
wfc-modules-payment:
|
||||
container_name: wfc-modules-payment
|
||||
@@ -174,13 +174,13 @@ services:
|
||||
ports:
|
||||
- "9306:9306"
|
||||
volumes:
|
||||
- ./wfc/modules/payment/jar/wfc-modules-payment.jar:/home/wfc/wfc-modules-payment.jar
|
||||
- ./wfc/modules/payment/jar/wfc-modules-payment.jar:/opt/wfc/wfc-modules-payment.jar
|
||||
depends_on:
|
||||
- wfc-mysql
|
||||
links:
|
||||
- wfc-mysql
|
||||
environment:
|
||||
- NACOS_SERVER_ADDR=${NACOS_SERVER_ADDR}
|
||||
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||
wfc-visual-monitor:
|
||||
container_name: wfc-visual-monitor
|
||||
@@ -190,9 +190,9 @@ services:
|
||||
ports:
|
||||
- "9100:9100"
|
||||
volumes:
|
||||
- ./wfc/visual/monitor/jar/wfc-visual-monitor.jar:/home/wfc/wfc-visual-monitor.jar
|
||||
- ./wfc/visual/monitor/jar/wfc-visual-monitor.jar:/opt/wfc/wfc-visual-monitor.jar
|
||||
environment:
|
||||
- NACOS_SERVER_ADDR=${NACOS_SERVER_ADDR}
|
||||
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||
wfc-nginx:
|
||||
container_name: wfc-nginx
|
||||
@@ -202,7 +202,7 @@ services:
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./nginx/html/dist:/home/wfc/portal
|
||||
- ./nginx/html/dist:/opt/wfc/portal
|
||||
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./nginx/logs:/var/log/nginx
|
||||
- ./nginx/conf.d:/etc/nginx/conf.d
|
||||
|
||||
@@ -7,7 +7,7 @@ db.password=123456
|
||||
nacos.naming.empty-service.auto-clean=true
|
||||
nacos.naming.empty-service.clean.initial-delay-ms=50000
|
||||
nacos.naming.empty-service.clean.period-time-ms=30000
|
||||
nacos.server.ip=${nacos.server.ip}
|
||||
# nacos.server.ip=${nacos.server.ip}
|
||||
|
||||
management.endpoints.web.exposure.include=*
|
||||
|
||||
|
||||
@@ -15,11 +15,19 @@ http {
|
||||
server_name localhost;
|
||||
|
||||
location /sys {
|
||||
root /home/wfc/portal;
|
||||
root /opt/wfc/portal;
|
||||
try_files $uri $uri/ /index.html;
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
location /img {
|
||||
alias /opt/wfc/portal/img;
|
||||
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
autoindex_localtime on;
|
||||
}
|
||||
|
||||
location /sys-api/{
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@@ -29,7 +37,7 @@ http {
|
||||
}
|
||||
|
||||
location /u {
|
||||
root /home/wfc/portal;
|
||||
root /opt/wfc/portal;
|
||||
try_files $uri $uri/ /index.html;
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
@@ -3,8 +3,8 @@ FROM nginx
|
||||
# author
|
||||
MAINTAINER wfc
|
||||
# 工作目录
|
||||
WORKDIR /home/wfc/portal
|
||||
WORKDIR /opt/wfc/portal
|
||||
# 复制conf文件到路径
|
||||
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
|
||||
# 复制html文件到路径
|
||||
COPY ./html /home/wfc/portal
|
||||
COPY ./html /opt/wfc/portal
|
||||
|
||||
@@ -4,10 +4,10 @@ FROM redis
|
||||
MAINTAINER wfc
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/wfc/redis
|
||||
VOLUME /opt/wfc/redis
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/wfc/redis
|
||||
RUN mkdir -p /opt/wfc/redis
|
||||
# 指定路径
|
||||
WORKDIR /home/wfc/redis
|
||||
WORKDIR /opt/wfc/redis
|
||||
# 复制conf文件到路径
|
||||
COPY ./conf/redis.conf /home/wfc/redis/redis.conf
|
||||
COPY ./conf/redis.conf /opt/wfc/redis/redis.conf
|
||||
|
||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
||||
MAINTAINER wfc
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/wfc
|
||||
VOLUME /opt/wfc
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/wfc
|
||||
RUN mkdir -p /opt/wfc
|
||||
# 指定路径
|
||||
WORKDIR /home/wfc
|
||||
WORKDIR /opt/wfc
|
||||
# 复制jar文件到路径
|
||||
COPY ./jar/wfc-auth.jar /home/wfc/wfc-auth.jar
|
||||
COPY ./jar/wfc-auth.jar /opt/wfc/wfc-auth.jar
|
||||
# 启动认证服务
|
||||
ENTRYPOINT ["java","-jar","wfc-auth.jar"]
|
||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
||||
MAINTAINER wfc
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/wfc
|
||||
VOLUME /opt/wfc
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/wfc
|
||||
RUN mkdir -p /opt/wfc
|
||||
# 指定路径
|
||||
WORKDIR /home/wfc
|
||||
WORKDIR /opt/wfc
|
||||
# 复制jar文件到路径
|
||||
COPY ./jar/wfc-gateway.jar /home/wfc/wfc-gateway.jar
|
||||
COPY ./jar/wfc-gateway.jar /opt/wfc/wfc-gateway.jar
|
||||
# 启动网关服务
|
||||
ENTRYPOINT ["java","-jar","wfc-gateway.jar"]
|
||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
||||
MAINTAINER wfc
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/wfc
|
||||
VOLUME /opt/wfc
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/wfc
|
||||
RUN mkdir -p /opt/wfc
|
||||
# 指定路径
|
||||
WORKDIR /home/wfc
|
||||
WORKDIR /opt/wfc
|
||||
# 复制jar文件到路径
|
||||
COPY ./jar/wfc-modules-file.jar /home/wfc/wfc-modules-file.jar
|
||||
COPY ./jar/wfc-modules-file.jar /opt/wfc/wfc-modules-file.jar
|
||||
# 启动文件服务
|
||||
ENTRYPOINT ["java","-jar","wfc-modules-file.jar"]
|
||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
||||
MAINTAINER wfc
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/wfc
|
||||
VOLUME /opt/wfc
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/wfc
|
||||
RUN mkdir -p /opt/wfc
|
||||
# 指定路径
|
||||
WORKDIR /home/wfc
|
||||
WORKDIR /opt/wfc
|
||||
# 复制jar文件到路径
|
||||
COPY ./jar/wfc-modules-gen.jar /home/wfc/wfc-modules-gen.jar
|
||||
COPY ./jar/wfc-modules-gen.jar /opt/wfc/wfc-modules-gen.jar
|
||||
# 启动代码生成服务
|
||||
ENTRYPOINT ["java","-jar","wfc-modules-gen.jar"]
|
||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
||||
MAINTAINER wfc
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/wfc
|
||||
VOLUME /opt/wfc
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/wfc
|
||||
RUN mkdir -p /opt/wfc
|
||||
# 指定路径
|
||||
WORKDIR /home/wfc
|
||||
WORKDIR /opt/wfc
|
||||
# 复制jar文件到路径
|
||||
COPY ./jar/wfc-modules-job.jar /home/wfc/wfc-modules-job.jar
|
||||
COPY ./jar/wfc-modules-job.jar /opt/wfc/wfc-modules-job.jar
|
||||
# 启动定时任务服务
|
||||
ENTRYPOINT ["java","-jar","wfc-modules-job.jar"]
|
||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
||||
LABEL org.wfc.image.authors="wfc@wfc.org"
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/wfc
|
||||
VOLUME /opt/wfc
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/wfc
|
||||
RUN mkdir -p /opt/wfc
|
||||
# 指定路径
|
||||
WORKDIR /home/wfc
|
||||
WORKDIR /opt/wfc
|
||||
# 复制jar文件到路径
|
||||
COPY ./jar/wfc-modules-payment.jar /home/wfc/wfc-modules-payment.jar
|
||||
COPY ./jar/wfc-modules-payment.jar /opt/wfc/wfc-modules-payment.jar
|
||||
# 启动系统服务
|
||||
ENTRYPOINT ["java","-jar","wfc-modules-payment.jar"]
|
||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
||||
MAINTAINER wfc
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/wfc
|
||||
VOLUME /opt/wfc
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/wfc
|
||||
RUN mkdir -p /opt/wfc
|
||||
# 指定路径
|
||||
WORKDIR /home/wfc
|
||||
WORKDIR /opt/wfc
|
||||
# 复制jar文件到路径
|
||||
COPY ./jar/wfc-modules-system.jar /home/wfc/wfc-modules-system.jar
|
||||
COPY ./jar/wfc-modules-system.jar /opt/wfc/wfc-modules-system.jar
|
||||
# 启动系统服务
|
||||
ENTRYPOINT ["java","-jar","wfc-modules-system.jar"]
|
||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
||||
MAINTAINER wfc
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/wfc
|
||||
VOLUME /opt/wfc
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/wfc
|
||||
RUN mkdir -p /opt/wfc
|
||||
# 指定路径
|
||||
WORKDIR /home/wfc
|
||||
WORKDIR /opt/wfc
|
||||
# 复制jar文件到路径
|
||||
COPY ./jar/wfc-modules-user.jar /home/wfc/wfc-modules-user.jar
|
||||
COPY ./jar/wfc-modules-user.jar /opt/wfc/wfc-modules-user.jar
|
||||
# 启动系统服务
|
||||
ENTRYPOINT ["java","-jar","wfc-modules-user.jar"]
|
||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
||||
MAINTAINER wfc
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /home/wfc
|
||||
VOLUME /opt/wfc
|
||||
# 创建目录
|
||||
RUN mkdir -p /home/wfc
|
||||
RUN mkdir -p /opt/wfc
|
||||
# 指定路径
|
||||
WORKDIR /home/wfc
|
||||
WORKDIR /opt/wfc
|
||||
# 复制jar文件到路径
|
||||
COPY ./jar/wfc-visual-monitor.jar /home/wfc/wfc-visual-monitor.jar
|
||||
COPY ./jar/wfc-visual-monitor.jar /opt/wfc/wfc-visual-monitor.jar
|
||||
# 启动系统服务
|
||||
ENTRYPOINT ["java","-jar","wfc-visual-monitor.jar"]
|
||||
79
pom.xml
79
pom.xml
@@ -6,13 +6,13 @@
|
||||
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc</artifactId>
|
||||
<version>1.0.2</version>
|
||||
<version>1.0.19</version>
|
||||
|
||||
<name>wfc</name>
|
||||
<description>WANFi Control and Billing System</description>
|
||||
|
||||
<properties>
|
||||
<wfc.version>1.0.2</wfc.version>
|
||||
<wfc.version>1.0.19</wfc.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>1.8</java.version>
|
||||
@@ -37,8 +37,15 @@
|
||||
<hutool.version>5.8.33</hutool.version>
|
||||
<lombok.version>1.18.36</lombok.version>
|
||||
<swagger.core.version>1.6.2</swagger.core.version>
|
||||
<org.mapstruct.version>1.6.3</org.mapstruct.version>
|
||||
<mail.version>1.6.2</mail.version>
|
||||
<ijapy.version>2.9.11</ijapy.version>
|
||||
<turelicense.version>1.33</turelicense.version>
|
||||
<paypal.version>1.0.0</paypal.version>
|
||||
<stripe.version>29.0.0</stripe.version>
|
||||
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
|
||||
<wfc.nacos.server>${env.NACOS_SERVER_NAME}</wfc.nacos.server>
|
||||
<wfc.nacos.port>${env.NACOS_SERVER_PORT}</wfc.nacos.port>
|
||||
|
||||
<!-- override dependency version -->
|
||||
<tomcat.version>9.0.96</tomcat.version>
|
||||
@@ -291,6 +298,20 @@
|
||||
<version>${wfc.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- license服务 -->
|
||||
<dependency>
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc-common-license</artifactId>
|
||||
<version>${wfc.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- MapStruct -->
|
||||
<dependency>
|
||||
<groupId>org.mapstruct</groupId>
|
||||
<artifactId>mapstruct</artifactId>
|
||||
<version>${org.mapstruct.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 系统接口 -->
|
||||
<dependency>
|
||||
<groupId>org.wfc</groupId>
|
||||
@@ -325,6 +346,34 @@
|
||||
<artifactId>javax.mail</artifactId>
|
||||
<version>${mail.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 支付 -->
|
||||
<dependency>
|
||||
<groupId>com.github.javen205</groupId>
|
||||
<artifactId>IJPay-All</artifactId>
|
||||
<version>${ijapy.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- License -->
|
||||
<dependency>
|
||||
<groupId>de.schlichtherle.truelicense</groupId>
|
||||
<artifactId>truelicense-core</artifactId>
|
||||
<version>${turelicense.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- PayPal -->
|
||||
<dependency>
|
||||
<groupId>com.paypal.sdk</groupId>
|
||||
<artifactId>paypal-server-sdk</artifactId>
|
||||
<version>${paypal.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Stripe -->
|
||||
<dependency>
|
||||
<groupId>com.stripe</groupId>
|
||||
<artifactId>stripe-java</artifactId>
|
||||
<version>${stripe.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
@@ -356,6 +405,18 @@
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
</path>
|
||||
<path>
|
||||
<groupId>org.mapstruct</groupId>
|
||||
<artifactId>mapstruct-processor</artifactId>
|
||||
<version>${org.mapstruct.version}</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
@@ -391,6 +452,16 @@
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<excludes>
|
||||
<exclude>*.keystore</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
<includes>
|
||||
<include>*.keystore</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
@@ -452,7 +523,7 @@
|
||||
<properties>
|
||||
<!--当前环境-->
|
||||
<profileName>prod</profileName>
|
||||
<nacosServerAddr>${NACOS_SERVER_ADDR}</nacosServerAddr>
|
||||
<nacosServerAddr>${wfc.nacos.server}:${wfc.nacos.port}</nacosServerAddr>
|
||||
<nacosNamespace>wfc-prod</nacosNamespace>
|
||||
</properties>
|
||||
</profile>
|
||||
@@ -462,7 +533,7 @@
|
||||
<properties>
|
||||
<!--当前环境-->
|
||||
<profileName>cyc</profileName>
|
||||
<nacosServerAddr>192.168.2.248:8848</nacosServerAddr>
|
||||
<nacosServerAddr>localhost:8848</nacosServerAddr>
|
||||
<nacosNamespace>wfc-cyc</nacosNamespace>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
13
sql/upgrade/1.0.10/upgrade.sql
Normal file
13
sql/upgrade/1.0.10/upgrade.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
ALTER TABLE `wfc_user_db`.`u_cdr_history`
|
||||
ADD COLUMN `use_type` tinyint(4) NULL COMMENT 'use id' AFTER `duration`,
|
||||
ADD COLUMN `use_id` bigint(20) NULL COMMENT 'use type' AFTER `use_type`;
|
||||
|
||||
ALTER TABLE `wfc_user_db`.`u_client`
|
||||
ADD COLUMN `active` tinyint(1) NULL COMMENT 'Whether the client is online' AFTER `client_mac`,
|
||||
ADD COLUMN `use_type` tinyint(4) NULL COMMENT 'use type' AFTER `active`,
|
||||
ADD COLUMN `use_id` bigint(20) NULL COMMENT 'use id' AFTER `use_type`;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
9
sql/upgrade/1.0.16/upgrade.sql
Normal file
9
sql/upgrade/1.0.16/upgrade.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
INSERT IGNORE INTO `wfc_system_db`.`sys_menu` VALUES (2033, 'menu.device.alerts.management', 2028, 21, '/device/alerts', 'view.device_alerts', NULL, 1, 0, 'C', '0', '0', '', 'carbon:ai-results-low', 'admin', '2025-06-04 15:35:21', '', '2025-06-04 15:37:11', '', 'device_alerts');
|
||||
INSERT IGNORE INTO `wfc_system_db`.`sys_menu` VALUES (2034, 'menu.device.access.management', 2028, 22, '/device/access', 'view.device_access', NULL, 1, 0, 'C', '0', '0', NULL, 'carbon:carbon', 'super', '2025-06-04 15:40:48', '', NULL, '', 'device_access');
|
||||
|
||||
INSERT IGNORE INTO `wfc_system_db`.`sys_role_menu` VALUES (2, 2033);
|
||||
INSERT IGNORE INTO `wfc_system_db`.`sys_role_menu` VALUES (2, 2034);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
18
sql/upgrade/1.0.17/upgrade.sql
Normal file
18
sql/upgrade/1.0.17/upgrade.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
ALTER TABLE `wfc_user_db`.`u_bill`
|
||||
ADD COLUMN `invoice_number` varchar(64) NULL COMMENT '发票编号' AFTER `status`,
|
||||
ADD COLUMN `invoice_file` varchar(255) NULL COMMENT '发票文件' AFTER `invoice_number`,
|
||||
ADD COLUMN `invoice_file_path` varchar(500) NULL COMMENT '发票文件路径' AFTER `invoice_file`,
|
||||
ADD COLUMN `invoice_time` datetime NULL COMMENT '发票时间' AFTER `invoice_file_path`;
|
||||
|
||||
|
||||
ALTER TABLE `wfc_user_db`.`u_account`
|
||||
ADD COLUMN `package_reminder` tinyint(4) NULL COMMENT '套餐提醒' AFTER `up_limit_enable`,
|
||||
ADD COLUMN `balance_reminder` tinyint(4) NULL COMMENT '余额提醒' AFTER `package_reminder`;
|
||||
|
||||
|
||||
INSERT IGNORE INTO `wfc_system_db`.`sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, 'Reminder Task', 'DEFAULT', 'reminderTask.reminderJob', '0 * * * * ?', '3', '1', '0', 'admin', '2025-06-16 11:26:10', '', NULL, '');
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
7
sql/upgrade/1.0.7/upgrade.sql
Normal file
7
sql/upgrade/1.0.7/upgrade.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
ALTER TABLE `wfc_user_db`.`u_user`
|
||||
ADD COLUMN `birth_date` date NULL COMMENT '出生日期' AFTER `age`;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
16
sql/upgrade/1.0.8/upgrade.sql
Normal file
16
sql/upgrade/1.0.8/upgrade.sql
Normal file
@@ -0,0 +1,16 @@
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_alipay_order`;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_balance`;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_cdr_detail`;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_credit_card_order`;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_credit_card_token`;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_wxpay_order`;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
9
sql/upgrade/1.0.9/upgrade.sql
Normal file
9
sql/upgrade/1.0.9/upgrade.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
INSERT IGNORE INTO `wfc_system_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `name`) VALUES (2031, 'menu.device.wlan.management', 2028, 12, '/device/wlan', 'view.device_wlan', NULL, 1, 1, 'C', '0', '0', '', 'carbon:rocket', 'super', '2025-02-18 10:46:31', '', NULL, '', 'device_wlan');
|
||||
|
||||
INSERT IGNORE INTO `wfc_system_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `name`) VALUES (2032, 'menu.device.portal.management', 2028, 14, '/device/portal', 'view.device_portal', NULL, 1, 1, 'C', '0', '0', '', 'carbon:building-insights-3', 'super', '2025-02-18 10:46:31', '', NULL, '', 'device_portal');
|
||||
|
||||
INSERT IGNORE INTO `wfc_system_db`.`sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 2032);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
@@ -1,5 +0,0 @@
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
@@ -1,5 +0,0 @@
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
@@ -1,5 +0,0 @@
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
@@ -11,7 +11,7 @@
|
||||
Target Server Version : 50744 (5.7.44)
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 26/12/2024 17:47:39
|
||||
Date: 23/01/2025 14:34:14
|
||||
*/
|
||||
|
||||
CREATE DATABASE IF NOT EXISTS `wfc_config_db` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
|
||||
@@ -28,91 +28,75 @@ DROP TABLE IF EXISTS `config_info`;
|
||||
CREATE TABLE `config_info` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||
`data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
|
||||
`group_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
|
||||
`group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'group_id',
|
||||
`content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content',
|
||||
`md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5',
|
||||
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
||||
`src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user',
|
||||
`src_ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip',
|
||||
`app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
|
||||
`app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'app_name',
|
||||
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段',
|
||||
`c_desc` varchar(256) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
|
||||
`c_use` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
|
||||
`effect` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
|
||||
`type` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
|
||||
`c_schema` text CHARACTER SET utf8 COLLATE utf8_bin NULL,
|
||||
`encrypted_data_key` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '秘钥',
|
||||
`c_desc` varchar(256) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'configuration description',
|
||||
`c_use` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'configuration usage',
|
||||
`effect` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '配置生效的描述',
|
||||
`type` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '配置的类型',
|
||||
`c_schema` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '配置的模式',
|
||||
`encrypted_data_key` varchar(1024) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '密钥',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `uk_configinfo_datagrouptenant`(`data_id`, `group_id`, `tenant_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 54 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 72 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of config_info
|
||||
-- ----------------------------
|
||||
INSERT INTO `config_info` VALUES (1, 'application-dev.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '58dde4e3760499d3bac2d77a3a1e9018', '2020-05-20 12:00:00', '2023-12-04 08:08:23', 'nacos', '0:0:0:0:0:0:0:1', '', '', '通用配置', 'null', 'null', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (2, 'wfc-gateway-dev.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', 'c3af686cbf658460ad64a78c07261949', '2020-05-14 14:17:55', '2024-11-15 19:26:39', NULL, '192.168.88.14', '', '', '网关模块', 'null', 'null', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (3, 'wfc-auth-dev.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n', 'c3f5481240e7581cc397f5c7918fd785', '2020-11-20 00:00:00', '2024-11-15 19:36:54', NULL, '192.168.88.14', '', '', '认证中心', 'null', 'null', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (4, 'wfc-monitor-dev.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n', '6f122fd2bfb8d45f858e7d6529a9cd44', '2020-11-20 00:00:00', '2022-09-29 02:48:54', 'nacos', '0:0:0:0:0:0:0:1', '', '', '监控中心', 'null', 'null', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (5, 'wfc-system-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'a9a7c1bcede16a06514731748a75fc71', '2020-11-20 00:00:00', '2024-11-15 19:33:06', NULL, '192.168.88.14', '', '', '系统模块', 'null', 'null', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (6, 'wfc-gen-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', 'eb592420b3fceae1402881887b8a6a0d', '2020-11-20 00:00:00', '2022-09-29 02:49:42', 'nacos', '0:0:0:0:0:0:0:1', '', '', '代码生成', 'null', 'null', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (7, 'wfc-job-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', 'edcf0e3fe13fea07b4ec08b1088f30b3', '2020-11-20 00:00:00', '2022-09-29 02:50:50', 'nacos', '0:0:0:0:0:0:0:1', '', '', '定时任务', 'null', 'null', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (8, 'wfc-file-dev.yml', 'DEFAULT_GROUP', '# 本地文件上传 \r\nfile:\r\n domain: http://127.0.0.1:9300\r\n path: D:/wfc/uploadPath\r\n prefix: /statics\r\n\r\n# FastDFS配置\r\nfdfs:\r\n domain: http://8.129.231.12\r\n soTimeout: 3000\r\n connectTimeout: 2000\r\n trackerList: 8.129.231.12:22122\r\n\r\n# Minio配置\r\nminio:\r\n url: http://8.129.231.12:9000\r\n accessKey: minioadmin\r\n secretKey: minioadmin\r\n bucketName: test', '5382b93f3d8059d6068c0501fdd41195', '2020-11-20 00:00:00', '2020-12-21 21:01:59', NULL, '0:0:0:0:0:0:0:1', '', '', '文件服务', 'null', 'null', 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (9, 'sentinel-wfc-gateway', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', '9f3a3069261598f74220bc47958ec252', '2020-11-20 00:00:00', '2020-11-20 00:00:00', NULL, '0:0:0:0:0:0:0:1', '', '', '限流策略', 'null', 'null', 'json', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (10, 'application-dev.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '58dde4e3760499d3bac2d77a3a1e9018', '2024-11-18 18:11:28', '2024-11-18 18:11:28', '', '192.168.88.14', '', 'wfc-dev', '通用配置', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (11, 'wfc-gateway-dev.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n # payment\n - id: wfc-payment\n uri: lb://wfc-payment\n predicates:\n - Path=/payment/**\n filters:\n - StripPrefix=1 \n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', '7b1fad1543297684976990ac9f3baca2', '2024-11-18 18:11:28', '2024-12-26 09:45:29', NULL, '172.100.88.1', '', 'wfc-dev', '网关模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (12, 'wfc-auth-dev.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n', 'c3f5481240e7581cc397f5c7918fd785', '2024-11-18 18:11:28', '2024-12-13 21:42:21', NULL, '192.168.2.116', '', 'wfc-dev', '认证中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (13, 'wfc-monitor-dev.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: \n', '6494d8b29fceace33c96fc69cdaf0ec6', '2024-11-18 18:11:28', '2024-12-13 21:42:39', NULL, '192.168.2.116', '', 'wfc-dev', '监控中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (14, 'wfc-system-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'a355587121f711511c9010a4a8c0d797', '2024-11-18 18:11:28', '2024-12-13 21:43:19', NULL, '192.168.2.116', '', 'wfc-dev', '系统模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (15, 'wfc-gen-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', '5ec7d9b8eb46eca656316e5f817aadb2', '2024-11-18 18:11:28', '2024-12-13 21:47:16', NULL, '192.168.2.116', '', 'wfc-dev', '代码生成', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (16, 'wfc-job-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', '1376deec876c0878df743b4d96c7f125', '2024-11-18 18:11:28', '2024-12-13 21:47:34', NULL, '192.168.2.116', '', 'wfc-dev', '定时任务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (17, 'wfc-file-dev.yml', 'DEFAULT_GROUP', '# 本地文件上传 \nfile:\n domain: http://127.0.0.1:9300\n path: /home/wfc/upload\n prefix: /statics\n\n# FastDFS配置\nfdfs:\n domain: http://8.129.231.12\n soTimeout: 3000\n connectTimeout: 2000\n trackerList: 8.129.231.12:22122\n\n# Minio配置\nminio:\n url: http://8.129.231.12:9000\n accessKey: minioadmin\n secretKey: minioadmin\n bucketName: test', '580197933f0f0b2ba468a0916b911d4b', '2024-11-18 18:11:28', '2024-12-13 21:44:58', NULL, '192.168.2.116', '', 'wfc-dev', '文件服务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (18, 'sentinel-wfc-gateway', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', 'a8b3ec396dd09d5f2ba494cc80a7afa0', '2024-11-18 18:11:28', '2024-11-18 18:11:28', '', '192.168.88.14', '', 'wfc-dev', '限流策略', NULL, NULL, 'json', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (19, 'application-test.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n # 资源信息\n messages:\n # 国际化资源文件路径\n basename: i18n/messages\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: false\n httpclient:\n enabled: true\n disable-ssl-validation: true\n client:\n config:\n default:\n connectTimeout: 60000\n readTimeout: 60000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '333d0b5dd60a01407c0107d0e4aec172', '2024-11-18 18:11:56', '2024-11-28 20:03:55', NULL, '192.168.88.14', '', 'wfc-test', '通用配置', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (20, 'wfc-gateway-test.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-modules-user\n uri: lb://wfc-modules-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n # payment\n - id: wfc-payment\n uri: lb://wfc-payment\n predicates:\n - Path=/payment/**\n filters:\n - StripPrefix=1 \n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/user/checkRepeat\n - /u/user/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:', 'eec87fd6097c3d5c35d88da9f8280f10', '2024-11-18 18:11:56', '2024-12-26 09:45:05', NULL, '172.100.88.1', '', 'wfc-test', '网关模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (21, 'wfc-auth-test.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n# springdoc配置\nspringdoc:\n gatewayUrl: http://wfc-gateway:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'授权模块接口文档\'\n # 描述\n description: \'授权模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip\n', 'd77ab6f041b802a9d077756fa36a1fe7', '2024-11-18 18:11:56', '2024-12-13 21:49:53', NULL, '192.168.2.116', '', 'wfc-test', '认证中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (22, 'wfc-monitor-test.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: \n', '6494d8b29fceace33c96fc69cdaf0ec6', '2024-11-18 18:11:56', '2024-12-13 21:50:08', NULL, '192.168.2.116', '', 'wfc-test', '监控中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (23, 'wfc-system-test.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://wfc-gateway:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'系统模块接口文档\'\n # 描述\n description: \'系统模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '7cafbcc15abd4a77ddfa4e133921aaae', '2024-11-18 18:11:56', '2024-12-13 21:51:19', NULL, '192.168.2.116', '', 'wfc-test', '系统模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (24, 'wfc-gen-test.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', '5ec7d9b8eb46eca656316e5f817aadb2', '2024-11-18 18:11:56', '2024-12-13 21:51:58', NULL, '192.168.2.116', '', 'wfc-test', '代码生成', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (25, 'wfc-job-test.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', '1376deec876c0878df743b4d96c7f125', '2024-11-18 18:11:56', '2024-12-13 21:53:03', NULL, '192.168.2.116', '', 'wfc-test', '定时任务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (26, 'wfc-file-test.yml', 'DEFAULT_GROUP', '# 本地文件上传 \nfile:\n domain: http://127.0.0.1:9300\n path: /home/wfc/upload\n prefix: /statics\n\n# FastDFS配置\nfdfs:\n domain: http://8.129.231.12\n soTimeout: 3000\n connectTimeout: 2000\n trackerList: 8.129.231.12:22122\n\n# Minio配置\nminio:\n url: http://8.129.231.12:9000\n accessKey: minioadmin\n secretKey: minioadmin\n bucketName: test', '580197933f0f0b2ba468a0916b911d4b', '2024-11-18 18:11:56', '2024-12-13 21:53:22', NULL, '192.168.2.116', '', 'wfc-test', '文件服务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (27, 'sentinel-wfc-gateway', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', 'a8b3ec396dd09d5f2ba494cc80a7afa0', '2024-11-18 18:11:56', '2024-11-18 18:11:56', '', '192.168.88.14', '', 'wfc-test', '限流策略', NULL, NULL, 'json', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (37, 'wfc-modules-user-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'db8c5a7eeebb0d57d180d1a97ad6226e', '2024-11-28 11:17:41', '2024-12-13 21:45:52', NULL, '192.168.2.116', '', 'wfc-dev', '用户平台模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (39, 'wfc-modules-user-test.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://wfc-gateway:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'用户模块接口文档\'\n # 描述\n description: \'用户模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '9d81d4aa99fd5f28bea4860a1ad03d07', '2024-11-28 19:59:47', '2024-12-13 21:54:31', NULL, '192.168.2.116', '', 'wfc-test', '用户平台模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (41, 'application-prod.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n # 资源信息\n messages:\n # 国际化资源文件路径\n basename: i18n/messages\n \n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 60000\n readTimeout: 60000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '3da71d069327a6468c46292591fe5142', '2024-12-13 11:52:34', '2024-12-26 09:40:07', NULL, '172.100.88.1', '', 'wfc-prod', '通用配置', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (42, 'wfc-gateway-prod.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-modules-user\n uri: lb://wfc-modules-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1 \n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n # payment\n - id: wfc-payment\n uri: lb://wfc-payment\n predicates:\n - Path=/payment/**\n filters:\n - StripPrefix=1 \n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', '6edb5d5945601098c926a048198fc8f7', '2024-12-13 11:52:34', '2024-12-25 03:05:09', NULL, '192.168.2.116', '', 'wfc-prod', 'wfc-gateway production', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (43, 'wfc-auth-prod.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n', 'c3f5481240e7581cc397f5c7918fd785', '2024-12-13 11:52:34', '2024-12-13 11:53:35', NULL, '192.168.2.116', '', 'wfc-prod', '认证中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (44, 'wfc-monitor-prod.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: visual monitor\n', 'c8f896d284d5328aab16baeb81a3685c', '2024-12-13 11:52:34', '2024-12-13 11:54:04', NULL, '192.168.2.116', '', 'wfc-prod', '监控中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (45, 'wfc-system-prod.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'a355587121f711511c9010a4a8c0d797', '2024-12-13 11:52:34', '2024-12-13 11:54:49', NULL, '192.168.2.116', '', 'wfc-prod', '系统模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (46, 'wfc-gen-prod.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', '5ec7d9b8eb46eca656316e5f817aadb2', '2024-12-13 11:52:34', '2024-12-13 11:55:28', NULL, '192.168.2.116', '', 'wfc-prod', '代码生成', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (47, 'wfc-job-prod.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', '1376deec876c0878df743b4d96c7f125', '2024-12-13 11:52:34', '2024-12-13 11:56:07', NULL, '192.168.2.116', '', 'wfc-prod', '定时任务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (48, 'wfc-file-prod.yml', 'DEFAULT_GROUP', '# 本地文件上传 \nfile:\n domain: http://127.0.0.1:9300\n path: /home/wfc/upload\n prefix: /statics\n\n# FastDFS配置\nfdfs:\n domain: http://8.129.231.12\n soTimeout: 3000\n connectTimeout: 2000\n trackerList: 8.129.231.12:22122\n\n# Minio配置\nminio:\n url: http://8.129.231.12:9000\n accessKey: minioadmin\n secretKey: minioadmin\n bucketName: test', '580197933f0f0b2ba468a0916b911d4b', '2024-12-13 11:52:34', '2024-12-13 11:57:18', NULL, '192.168.2.116', '', 'wfc-prod', '文件服务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (49, 'sentinel-wfc-gateway', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', 'a8b3ec396dd09d5f2ba494cc80a7afa0', '2024-12-13 11:52:34', '2024-12-13 11:52:34', NULL, '192.168.2.116', '', 'wfc-prod', '限流策略', NULL, NULL, 'json', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (50, 'wfc-modules-user-prod.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'db8c5a7eeebb0d57d180d1a97ad6226e', '2024-12-13 11:52:34', '2024-12-13 13:58:25', NULL, '192.168.2.116', '', 'wfc-prod', '用户平台模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (51, 'wfc-modules-payment-prod.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '782c7fb3b169abae667b19cd08b96df8', '2024-12-24 08:53:40', '2024-12-26 09:40:37', NULL, '172.100.88.1', '', 'wfc-prod', 'wfc-modules-payment production yaml', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (52, 'wfc-modules-payment-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '782c7fb3b169abae667b19cd08b96df8', '2024-12-26 09:41:15', '2024-12-26 09:41:15', NULL, '172.100.88.1', '', 'wfc-dev', 'wfc-modules-payment production yaml', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (53, 'wfc-modules-payment-test.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '782c7fb3b169abae667b19cd08b96df8', '2024-12-26 09:41:40', '2024-12-26 09:41:40', NULL, '172.100.88.1', '', 'wfc-test', 'wfc-modules-payment production yaml', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (1, 'application.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n # 资源信息\n messages:\n # 国际化资源文件路径\n basename: i18n/messages\n \n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: false\n httpclient:\n enabled: true\n disable-ssl-validation: true\n client:\n config:\n default:\n connectTimeout: 60000\n readTimeout: 60000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '0e6382041af033b46a7a78463ab519d5', '2024-12-31 10:56:52', '2024-12-31 10:56:52', NULL, '172.20.0.1', '', '', '通用配置', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (2, 'wfc-gateway.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-user\n uri: lb://wfc-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1 \n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n # payment\n - id: wfc-payment\n uri: lb://wfc-payment\n predicates:\n - Path=/payment/**\n filters:\n - StripPrefix=1 \n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', '50c8bf5bbc07402c51b4d696ddb64a89', '2024-12-31 10:56:52', '2024-12-31 10:56:52', NULL, '172.20.0.1', '', '', 'wfc-gateway production', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (3, 'wfc-auth.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n', 'c3f5481240e7581cc397f5c7918fd785', '2024-12-31 10:56:52', '2024-12-31 10:56:52', NULL, '172.20.0.1', '', '', '认证中心', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (4, 'wfc-monitor.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: visual monitor\n', 'c8f896d284d5328aab16baeb81a3685c', '2024-12-31 10:56:52', '2024-12-31 10:56:52', NULL, '172.20.0.1', '', '', '监控中心', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (5, 'wfc-system.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'a355587121f711511c9010a4a8c0d797', '2024-12-31 10:56:52', '2024-12-31 10:56:52', NULL, '172.20.0.1', '', '', '系统模块', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (6, 'wfc-gen.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', '5ec7d9b8eb46eca656316e5f817aadb2', '2024-12-31 10:56:52', '2024-12-31 10:56:52', NULL, '172.20.0.1', '', '', '代码生成', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (7, 'wfc-job.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', '1376deec876c0878df743b4d96c7f125', '2024-12-31 10:56:52', '2024-12-31 10:56:52', NULL, '172.20.0.1', '', '', '定时任务', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (8, 'wfc-file.yml', 'DEFAULT_GROUP', '# 本地文件上传 \nfile:\n domain: http://127.0.0.1:9300\n path: /home/wfc/upload\n prefix: /statics\n\n# FastDFS配置\nfdfs:\n domain: http://8.129.231.12\n soTimeout: 3000\n connectTimeout: 2000\n trackerList: 8.129.231.12:22122\n\n# Minio配置\nminio:\n url: http://8.129.231.12:9000\n accessKey: minioadmin\n secretKey: minioadmin\n bucketName: test', '580197933f0f0b2ba468a0916b911d4b', '2024-12-31 10:56:52', '2024-12-31 10:56:52', NULL, '172.20.0.1', '', '', '文件服务', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (9, 'wfc-user.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'db8c5a7eeebb0d57d180d1a97ad6226e', '2024-12-31 10:56:52', '2024-12-31 10:56:52', NULL, '172.20.0.1', '', '', '用户平台模块', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (10, 'wfc-payment.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '782c7fb3b169abae667b19cd08b96df8', '2024-12-31 10:56:52', '2024-12-31 10:56:52', NULL, '172.20.0.1', '', '', 'wfc-modules-payment production yaml', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (11, 'sentinel-wfc-gateway', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', 'a8b3ec396dd09d5f2ba494cc80a7afa0', '2024-12-31 10:57:17', '2024-12-31 10:57:17', NULL, '172.20.0.1', '', '', '限流策略', NULL, NULL, 'json', NULL, '');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for config_info_aggr
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `config_info_aggr`;
|
||||
CREATE TABLE `config_info_aggr` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||
`data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
|
||||
`group_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id',
|
||||
`datum_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'datum_id',
|
||||
`content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '内容',
|
||||
`gmt_modified` datetime NOT NULL COMMENT '修改时间',
|
||||
`app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
|
||||
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `uk_configinfoaggr_datagrouptenantdatum`(`data_id`, `group_id`, `tenant_id`, `datum_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '增加租户字段' ROW_FORMAT = DYNAMIC;
|
||||
INSERT INTO `config_info` VALUES (21, 'application-dev.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n\n# feign 配置\nfeign:\n sentinel:\n enabled: false\n okhttp:\n enabled: true\n httpclient:\n enabled: true\n disable-ssl-validation: true\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '58dde4e3760499d3bac2d77a3a1e9018', '2024-11-18 18:11:28', '2024-11-18 18:11:28', '', '192.168.88.14', '', 'wfc-dev', '通用配置', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (22, 'wfc-gateway-dev.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n # payment\n - id: wfc-payment\n uri: lb://wfc-payment\n predicates:\n - Path=/payment/**\n filters:\n - StripPrefix=1 \n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', '7b1fad1543297684976990ac9f3baca2', '2024-11-18 18:11:28', '2024-12-26 09:45:29', NULL, '172.100.88.1', '', 'wfc-dev', '网关模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (23, 'wfc-auth-dev.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n', 'c3f5481240e7581cc397f5c7918fd785', '2024-11-18 18:11:28', '2024-12-13 21:42:21', NULL, '192.168.2.116', '', 'wfc-dev', '认证中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (24, 'wfc-monitor-dev.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: \n', '6494d8b29fceace33c96fc69cdaf0ec6', '2024-11-18 18:11:28', '2024-12-13 21:42:39', NULL, '192.168.2.116', '', 'wfc-dev', '监控中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (25, 'wfc-system-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'a355587121f711511c9010a4a8c0d797', '2024-11-18 18:11:28', '2024-12-13 21:43:19', NULL, '192.168.2.116', '', 'wfc-dev', '系统模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (26, 'wfc-gen-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', '5ec7d9b8eb46eca656316e5f817aadb2', '2024-11-18 18:11:28', '2024-12-13 21:47:16', NULL, '192.168.2.116', '', 'wfc-dev', '代码生成', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (27, 'wfc-job-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', '1376deec876c0878df743b4d96c7f125', '2024-11-18 18:11:28', '2024-12-13 21:47:34', NULL, '192.168.2.116', '', 'wfc-dev', '定时任务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (28, 'wfc-file-dev.yml', 'DEFAULT_GROUP', '# 本地文件上传 \nfile:\n domain: http://127.0.0.1:9300\n path: /home/wfc/upload\n prefix: /statics\n\n# FastDFS配置\nfdfs:\n domain: http://8.129.231.12\n soTimeout: 3000\n connectTimeout: 2000\n trackerList: 8.129.231.12:22122\n\n# Minio配置\nminio:\n url: http://8.129.231.12:9000\n accessKey: minioadmin\n secretKey: minioadmin\n bucketName: test', '580197933f0f0b2ba468a0916b911d4b', '2024-11-18 18:11:28', '2024-12-13 21:44:58', NULL, '192.168.2.116', '', 'wfc-dev', '文件服务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (29, 'wfc-user-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'db8c5a7eeebb0d57d180d1a97ad6226e', '2024-12-28 19:20:25', '2024-12-28 19:20:25', NULL, '172.19.0.1', '', 'wfc-dev', '用户平台模块', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (30, 'wfc-payment-dev.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '782c7fb3b169abae667b19cd08b96df8', '2024-12-31 10:59:12', '2024-12-31 10:59:12', NULL, '172.20.0.1', '', 'wfc-dev', 'wfc-modules-payment production yaml', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (31, 'sentinel-wfc-gateway-dev', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', 'a8b3ec396dd09d5f2ba494cc80a7afa0', '2024-12-31 11:00:43', '2024-12-31 11:00:43', NULL, '172.20.0.1', '', 'wfc-dev', '限流策略', NULL, NULL, 'json', NULL, '');
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of config_info_aggr
|
||||
-- ----------------------------
|
||||
INSERT INTO `config_info` VALUES (41, 'application-test.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n # 资源信息\n messages:\n # 国际化资源文件路径\n basename: i18n/messages\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: false\n httpclient:\n enabled: true\n disable-ssl-validation: true\n client:\n config:\n default:\n connectTimeout: 60000\n readTimeout: 60000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '333d0b5dd60a01407c0107d0e4aec172', '2024-11-18 18:11:56', '2024-11-28 20:03:55', NULL, '192.168.88.14', '', 'wfc-test', '通用配置', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (42, 'wfc-gateway-test.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-modules-user\n uri: lb://wfc-modules-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n # payment\n - id: wfc-payment\n uri: lb://wfc-payment\n predicates:\n - Path=/payment/**\n filters:\n - StripPrefix=1 \n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/user/checkRepeat\n - /u/user/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:', 'eec87fd6097c3d5c35d88da9f8280f10', '2024-11-18 18:11:56', '2024-12-26 09:45:05', NULL, '172.100.88.1', '', 'wfc-test', '网关模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (43, 'wfc-auth-test.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n# springdoc配置\nspringdoc:\n gatewayUrl: http://wfc-gateway:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'授权模块接口文档\'\n # 描述\n description: \'授权模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip\n', 'd77ab6f041b802a9d077756fa36a1fe7', '2024-11-18 18:11:56', '2024-12-13 21:49:53', NULL, '192.168.2.116', '', 'wfc-test', '认证中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (44, 'wfc-monitor-test.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: \n', '6494d8b29fceace33c96fc69cdaf0ec6', '2024-11-18 18:11:56', '2024-12-13 21:50:08', NULL, '192.168.2.116', '', 'wfc-test', '监控中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (45, 'wfc-system-test.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://wfc-gateway:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'系统模块接口文档\'\n # 描述\n description: \'系统模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '7cafbcc15abd4a77ddfa4e133921aaae', '2024-11-18 18:11:56', '2024-12-13 21:51:19', NULL, '192.168.2.116', '', 'wfc-test', '系统模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (46, 'wfc-gen-test.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', '5ec7d9b8eb46eca656316e5f817aadb2', '2024-11-18 18:11:56', '2024-12-13 21:51:58', NULL, '192.168.2.116', '', 'wfc-test', '代码生成', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (47, 'wfc-job-test.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', '1376deec876c0878df743b4d96c7f125', '2024-11-18 18:11:56', '2024-12-13 21:53:03', NULL, '192.168.2.116', '', 'wfc-test', '定时任务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (48, 'wfc-file-test.yml', 'DEFAULT_GROUP', '# 本地文件上传 \nfile:\n domain: http://127.0.0.1:9300\n path: /home/wfc/upload\n prefix: /statics\n\n# FastDFS配置\nfdfs:\n domain: http://8.129.231.12\n soTimeout: 3000\n connectTimeout: 2000\n trackerList: 8.129.231.12:22122\n\n# Minio配置\nminio:\n url: http://8.129.231.12:9000\n accessKey: minioadmin\n secretKey: minioadmin\n bucketName: test', '580197933f0f0b2ba468a0916b911d4b', '2024-11-18 18:11:56', '2024-12-13 21:53:22', NULL, '192.168.2.116', '', 'wfc-test', '文件服务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (49, 'wfc-user-test.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://wfc-gateway:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'用户模块接口文档\'\n # 描述\n description: \'用户模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '9d81d4aa99fd5f28bea4860a1ad03d07', '2024-12-28 19:22:29', '2024-12-28 19:22:29', NULL, '172.19.0.1', '', 'wfc-test', '用户平台模块', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (50, 'wfc-payment-test.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '782c7fb3b169abae667b19cd08b96df8', '2024-12-28 19:22:50', '2024-12-28 19:22:50', NULL, '172.19.0.1', '', 'wfc-test', 'wfc-modules-payment production yaml', NULL, NULL, 'yaml', NULL, '');
|
||||
INSERT INTO `config_info` VALUES (51, 'sentinel-wfc-gateway-test', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', 'a8b3ec396dd09d5f2ba494cc80a7afa0', '2024-12-28 19:28:44', '2024-12-28 19:28:44', NULL, '172.19.0.1', '', 'wfc-test', '限流策略', NULL, NULL, 'json', NULL, '');
|
||||
|
||||
INSERT INTO `config_info` VALUES (61, 'application-prod.yml', 'DEFAULT_GROUP', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n # 资源信息\n #messages:\n # 国际化资源文件路径\n #basename: i18n/messages\n \n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: false\n httpclient:\n enabled: true\n disable-ssl-validation: true\n client:\n config:\n default:\n connectTimeout: 60000\n readTimeout: 60000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n \n\n \n', '35d3cd36aeef1b24d4fdb9f73e0fb2c6', '2024-12-13 11:52:34', '2025-02-08 09:39:47', NULL, '172.20.0.1', '', 'wfc-prod', '通用配置', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (62, 'wfc-gateway-prod.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-user\n uri: lb://wfc-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1 \n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n # payment\n - id: wfc-payment\n uri: lb://wfc-payment\n predicates:\n - Path=/payment/**\n filters:\n - StripPrefix=1 \n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /auth/checkRepeat\n - /*/v2/api-docs\n - /csrf\n - /u/email/code\n - /system/email/code\n - /payment/aliPay/callback\n - /payment/wxPay/callback\n - /u/user/profile/forgotPwd\n - /system/user/profile/forgotPwd\n - /payment/stripe/callback', '6da5647d73fe6680ed197fa2f2a2b310', '2024-12-13 11:52:34', '2025-04-25 10:44:09', NULL, '192.168.2.177', '', 'wfc-prod', 'wfc-gateway production', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (63, 'wfc-auth-prod.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n', 'c3f5481240e7581cc397f5c7918fd785', '2024-12-13 11:52:34', '2024-12-13 11:53:35', NULL, '192.168.2.116', '', 'wfc-prod', '认证中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (64, 'wfc-monitor-prod.yml', 'DEFAULT_GROUP', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: visual monitor\n', 'c8f896d284d5328aab16baeb81a3685c', '2024-12-13 11:52:34', '2024-12-13 11:54:04', NULL, '192.168.2.116', '', 'wfc-prod', '监控中心', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (65, 'wfc-system-prod.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n user:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', '6d6ace553dddd9e9396ea7007e7e8039', '2024-12-13 11:52:34', '2025-04-02 20:31:17', NULL, '192.168.2.158', '', 'wfc-prod', '系统模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (66, 'wfc-gen-prod.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', '5ec7d9b8eb46eca656316e5f817aadb2', '2024-12-13 11:52:34', '2024-12-13 11:55:28', NULL, '192.168.2.116', '', 'wfc-prod', '代码生成', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (67, 'wfc-job-prod.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', '1376deec876c0878df743b4d96c7f125', '2024-12-13 11:52:34', '2024-12-13 11:56:07', NULL, '192.168.2.116', '', 'wfc-prod', '定时任务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (68, 'wfc-file-prod.yml', 'DEFAULT_GROUP', '# 本地文件上传 \nfile:\n domain: wfc-file:9201\n path: /opt/wfc/upload\n prefix: /kyc\n gateway: http://192.168.2.116:8080\n\n# FastDFS配置\nfdfs:\n domain: http://wfc-file\n soTimeout: 3000\n connectTimeout: 2000\n trackerList: wfc-file:22122\n\n# Minio配置\nminio:\n url: http://wfc-file:9000\n accessKey: minioadmin\n secretKey: minioadmin\n bucketName: test', '67ac8270276a9e28271471cbbd6c7784', '2024-12-13 11:52:34', '2025-01-16 01:46:26', NULL, '172.19.0.1', '', 'wfc-prod', '文件服务', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (69, 'wfc-user-prod.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n config-location: classpath:mybatis-config.xml\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: INFO\n org.springframework.web: INFO\n org.mybatis.mapper: INFO\n org.wfc.user: INFO\n', 'a4a5091fab85f9a67ba3800e6254c086', '2024-12-28 19:17:13', '2025-01-14 09:00:36', NULL, '172.19.0.1', '', 'wfc-prod', '用户平台模块', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (70, 'wfc-payment-prod.yml', 'DEFAULT_GROUP', '# spring配置\nspring:\n application:\n name: wfc-payment\n cloud:\n nacos:\n discovery:\n server-addr: ${NACOS_SERVER_ADDR:wfc-nacos}:${NACOS_SERVER_PORT:8848}\n namespace: ${NACOS_NAMESPACE:wfc-prod}\n \n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.payment\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n\n', '30412f7146c245c928acf90c35712be9', '2024-12-28 19:17:46', '2025-02-08 10:30:28', NULL, '172.20.0.1', '', 'wfc-prod', 'wfc-modules-payment production yaml', '', '', 'yaml', '', '');
|
||||
INSERT INTO `config_info` VALUES (71, 'sentinel-wfc-gateway-prod', 'DEFAULT_GROUP', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', 'a8b3ec396dd09d5f2ba494cc80a7afa0', '2024-12-28 19:27:43', '2024-12-28 19:27:43', NULL, '172.19.0.1', '', 'wfc-prod', '限流策略', NULL, NULL, 'json', NULL, '');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for config_info_beta
|
||||
@@ -131,15 +115,67 @@ CREATE TABLE `config_info_beta` (
|
||||
`src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user',
|
||||
`src_ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip',
|
||||
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段',
|
||||
`encrypted_data_key` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '秘钥',
|
||||
`encrypted_data_key` varchar(1024) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '密钥',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `uk_configinfobeta_datagrouptenant`(`data_id`, `group_id`, `tenant_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info_beta' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info_beta' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of config_info_beta
|
||||
-- ----------------------------
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for config_info_aggr
|
||||
-- ----------------------------
|
||||
-- for nacos v2.4.3 -
|
||||
|
||||
DROP TABLE IF EXISTS `config_info_aggr`;
|
||||
CREATE TABLE `config_info_aggr` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||
`data_id` varchar(255) NOT NULL COMMENT 'data_id',
|
||||
`group_id` varchar(128) NOT NULL COMMENT 'group_id',
|
||||
`datum_id` varchar(255) NOT NULL COMMENT 'datum_id',
|
||||
`content` longtext NOT NULL COMMENT '内容',
|
||||
`gmt_modified` datetime NOT NULL COMMENT '修改时间',
|
||||
`app_name` varchar(128) DEFAULT NULL COMMENT 'app_name',
|
||||
`tenant_id` varchar(128) DEFAULT '' COMMENT '租户字段',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `uk_configinfoaggr_datagrouptenantdatum` (`data_id`,`group_id`,`tenant_id`,`datum_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='增加租户字段';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of config_info_aggr
|
||||
-- ----------------------------
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for config_info_gray
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `config_info_gray`;
|
||||
CREATE TABLE `config_info_gray` (
|
||||
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||
`data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'data_id',
|
||||
`group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'group_id',
|
||||
`content` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'content',
|
||||
`md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'md5',
|
||||
`src_user` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT 'src_user',
|
||||
`src_ip` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'src_ip',
|
||||
`gmt_create` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT 'gmt_create',
|
||||
`gmt_modified` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT 'gmt_modified',
|
||||
`app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'app_name',
|
||||
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT 'tenant_id',
|
||||
`gray_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'gray_name',
|
||||
`gray_rule` text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'gray_rule',
|
||||
`encrypted_data_key` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT 'encrypted_data_key',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `uk_configinfogray_datagrouptenantgray`(`data_id`, `group_id`, `tenant_id`, `gray_name`) USING BTREE,
|
||||
INDEX `idx_dataid_gmt_modified`(`data_id`, `gmt_modified`) USING BTREE,
|
||||
INDEX `idx_gmt_modified`(`gmt_modified`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = 'config_info_gray' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of config_info_gray
|
||||
-- ----------------------------
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for config_info_tag
|
||||
-- ----------------------------
|
||||
@@ -159,7 +195,7 @@ CREATE TABLE `config_info_tag` (
|
||||
`src_ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `uk_configinfotag_datagrouptenanttag`(`data_id`, `group_id`, `tenant_id`, `tag_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info_tag' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info_tag' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of config_info_tag
|
||||
@@ -176,11 +212,11 @@ CREATE TABLE `config_tags_relation` (
|
||||
`data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
|
||||
`group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id',
|
||||
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_id',
|
||||
`nid` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
`nid` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'nid, 自增长标识',
|
||||
PRIMARY KEY (`nid`) USING BTREE,
|
||||
UNIQUE INDEX `uk_configtagrelation_configidtag`(`id`, `tag_name`, `tag_type`) USING BTREE,
|
||||
INDEX `idx_tenant_id`(`tenant_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_tag_relation' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_tag_relation' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of config_tags_relation
|
||||
@@ -203,7 +239,7 @@ CREATE TABLE `group_capacity` (
|
||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `uk_group_id`(`group_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '集群、各Group容量信息表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '集群、各Group容量信息表' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of group_capacity
|
||||
@@ -214,150 +250,43 @@ CREATE TABLE `group_capacity` (
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `his_config_info`;
|
||||
CREATE TABLE `his_config_info` (
|
||||
`id` bigint(20) UNSIGNED NOT NULL,
|
||||
`nid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
|
||||
`group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
|
||||
`id` bigint(20) UNSIGNED NOT NULL COMMENT 'id',
|
||||
`nid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'nid, 自增标识',
|
||||
`data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
|
||||
`group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id',
|
||||
`app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'app_name',
|
||||
`content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
|
||||
`md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
|
||||
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL,
|
||||
`src_ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
|
||||
`op_type` char(10) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
|
||||
`content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content',
|
||||
`md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5',
|
||||
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
||||
`src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user',
|
||||
`src_ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip',
|
||||
`op_type` char(10) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'operation type',
|
||||
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段',
|
||||
`encrypted_data_key` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '秘钥',
|
||||
`encrypted_data_key` varchar(1024) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '密钥',
|
||||
`publish_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT 'formal' COMMENT 'publish type gray or formal',
|
||||
`gray_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'gray name',
|
||||
`ext_info` longtext CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'ext info',
|
||||
PRIMARY KEY (`nid`) USING BTREE,
|
||||
INDEX `idx_gmt_create`(`gmt_create`) USING BTREE,
|
||||
INDEX `idx_gmt_modified`(`gmt_modified`) USING BTREE,
|
||||
INDEX `idx_did`(`data_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 165 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '多租户改造' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '多租户改造' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of his_config_info
|
||||
-- ----------------------------
|
||||
INSERT INTO `his_config_info` VALUES (32, 55, 'wfc-system-cyc.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n configuration:\n # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用\n log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n# 邮箱配置\nmail:\n enabled: true\n host: 112.74.85.175:1443\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: smtpext@agrandtech.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: smtpext@agrandtech.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0', '08e75547434b8583f855fc6b9f163a68', '2024-11-26 17:47:23', '2024-11-26 09:47:23', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 56, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', '2b6319d68351ca82dd097493d97ccf65', '2024-11-26 18:39:14', '2024-11-26 10:39:15', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (32, 57, 'wfc-system-cyc.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n configuration:\n # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用\n log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n# 邮箱配置\nmail:\n enabled: true\n host: 112.74.85.175\n port: 1443\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: smtpext@agrandtech.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: smtpext@agrandtech.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0', '7dc2bc68f5fcb3dd57fb6e2f258e0417', '2024-11-26 18:41:00', '2024-11-26 10:41:00', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (30, 58, 'wfc-auth-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n', '8bd9dada9a94822feeab40de55efced6', '2024-11-27 11:02:45', '2024-11-27 03:02:45', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (30, 59, 'wfc-auth-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'授权模块接口文档\'\n # 描述\n description: \'授权模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '1ee06ad7ad748c03014d03f38139195b', '2024-11-27 11:19:21', '2024-11-27 03:19:22', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (30, 60, 'wfc-auth-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'授权模块接口文档\'\n # 描述\n description: \'授权模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '1ee06ad7ad748c03014d03f38139195b', '2024-11-27 11:24:29', '2024-11-27 03:24:30', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 61, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:\n', '4c9bb6ade6029b23f6772ce67fc5042e', '2024-11-27 15:36:08', '2024-11-27 07:36:08', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 62, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: false\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:\n', '729c2b152c135d849e39ecf78cb0878c', '2024-11-27 15:43:15', '2024-11-27 07:43:16', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 63, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: false\n mailEnabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:\n', '57f330e2578d58d3f0bcf69b3e4c0e4f', '2024-11-27 15:43:46', '2024-11-27 07:43:47', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 64, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:\n', '9d9fb76b1ecf158a4ab313b84a08e4bb', '2024-11-27 15:43:54', '2024-11-27 07:43:54', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 65, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: false\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:\n', 'd6bf646ba6e8292a92ede3cd12157524', '2024-11-27 15:46:22', '2024-11-27 07:46:22', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (32, 66, 'wfc-system-cyc.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n configuration:\n # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用\n log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n# 邮箱配置\nmail:\n enabled: true\n host: 112.74.85.175\n port: 1443\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: smtpext@agrandtech.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: smtpext@agrandtech.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'系统模块接口文档\'\n # 描述\n description: \'系统模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '24d83b1235ce6d7474bece2dbd17bf41', '2024-11-27 15:48:45', '2024-11-27 07:48:46', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (32, 67, 'wfc-system-cyc.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n configuration:\n # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用\n log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb2\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'系统模块接口文档\'\n # 描述\n description: \'系统模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', 'c1bd0f119f116d36773b90e29fe5503c', '2024-11-27 15:49:59', '2024-11-27 07:50:00', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 68, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:\n', '9d9fb76b1ecf158a4ab313b84a08e4bb', '2024-11-27 16:55:49', '2024-11-27 08:55:49', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 69, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:\n', '2e968864173f4541a67b863c68f8bfc8', '2024-11-27 17:04:18', '2024-11-27 09:04:18', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 70, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: false\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:\n', '72455d70c33bf9a6e99ea0f46e7bffd1', '2024-11-27 18:32:56', '2024-11-27 10:32:57', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 71, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: false\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:\n', '8a7969a9f3193842c18c98f7560a676f', '2024-11-27 18:35:04', '2024-11-27 10:35:05', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (20, 72, 'wfc-gateway-test.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', 'c3af686cbf658460ad64a78c07261949', '2024-11-27 18:38:47', '2024-11-27 10:38:47', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (21, 73, 'wfc-auth-test.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n', 'c3f5481240e7581cc397f5c7918fd785', '2024-11-27 18:39:16', '2024-11-27 10:39:16', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (23, 74, 'wfc-system-test.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'a9a7c1bcede16a06514731748a75fc71', '2024-11-27 18:40:07', '2024-11-27 10:40:07', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (20, 75, 'wfc-gateway-test.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/user/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:', '86bc19904fa83d2ad25c20bec4df78a5', '2024-11-27 18:40:44', '2024-11-27 10:40:44', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (19, 76, 'application-test.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '58dde4e3760499d3bac2d77a3a1e9018', '2024-11-28 11:04:44', '2024-11-28 03:04:44', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (19, 77, 'application-test.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n # 资源信息\n messages:\n # 国际化资源文件路径\n basename: i18n/messages\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '333d0b5dd60a01407c0107d0e4aec172', '2024-11-28 11:07:12', '2024-11-28 03:07:13', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (19, 78, 'application-test.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n # 资源信息\n messages:\n # 国际化资源文件路径\n basename: i18n/messages\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '333d0b5dd60a01407c0107d0e4aec172', '2024-11-28 11:09:23', '2024-11-28 03:09:23', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 79, 'wfc-modules-user-dev.yml', 'DEFAULT_GROUP', '', '# spring配置\r\nspring:\r\n redis:\r\n host: 192.168.2.248\r\n port: 6379\r\n password:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: 123456\r\n dynamic:\r\n druid:\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n maxWait: 60000\r\n connectTimeout: 30000\r\n socketTimeout: 60000\r\n timeBetweenEvictionRunsMillis: 60000\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n filters: stat,slf4j\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n datasource:\r\n # 主库数据源\r\n master:\r\n driver-class-name: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\r\n username: root\r\n password: 123456\r\n # 从库数据源\r\n # slave:\r\n # username:\r\n # password:\r\n # url:\r\n # driver-class-name:\r\n\r\n# mybatis配置\r\nmybatis:\r\n # 搜索指定包别名\r\n typeAliasesPackage: org.wfc.user\r\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\r\n mapperLocations: classpath:mapper/**/*.xml\r\n\r\n# swagger配置\r\nswagger:\r\n title: 系统模块接口文档\r\n license: Powered By wfc\r\n licenseUrl: https://wfc.vip', 'a1b592c73d2e649bf25d29b941e2eac8', '2024-11-28 11:17:41', '2024-11-28 03:17:41', NULL, '192.168.5.58', 'I', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 80, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: false\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/user/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:\n', '74924dfe44c4c1caa306bf3b526e72d2', '2024-11-28 11:33:43', '2024-11-28 03:33:43', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (20, 81, 'wfc-gateway-test.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: false\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/user/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:', '5d5b7edfd6d677cda4443ac40a7c8aa8', '2024-11-28 14:39:58', '2024-11-28 06:39:59', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (20, 82, 'wfc-gateway-test.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-modules-user\n uri: lb://wfc-modules-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: false\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/user/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:', 'a50c57ef69a0f9bcf068cfc4b1907886', '2024-11-28 19:56:31', '2024-11-28 11:56:31', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 83, 'wfc-modules-user-dev.yml', 'DEFAULT_GROUP', '', '# spring配置\r\nspring:\r\n redis:\r\n host: 192.168.2.248\r\n port: 6379\r\n password:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: 123456\r\n dynamic:\r\n druid:\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n maxWait: 60000\r\n connectTimeout: 30000\r\n socketTimeout: 60000\r\n timeBetweenEvictionRunsMillis: 60000\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n filters: stat,slf4j\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n datasource:\r\n # 主库数据源\r\n master:\r\n driver-class-name: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\r\n username: root\r\n password: 123456\r\n # 从库数据源\r\n # slave:\r\n # username:\r\n # password:\r\n # url:\r\n # driver-class-name:\r\n\r\n# mybatis配置\r\nmybatis:\r\n # 搜索指定包别名\r\n typeAliasesPackage: org.wfc.user\r\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\r\n mapperLocations: classpath:mapper/**/*.xml\r\n\r\n# swagger配置\r\nswagger:\r\n title: 系统模块接口文档\r\n license: Powered By wfc\r\n licenseUrl: https://wfc.vip', 'a1b592c73d2e649bf25d29b941e2eac8', '2024-11-28 19:58:49', '2024-11-28 11:58:49', NULL, '192.168.88.14', 'I', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (38, 84, 'wfc-modules-user-dev.yml', 'DEFAULT_GROUP', '', '# spring配置\r\nspring:\r\n redis:\r\n host: 192.168.2.248\r\n port: 6379\r\n password:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: 123456\r\n dynamic:\r\n druid:\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n maxWait: 60000\r\n connectTimeout: 30000\r\n socketTimeout: 60000\r\n timeBetweenEvictionRunsMillis: 60000\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n filters: stat,slf4j\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n datasource:\r\n # 主库数据源\r\n master:\r\n driver-class-name: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\r\n username: root\r\n password: 123456\r\n # 从库数据源\r\n # slave:\r\n # username:\r\n # password:\r\n # url:\r\n # driver-class-name:\r\n\r\n# mybatis配置\r\nmybatis:\r\n # 搜索指定包别名\r\n typeAliasesPackage: org.wfc.user\r\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\r\n mapperLocations: classpath:mapper/**/*.xml\r\n\r\n# swagger配置\r\nswagger:\r\n title: 系统模块接口文档\r\n license: Powered By wfc\r\n licenseUrl: https://wfc.vip', 'a1b592c73d2e649bf25d29b941e2eac8', '2024-11-28 19:59:31', '2024-11-28 11:59:32', NULL, '192.168.88.14', 'D', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 85, 'wfc-modules-user-test.yml', 'DEFAULT_GROUP', '', '# spring配置\r\nspring:\r\n redis:\r\n host: 192.168.2.248\r\n port: 6379\r\n password:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: 123456\r\n dynamic:\r\n druid:\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n maxWait: 60000\r\n connectTimeout: 30000\r\n socketTimeout: 60000\r\n timeBetweenEvictionRunsMillis: 60000\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n filters: stat,slf4j\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n datasource:\r\n # 主库数据源\r\n master:\r\n driver-class-name: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\r\n username: root\r\n password: 123456\r\n # 从库数据源\r\n # slave:\r\n # username:\r\n # password:\r\n # url:\r\n # driver-class-name:\r\n\r\n# mybatis配置\r\nmybatis:\r\n # 搜索指定包别名\r\n typeAliasesPackage: org.wfc.user\r\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\r\n mapperLocations: classpath:mapper/**/*.xml\r\n\r\n# swagger配置\r\nswagger:\r\n title: 系统模块接口文档\r\n license: Powered By wfc\r\n licenseUrl: https://wfc.vip', 'a1b592c73d2e649bf25d29b941e2eac8', '2024-11-28 19:59:46', '2024-11-28 11:59:47', NULL, '192.168.88.14', 'I', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (39, 86, 'wfc-modules-user-test.yml', 'DEFAULT_GROUP', '', '# spring配置\r\nspring:\r\n redis:\r\n host: 192.168.2.248\r\n port: 6379\r\n password:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: 123456\r\n dynamic:\r\n druid:\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n maxWait: 60000\r\n connectTimeout: 30000\r\n socketTimeout: 60000\r\n timeBetweenEvictionRunsMillis: 60000\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n filters: stat,slf4j\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n datasource:\r\n # 主库数据源\r\n master:\r\n driver-class-name: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\r\n username: root\r\n password: 123456\r\n # 从库数据源\r\n # slave:\r\n # username:\r\n # password:\r\n # url:\r\n # driver-class-name:\r\n\r\n# mybatis配置\r\nmybatis:\r\n # 搜索指定包别名\r\n typeAliasesPackage: org.wfc.user\r\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\r\n mapperLocations: classpath:mapper/**/*.xml\r\n\r\n# swagger配置\r\nswagger:\r\n title: 系统模块接口文档\r\n license: Powered By wfc\r\n licenseUrl: https://wfc.vip', 'a1b592c73d2e649bf25d29b941e2eac8', '2024-11-28 20:00:26', '2024-11-28 12:00:27', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (39, 87, 'wfc-modules-user-test.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: 192.168.2.248\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'系统模块接口文档\'\n # 描述\n description: \'系统模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '54bb218ab72770abe9152ef1090d4aa0', '2024-11-28 20:02:39', '2024-11-28 12:02:40', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (19, 88, 'application-test.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n # 资源信息\n messages:\n # 国际化资源文件路径\n basename: i18n/messages\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '333d0b5dd60a01407c0107d0e4aec172', '2024-11-28 20:03:55', '2024-11-28 12:03:55', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 89, 'wfc-modules-user-cyc.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: 192.168.2.248\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'用户模块接口文档\'\n # 描述\n description: \'用户模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '9c76e1d17c880cd048bd573c1c50a8ea', '2024-11-28 20:07:02', '2024-11-28 12:07:02', NULL, '192.168.88.14', 'I', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (40, 90, 'wfc-modules-user-cyc.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: 192.168.2.248\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'用户模块接口文档\'\n # 描述\n description: \'用户模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '9c76e1d17c880cd048bd573c1c50a8ea', '2024-11-28 20:07:38', '2024-11-28 12:07:38', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (20, 91, 'wfc-gateway-test.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-modules-user\n uri: lb://wfc-modules-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/user/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:', '7912a59ee7fb5ef344ba8b8066fa0a86', '2024-11-29 15:42:53', '2024-11-29 07:42:54', NULL, '192.168.88.14', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (22, 92, 'wfc-monitor-test.yml', 'DEFAULT_GROUP', '', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n', '7546d5a605e371c8b20e6fe3b4dd96f2', '2024-12-03 10:48:27', '2024-12-03 02:48:28', NULL, '192.168.2.158', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (22, 93, 'wfc-monitor-test.yml', 'DEFAULT_GROUP', '', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n', '7546d5a605e371c8b20e6fe3b4dd96f2', '2024-12-03 11:23:24', '2024-12-03 03:23:25', NULL, '192.168.2.158', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (31, 94, 'wfc-monitor-cyc.yml', 'DEFAULT_GROUP', '', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n', '7546d5a605e371c8b20e6fe3b4dd96f2', '2024-12-03 11:26:00', '2024-12-03 03:26:01', NULL, '192.168.2.158', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (31, 95, 'wfc-monitor-cyc.yml', 'DEFAULT_GROUP', '', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'监控模块接口文档\'\n # 描述\n description: \'监控模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip\n', 'cd56d20c64f494a521790a092fd1f14b', '2024-12-03 11:45:04', '2024-12-03 03:45:04', NULL, '192.168.2.158', 'U', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (22, 96, 'wfc-monitor-test.yml', 'DEFAULT_GROUP', '', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'监控模块接口文档\'\n # 描述\n description: \'监控模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip\n', 'cd56d20c64f494a521790a092fd1f14b', '2024-12-03 11:45:19', '2024-12-03 03:45:19', NULL, '192.168.2.158', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (28, 97, 'application-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n # 资源信息\n messages:\n # 国际化资源文件路径\n basename: i18n/messages\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n# Omada 配置\nomada:\n omada-url: \'https://192.168.2.248:8043\'\n omadac-id: \'f3aa6e479b94222581523710cc2c2a9d\'\n client-id: \'5036e77c81a74008821c694a715fe2b8\'\n client-secret: \'29faa06fb7f244b094377b48eb3083a7\'\n# 邮箱\nmail:\n enabled: false\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb2\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n\n', '785e5264efd9730fd8efec35bb6b874d', '2024-12-13 11:50:30', '2024-12-13 03:50:31', NULL, '192.168.2.116', 'D', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (29, 98, 'wfc-gateway-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-modules-user\n uri: lb://wfc-modules-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: false\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/user/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:\n', '5b3eb931f3af81a34a887fa24b91bade', '2024-12-13 11:50:30', '2024-12-13 03:50:31', NULL, '192.168.2.116', 'D', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (30, 99, 'wfc-auth-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'授权模块接口文档\'\n # 描述\n description: \'授权模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '1ee06ad7ad748c03014d03f38139195b', '2024-12-13 11:50:30', '2024-12-13 03:50:31', NULL, '192.168.2.116', 'D', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (31, 100, 'wfc-monitor-cyc.yml', 'DEFAULT_GROUP', '', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n', '7546d5a605e371c8b20e6fe3b4dd96f2', '2024-12-13 11:50:30', '2024-12-13 03:50:31', NULL, '192.168.2.116', 'D', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (32, 101, 'wfc-system-cyc.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n configuration:\n # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用\n log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'系统模块接口文档\'\n # 描述\n description: \'系统模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '89ba9d3def350f1f49fd58c58320ac75', '2024-12-13 11:50:30', '2024-12-13 03:50:31', NULL, '192.168.2.116', 'D', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (33, 102, 'wfc-gen-cyc.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', 'e6ce18a6f2fe26a9effff52da5d8339e', '2024-12-13 11:50:30', '2024-12-13 03:50:31', NULL, '192.168.2.116', 'D', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (34, 103, 'wfc-job-cyc.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', 'bf038264ec4d06ee47326ba322078461', '2024-12-13 11:50:30', '2024-12-13 03:50:31', NULL, '192.168.2.116', 'D', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (35, 104, 'wfc-file-cyc.yml', 'DEFAULT_GROUP', '', '# 本地文件上传 \r\nfile:\r\n domain: http://127.0.0.1:9300\r\n path: D:/wfc/uploadPath\r\n prefix: /statics\r\n\r\n# FastDFS配置\r\nfdfs:\r\n domain: http://8.129.231.12\r\n soTimeout: 3000\r\n connectTimeout: 2000\r\n trackerList: 8.129.231.12:22122\r\n\r\n# Minio配置\r\nminio:\r\n url: http://8.129.231.12:9000\r\n accessKey: minioadmin\r\n secretKey: minioadmin\r\n bucketName: test', 'e72892f585f96cb79422fb20b88f2646', '2024-12-13 11:50:30', '2024-12-13 03:50:31', NULL, '192.168.2.116', 'D', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (36, 105, 'sentinel-wfc-gateway', 'DEFAULT_GROUP', '', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', 'a8b3ec396dd09d5f2ba494cc80a7afa0', '2024-12-13 11:50:30', '2024-12-13 03:50:31', NULL, '192.168.2.116', 'D', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (40, 106, 'wfc-modules-user-cyc.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'用户模块接口文档\'\n # 描述\n description: \'用户模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '12c462e6fc0bc2b41a2cafb726a66ad6', '2024-12-13 11:50:30', '2024-12-13 03:50:31', NULL, '192.168.2.116', 'D', 'wfc-cyc', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 107, 'application-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '58dde4e3760499d3bac2d77a3a1e9018', '2024-12-13 11:52:33', '2024-12-13 03:52:34', NULL, '192.168.2.116', 'I', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 108, 'wfc-gateway-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', '2b6319d68351ca82dd097493d97ccf65', '2024-12-13 11:52:33', '2024-12-13 03:52:34', NULL, '192.168.2.116', 'I', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 109, 'wfc-auth-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n', '8bd9dada9a94822feeab40de55efced6', '2024-12-13 11:52:33', '2024-12-13 03:52:34', NULL, '192.168.2.116', 'I', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 110, 'wfc-monitor-prod.yml', 'DEFAULT_GROUP', '', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n', '7546d5a605e371c8b20e6fe3b4dd96f2', '2024-12-13 11:52:33', '2024-12-13 03:52:34', NULL, '192.168.2.116', 'I', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 111, 'wfc-system-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', '84280e0cbc21676ebd4116cd7ae8b5a0', '2024-12-13 11:52:33', '2024-12-13 03:52:34', NULL, '192.168.2.116', 'I', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 112, 'wfc-gen-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', 'e6ce18a6f2fe26a9effff52da5d8339e', '2024-12-13 11:52:33', '2024-12-13 03:52:34', NULL, '192.168.2.116', 'I', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 113, 'wfc-job-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', 'bf038264ec4d06ee47326ba322078461', '2024-12-13 11:52:33', '2024-12-13 03:52:34', NULL, '192.168.2.116', 'I', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 114, 'wfc-file-prod.yml', 'DEFAULT_GROUP', '', '# 本地文件上传 \r\nfile:\r\n domain: http://127.0.0.1:9300\r\n path: D:/wfc/uploadPath\r\n prefix: /statics\r\n\r\n# FastDFS配置\r\nfdfs:\r\n domain: http://8.129.231.12\r\n soTimeout: 3000\r\n connectTimeout: 2000\r\n trackerList: 8.129.231.12:22122\r\n\r\n# Minio配置\r\nminio:\r\n url: http://8.129.231.12:9000\r\n accessKey: minioadmin\r\n secretKey: minioadmin\r\n bucketName: test', 'e72892f585f96cb79422fb20b88f2646', '2024-12-13 11:52:33', '2024-12-13 03:52:34', NULL, '192.168.2.116', 'I', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 115, 'sentinel-wfc-gateway', 'DEFAULT_GROUP', '', '[\r\n {\r\n \"resource\": \"wfc-auth\",\r\n \"count\": 500,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-system\",\r\n \"count\": 1000,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-gen\",\r\n \"count\": 200,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n },\r\n {\r\n \"resource\": \"wfc-job\",\r\n \"count\": 300,\r\n \"grade\": 1,\r\n \"limitApp\": \"default\",\r\n \"strategy\": 0,\r\n \"controlBehavior\": 0\r\n }\r\n]', 'a8b3ec396dd09d5f2ba494cc80a7afa0', '2024-12-13 11:52:33', '2024-12-13 03:52:34', NULL, '192.168.2.116', 'I', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 116, 'wfc-modules-user-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\r\nspring:\r\n redis:\r\n host: 192.168.2.248\r\n port: 6379\r\n password:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: 123456\r\n dynamic:\r\n druid:\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n maxWait: 60000\r\n connectTimeout: 30000\r\n socketTimeout: 60000\r\n timeBetweenEvictionRunsMillis: 60000\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n filters: stat,slf4j\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n datasource:\r\n # 主库数据源\r\n master:\r\n driver-class-name: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\r\n username: root\r\n password: 123456\r\n # 从库数据源\r\n # slave:\r\n # username:\r\n # password:\r\n # url:\r\n # driver-class-name:\r\n\r\n# mybatis配置\r\nmybatis:\r\n # 搜索指定包别名\r\n typeAliasesPackage: org.wfc.user\r\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\r\n mapperLocations: classpath:mapper/**/*.xml\r\n\r\n# swagger配置\r\nswagger:\r\n title: 系统模块接口文档\r\n license: Powered By wfc\r\n licenseUrl: https://wfc.vip', 'a1b592c73d2e649bf25d29b941e2eac8', '2024-12-13 11:52:33', '2024-12-13 03:52:34', NULL, '192.168.2.116', 'I', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (42, 117, 'wfc-gateway-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', '2b6319d68351ca82dd097493d97ccf65', '2024-12-13 11:53:21', '2024-12-13 03:53:22', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (43, 118, 'wfc-auth-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n', '8bd9dada9a94822feeab40de55efced6', '2024-12-13 11:53:34', '2024-12-13 03:53:35', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (44, 119, 'wfc-monitor-prod.yml', 'DEFAULT_GROUP', '', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n', '7546d5a605e371c8b20e6fe3b4dd96f2', '2024-12-13 11:54:03', '2024-12-13 03:54:04', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (45, 120, 'wfc-system-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', '84280e0cbc21676ebd4116cd7ae8b5a0', '2024-12-13 11:54:48', '2024-12-13 03:54:49', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (46, 121, 'wfc-gen-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', 'e6ce18a6f2fe26a9effff52da5d8339e', '2024-12-13 11:55:28', '2024-12-13 03:55:28', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (47, 122, 'wfc-job-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', 'bf038264ec4d06ee47326ba322078461', '2024-12-13 11:56:07', '2024-12-13 03:56:07', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (48, 123, 'wfc-file-prod.yml', 'DEFAULT_GROUP', '', '# 本地文件上传 \r\nfile:\r\n domain: http://127.0.0.1:9300\r\n path: D:/wfc/uploadPath\r\n prefix: /statics\r\n\r\n# FastDFS配置\r\nfdfs:\r\n domain: http://8.129.231.12\r\n soTimeout: 3000\r\n connectTimeout: 2000\r\n trackerList: 8.129.231.12:22122\r\n\r\n# Minio配置\r\nminio:\r\n url: http://8.129.231.12:9000\r\n accessKey: minioadmin\r\n secretKey: minioadmin\r\n bucketName: test', 'e72892f585f96cb79422fb20b88f2646', '2024-12-13 11:57:17', '2024-12-13 03:57:18', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (50, 124, 'wfc-modules-user-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\r\nspring:\r\n redis:\r\n host: 192.168.2.248\r\n port: 6379\r\n password:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: 123456\r\n dynamic:\r\n druid:\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n maxWait: 60000\r\n connectTimeout: 30000\r\n socketTimeout: 60000\r\n timeBetweenEvictionRunsMillis: 60000\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n filters: stat,slf4j\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n datasource:\r\n # 主库数据源\r\n master:\r\n driver-class-name: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\r\n username: root\r\n password: 123456\r\n # 从库数据源\r\n # slave:\r\n # username:\r\n # password:\r\n # url:\r\n # driver-class-name:\r\n\r\n# mybatis配置\r\nmybatis:\r\n # 搜索指定包别名\r\n typeAliasesPackage: org.wfc.user\r\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\r\n mapperLocations: classpath:mapper/**/*.xml\r\n\r\n# swagger配置\r\nswagger:\r\n title: 系统模块接口文档\r\n license: Powered By wfc\r\n licenseUrl: https://wfc.vip', 'a1b592c73d2e649bf25d29b941e2eac8', '2024-12-13 11:58:01', '2024-12-13 03:58:02', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (50, 125, 'wfc-modules-user-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://192.168.2.248:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'f0a5509ffc197db30325a97fa675d3b2', '2024-12-13 11:58:27', '2024-12-13 03:58:27', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (50, 126, 'wfc-modules-user-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://192.168.2.248:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', 'f0a5509ffc197db30325a97fa675d3b2', '2024-12-13 13:58:24', '2024-12-13 05:58:25', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (41, 127, 'application-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '58dde4e3760499d3bac2d77a3a1e9018', '2024-12-13 14:17:48', '2024-12-13 06:17:48', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (41, 128, 'application-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n \nnacos:\n server:\n address: 192.168.13.128\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', 'dc985052b9c3ab5550f6bed6a88350d1', '2024-12-13 14:25:35', '2024-12-13 06:25:35', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (11, 129, 'wfc-gateway-dev.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', '2b6319d68351ca82dd097493d97ccf65', '2024-12-13 21:42:00', '2024-12-13 13:42:01', NULL, '192.168.2.116', 'U', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (12, 130, 'wfc-auth-dev.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n', '8bd9dada9a94822feeab40de55efced6', '2024-12-13 21:42:21', '2024-12-13 13:42:21', NULL, '192.168.2.116', 'U', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (13, 131, 'wfc-monitor-dev.yml', 'DEFAULT_GROUP', '', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n', '7546d5a605e371c8b20e6fe3b4dd96f2', '2024-12-13 21:42:38', '2024-12-13 13:42:39', NULL, '192.168.2.116', 'U', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (14, 132, 'wfc-system-dev.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', '84280e0cbc21676ebd4116cd7ae8b5a0', '2024-12-13 21:43:19', '2024-12-13 13:43:19', NULL, '192.168.2.116', 'U', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (15, 133, 'wfc-gen-dev.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', 'e6ce18a6f2fe26a9effff52da5d8339e', '2024-12-13 21:43:46', '2024-12-13 13:43:47', NULL, '192.168.2.116', 'U', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (16, 134, 'wfc-job-dev.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', 'bf038264ec4d06ee47326ba322078461', '2024-12-13 21:44:12', '2024-12-13 13:44:13', NULL, '192.168.2.116', 'U', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (17, 135, 'wfc-file-dev.yml', 'DEFAULT_GROUP', '', '# 本地文件上传 \r\nfile:\r\n domain: http://127.0.0.1:9300\r\n path: D:/wfc/uploadPath\r\n prefix: /statics\r\n\r\n# FastDFS配置\r\nfdfs:\r\n domain: http://8.129.231.12\r\n soTimeout: 3000\r\n connectTimeout: 2000\r\n trackerList: 8.129.231.12:22122\r\n\r\n# Minio配置\r\nminio:\r\n url: http://8.129.231.12:9000\r\n accessKey: minioadmin\r\n secretKey: minioadmin\r\n bucketName: test', 'e72892f585f96cb79422fb20b88f2646', '2024-12-13 21:44:58', '2024-12-13 13:44:58', NULL, '192.168.2.116', 'U', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (37, 136, 'wfc-modules-user-dev.yml', 'DEFAULT_GROUP', '', '# spring配置\r\nspring:\r\n redis:\r\n host: 192.168.2.248\r\n port: 6379\r\n password:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: 123456\r\n dynamic:\r\n druid:\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n maxWait: 60000\r\n connectTimeout: 30000\r\n socketTimeout: 60000\r\n timeBetweenEvictionRunsMillis: 60000\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n filters: stat,slf4j\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n datasource:\r\n # 主库数据源\r\n master:\r\n driver-class-name: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\r\n username: root\r\n password: 123456\r\n # 从库数据源\r\n # slave:\r\n # username:\r\n # password:\r\n # url:\r\n # driver-class-name:\r\n\r\n# mybatis配置\r\nmybatis:\r\n # 搜索指定包别名\r\n typeAliasesPackage: org.wfc.user\r\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\r\n mapperLocations: classpath:mapper/**/*.xml\r\n\r\n# swagger配置\r\nswagger:\r\n title: 系统模块接口文档\r\n license: Powered By wfc\r\n licenseUrl: https://wfc.vip', 'a1b592c73d2e649bf25d29b941e2eac8', '2024-12-13 21:45:51', '2024-12-13 13:45:52', NULL, '192.168.2.116', 'U', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (15, 137, 'wfc-gen-dev.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', 'ef097b2d2f4ae625cf871628b1bb8028', '2024-12-13 21:47:15', '2024-12-13 13:47:16', NULL, '192.168.2.116', 'U', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (16, 138, 'wfc-job-dev.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_system_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', '60642f5c20dfd74104e3f6b495f25852', '2024-12-13 21:47:33', '2024-12-13 13:47:34', NULL, '192.168.2.116', 'U', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (21, 139, 'wfc-auth-test.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'授权模块接口文档\'\n # 描述\n description: \'授权模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip\n', '16401b8a82e26732f3ef05b54c54043e', '2024-12-13 21:49:53', '2024-12-13 13:49:53', NULL, '192.168.2.116', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (22, 140, 'wfc-monitor-test.yml', 'DEFAULT_GROUP', '', '# spring\nspring:\n security:\n user:\n name: wfc\n password: 123456\n boot:\n admin:\n ui:\n title: 若依服务状态监控\n', '7546d5a605e371c8b20e6fe3b4dd96f2', '2024-12-13 21:50:07', '2024-12-13 13:50:08', NULL, '192.168.2.116', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (23, 141, 'wfc-system-test.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username: \n # password: \n # url: \n # driver-class-name: \n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'系统模块接口文档\'\n # 描述\n description: \'系统模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', 'a4fbb08ff1100dbb38ce7918bec13bf5', '2024-12-13 21:51:18', '2024-12-13 13:51:19', NULL, '192.168.2.116', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (24, 142, 'wfc-gen-test.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password:\n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.gen.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 代码生成接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\n# 代码生成\ngen:\n # 作者\n author: wfc\n # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool\n packageName: org.wfc.system\n # 自动去除表前缀,默认是false\n autoRemovePre: false\n # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)\n tablePrefix: sys_\n', 'e6ce18a6f2fe26a9effff52da5d8339e', '2024-12-13 21:51:57', '2024-12-13 13:51:58', NULL, '192.168.2.116', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (25, 143, 'wfc-job-test.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost\n port: 6379\n password: \n datasource:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://localhost:3306/wfc-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: password\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.job.domain\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n# swagger配置\nswagger:\n title: 定时任务接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n', 'bf038264ec4d06ee47326ba322078461', '2024-12-13 21:53:02', '2024-12-13 13:53:03', NULL, '192.168.2.116', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (26, 144, 'wfc-file-test.yml', 'DEFAULT_GROUP', '', '# 本地文件上传 \r\nfile:\r\n domain: http://127.0.0.1:9300\r\n path: D:/wfc/uploadPath\r\n prefix: /statics\r\n\r\n# FastDFS配置\r\nfdfs:\r\n domain: http://8.129.231.12\r\n soTimeout: 3000\r\n connectTimeout: 2000\r\n trackerList: 8.129.231.12:22122\r\n\r\n# Minio配置\r\nminio:\r\n url: http://8.129.231.12:9000\r\n accessKey: minioadmin\r\n secretKey: minioadmin\r\n bucketName: test', 'e72892f585f96cb79422fb20b88f2646', '2024-12-13 21:53:22', '2024-12-13 13:53:22', NULL, '192.168.2.116', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (39, 145, 'wfc-modules-user-test.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: 192.168.2.248\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://192.168.2.248:3306/wfc-user-platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis配置\nmybatis:\n # 搜索指定包别名\n typeAliasesPackage: org.wfc.user\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapperLocations: classpath:mapper/**/*.xml\n\n\n# 邮箱配置\nmail:\n enabled: true\n host: smtp.qq.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: 707821112@qq.com\n # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)\n pass: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n# springdoc配置\nspringdoc:\n gatewayUrl: http://localhost:8080/${spring.application.name}\n api-docs:\n # 是否开启接口文档\n enabled: true\n info:\n # 标题\n title: \'用户模块接口文档\'\n # 描述\n description: \'用户模块接口描述\'\n # 作者信息\n contact:\n name: wfc\n url: https://wfc.vip', '9c76e1d17c880cd048bd573c1c50a8ea', '2024-12-13 21:54:30', '2024-12-13 13:54:31', NULL, '192.168.2.116', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (41, 146, 'application-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n \nnacos:\n server:\n addr: 192.168.13.128:8848\n name:\n space: wfc-prod\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', 'e5f67a0a3551cd3e2d884622804d64f0', '2024-12-24 07:30:12', '2024-12-24 07:30:12', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (41, 147, 'application-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n \nnacos:\n server:\n addr: 192.168.2.116:8848\n name:\n space: wfc-prod\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', 'f1a7cd6f9e2a5593e4eaaa06e51dc054', '2024-12-24 07:30:16', '2024-12-24 07:30:17', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 148, 'wfc-modules-payment-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\r\nspring:\r\n main:\r\n allow-bean-definition-overriding: true\r\n \r\n redis:\r\n host: wfc-redis\r\n port: 6379\r\n password:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: 123456\r\n dynamic:\r\n druid:\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n maxWait: 60000\r\n connectTimeout: 30000\r\n socketTimeout: 60000\r\n timeBetweenEvictionRunsMillis: 60000\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n filters: stat,slf4j\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n datasource:\r\n # 主库数据源\r\n master:\r\n driver-class-name: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\r\n username: root\r\n password: 123456\r\n # 从库数据源\r\n # slave:\r\n # username:\r\n # password:\r\n # url:\r\n # driver-class-name:\r\n\r\nwxpay:\r\n appId: 121412414112\r\n mchId: 1131412414\r\n mchKey: 1525342aa\r\n keyPath: apiclient_key.pem\r\n\r\n# mybatis-plus配置\r\nmybatis-plus:\r\n # 搜索指定包别名\r\n type-aliases-package: org.wfc.system\r\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\r\n mapper-locations: classpath:mapper/**/*.xml\r\n global-config:\r\n db-config:\r\n logic-delete-field: del_flag\r\n logic-delete-value: 1\r\n logic-not-delete-value: 0\r\n\r\n# swagger配置\r\nswagger:\r\n title: 系统模块接口文档\r\n license: Powered By wfc\r\n licenseUrl: https://wfc.vip\r\n\r\nlogging:\r\n level:\r\n root: debug\r\n org:\r\n springframework:\r\n web: debug\r\n mybatis:\r\n mapper: debug\r\n wfc:\r\n system: debug\r\n com:\r\n github:\r\n binarywang: debug\r\n file:\r\n name: /var/log/wfc/wfc-modules-payment.log', 'a6a59943c1386de8c066fae0ce11c8ab', '2024-12-24 08:53:39', '2024-12-24 08:53:40', NULL, '172.100.88.1', 'I', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (51, 149, 'wfc-modules-payment-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\r\nspring:\r\n main:\r\n allow-bean-definition-overriding: true\r\n \r\n redis:\r\n host: wfc-redis\r\n port: 6379\r\n password:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: 123456\r\n dynamic:\r\n druid:\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n maxWait: 60000\r\n connectTimeout: 30000\r\n socketTimeout: 60000\r\n timeBetweenEvictionRunsMillis: 60000\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n filters: stat,slf4j\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n datasource:\r\n # 主库数据源\r\n master:\r\n driver-class-name: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\r\n username: root\r\n password: 123456\r\n # 从库数据源\r\n # slave:\r\n # username:\r\n # password:\r\n # url:\r\n # driver-class-name:\r\n\r\nwxpay:\r\n appId: 121412414112\r\n mchId: 1131412414\r\n mchKey: 1525342aa\r\n keyPath: apiclient_key.pem\r\n\r\n# mybatis-plus配置\r\nmybatis-plus:\r\n # 搜索指定包别名\r\n type-aliases-package: org.wfc.system\r\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\r\n mapper-locations: classpath:mapper/**/*.xml\r\n global-config:\r\n db-config:\r\n logic-delete-field: del_flag\r\n logic-delete-value: 1\r\n logic-not-delete-value: 0\r\n\r\n# swagger配置\r\nswagger:\r\n title: 系统模块接口文档\r\n license: Powered By wfc\r\n licenseUrl: https://wfc.vip\r\n\r\nlogging:\r\n level:\r\n root: debug\r\n org:\r\n springframework:\r\n web: debug\r\n mybatis:\r\n mapper: debug\r\n wfc:\r\n system: debug\r\n com:\r\n github:\r\n binarywang: debug\r\n file:\r\n name: /var/log/wfc/wfc-modules-payment.log', 'a6a59943c1386de8c066fae0ce11c8ab', '2024-12-25 01:32:31', '2024-12-25 01:32:31', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (42, 150, 'wfc-gateway-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', 'c3af686cbf658460ad64a78c07261949', '2024-12-25 03:02:10', '2024-12-25 03:02:10', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (42, 151, 'wfc-gateway-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-modules-user\n uri: lb://wfc-modules-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1 \n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', '790ff94decd0d928f40edb01947ec6a2', '2024-12-25 03:05:09', '2024-12-25 03:05:09', NULL, '192.168.2.116', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (51, 152, 'wfc-modules-payment-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n ', 'f63f093acaa9f15fce5e0285295d21c2', '2024-12-26 06:26:21', '2024-12-26 06:26:22', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (51, 153, 'wfc-modules-payment-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '183a706876ca9cb6038a0ff879aaf450', '2024-12-26 07:30:00', '2024-12-26 07:30:01', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (51, 154, 'wfc-modules-payment-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '9274af43d41dc7230a95f574fa5ddced', '2024-12-26 07:32:14', '2024-12-26 07:32:14', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (51, 155, 'wfc-modules-payment-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '183a706876ca9cb6038a0ff879aaf450', '2024-12-26 07:33:28', '2024-12-26 07:33:29', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (51, 156, 'wfc-modules-payment-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '183a706876ca9cb6038a0ff879aaf450', '2024-12-26 07:37:45', '2024-12-26 07:37:45', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (41, 157, 'application-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n \nnacos:\n server:\n addr: 192.168.2.116:8848\n name:\n space: wfc-prod\n\n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', 'f1a7cd6f9e2a5593e4eaaa06e51dc054', '2024-12-26 09:37:17', '2024-12-26 09:37:18', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (41, 158, 'application-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n \n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 10000\n readTimeout: 10000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', '9ffe5718d04055a5b038de9290a38319', '2024-12-26 09:38:02', '2024-12-26 09:38:02', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (41, 159, 'application-prod.yml', 'DEFAULT_GROUP', '', 'spring:\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n \n# feign 配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 60000\n readTimeout: 60000\n compression:\n request:\n enabled: true\n min-request-size: 8192\n response:\n enabled: true\n\n# 暴露监控端点\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\'\n', 'b9d52219601e90324dea8f9a07744a67', '2024-12-26 09:40:06', '2024-12-26 09:40:07', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (51, 160, 'wfc-modules-payment-prod.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n mvc:\n pathmatch:\n matching-strategy: ant_path_matcher\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', 'a2a1fb8f48930a0a1040a0f3f3eeb86d', '2024-12-26 09:40:37', '2024-12-26 09:40:38', NULL, '172.100.88.1', 'U', 'wfc-prod', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 161, 'wfc-modules-payment-dev.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '782c7fb3b169abae667b19cd08b96df8', '2024-12-26 09:41:14', '2024-12-26 09:41:15', NULL, '172.100.88.1', 'I', 'wfc-dev', '');
|
||||
INSERT INTO `his_config_info` VALUES (0, 162, 'wfc-modules-payment-test.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n main:\n allow-bean-definition-overriding: true\n \n redis:\n host: wfc-redis\n port: 6379\n password:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: 123456\n dynamic:\n druid:\n initial-size: 5\n min-idle: 5\n maxActive: 20\n maxWait: 60000\n connectTimeout: 30000\n socketTimeout: 60000\n timeBetweenEvictionRunsMillis: 60000\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n filters: stat,slf4j\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n datasource:\n # 主库数据源\n master:\n driver-class-name: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://wfc-mysql:3306/wfc_user_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8\n username: root\n password: 123456\n # 从库数据源\n # slave:\n # username:\n # password:\n # url:\n # driver-class-name:\n\n# mybatis-plus配置\nmybatis-plus:\n # 搜索指定包别名\n type-aliases-package: org.wfc.system\n # 配置mapper的扫描,找到所有的mapper.xml映射文件\n mapper-locations: classpath:mapper/**/*.xml\n global-config:\n db-config:\n logic-delete-field: del_flag\n logic-delete-value: 1\n logic-not-delete-value: 0\n\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip\n\nlogging:\n level:\n root: debug\n org:\n springframework:\n web: debug\n mybatis:\n mapper: debug\n wfc:\n system: debug\n com:\n github:\n binarywang: debug\n file:\n name: /var/log/wfc/wfc-modules-payment.log\n\nwxpay:\n appId: 121412414112\n mchId: 1131412414\n mchKey: 1525342aa\n subAppId: #服务商模式下的子商户公众账号ID\n subMchId: #服务商模式下的子商户号 \n keyPath: /home/wfc/config/payment/wxpay_key.pem\n useSandboxEnv: false\n ', '782c7fb3b169abae667b19cd08b96df8', '2024-12-26 09:41:40', '2024-12-26 09:41:40', NULL, '172.100.88.1', 'I', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (20, 163, 'wfc-gateway-test.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 用户模块\n - id: wfc-modules-user\n uri: lb://wfc-modules-user\n predicates:\n - Path=/u/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n mailEnabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /*/v3/api-docs\n - /csrf\n - /system/email/code\n - /system/user/checkRepeat\n - /u/user/checkRepeat\n\n# springdoc配置\nspringdoc:\n webjars:\n # 访问前缀\n prefix:', 'fb0778bd9981a8518c66cb5e368dfdbb', '2024-12-26 09:45:05', '2024-12-26 09:45:05', NULL, '172.100.88.1', 'U', 'wfc-test', '');
|
||||
INSERT INTO `his_config_info` VALUES (11, 164, 'wfc-gateway-dev.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n cloud:\n gateway:\n discovery:\n locator:\n lowerCaseServiceId: true\n enabled: true\n routes:\n # 认证中心\n - id: wfc-auth\n uri: lb://wfc-auth\n predicates:\n - Path=/auth/**\n filters:\n # 验证码处理\n - CacheRequestFilter\n - ValidateCodeFilter\n - StripPrefix=1\n # 代码生成\n - id: wfc-gen\n uri: lb://wfc-gen\n predicates:\n - Path=/code/**\n filters:\n - StripPrefix=1\n # 定时任务\n - id: wfc-job\n uri: lb://wfc-job\n predicates:\n - Path=/schedule/**\n filters:\n - StripPrefix=1\n # 系统模块\n - id: wfc-system\n uri: lb://wfc-system\n predicates:\n - Path=/system/**\n filters:\n - StripPrefix=1\n # 文件服务\n - id: wfc-file\n uri: lb://wfc-file\n predicates:\n - Path=/file/**\n filters:\n - StripPrefix=1\n\n# 安全配置\nsecurity:\n # 验证码\n captcha:\n enabled: true\n type: math\n # 防止XSS攻击\n xss:\n enabled: true\n excludeUrls:\n - /system/notice\n # 不校验白名单\n ignore:\n whites:\n - /auth/logout\n - /auth/login\n - /auth/register\n - /*/v2/api-docs\n - /csrf\n', 'c3af686cbf658460ad64a78c07261949', '2024-12-26 09:45:28', '2024-12-26 09:45:29', NULL, '172.100.88.1', 'U', 'wfc-dev', '');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for permissions
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `permissions`;
|
||||
CREATE TABLE `permissions` (
|
||||
`role` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`resource` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`action` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`role` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'role',
|
||||
`resource` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'resource',
|
||||
`action` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'action',
|
||||
UNIQUE INDEX `uk_role_permission`(`role`, `resource`, `action`) USING BTREE
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of permissions
|
||||
@@ -368,10 +297,10 @@ CREATE TABLE `permissions` (
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `roles`;
|
||||
CREATE TABLE `roles` (
|
||||
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`role` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'username',
|
||||
`role` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'role',
|
||||
UNIQUE INDEX `idx_user_role`(`username`, `role`) USING BTREE
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of roles
|
||||
@@ -395,7 +324,7 @@ CREATE TABLE `tenant_capacity` (
|
||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `uk_tenant_id`(`tenant_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '租户容量信息表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '租户容量信息表' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of tenant_capacity
|
||||
@@ -417,25 +346,25 @@ CREATE TABLE `tenant_info` (
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `uk_tenant_info_kptenantid`(`kp`, `tenant_id`) USING BTREE,
|
||||
INDEX `idx_tenant_id`(`tenant_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'tenant_info' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'tenant_info' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of tenant_info
|
||||
-- ----------------------------
|
||||
INSERT INTO `tenant_info` VALUES (1, '1', 'wfc-dev', 'wfc-dev', '开发环境命名空间', 'nacos', 1731924580008, 1731924580008);
|
||||
INSERT INTO `tenant_info` VALUES (2, '1', 'wfc-test', 'wfc-test', '测试环境命名空间', 'nacos', 1731924616218, 1731924616218);
|
||||
INSERT INTO `tenant_info` VALUES (4, '1', 'wfc-prod', 'wfc-prod', 'production environment', 'nacos', 1734061909181, 1734061909181);
|
||||
INSERT INTO `tenant_info` VALUES (1, '1', 'wfc-dev', 'wfc-dev', 'Develepment environment namespace', 'nacos', 1731924580008, 1735414386506);
|
||||
INSERT INTO `tenant_info` VALUES (2, '1', 'wfc-test', 'wfc-test', 'Test environment namespace', 'nacos', 1731924616218, 1735414361709);
|
||||
INSERT INTO `tenant_info` VALUES (4, '1', 'wfc-prod', 'wfc-prod', 'Production environment namespace', 'nacos', 1734061909181, 1735414409806);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for users
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `users`;
|
||||
CREATE TABLE `users` (
|
||||
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`password` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
||||
`enabled` tinyint(1) NOT NULL,
|
||||
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'username',
|
||||
`password` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'password',
|
||||
`enabled` tinyint(1) NOT NULL COMMENT 'enabled',
|
||||
PRIMARY KEY (`username`) USING BTREE
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of users
|
||||
|
||||
@@ -42,9 +42,9 @@ CREATE TABLE `sys_config` (
|
||||
-- ----------------------------
|
||||
-- Records of sys_config
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_config` VALUES (1, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 'admin', '2024-05-08 21:50:55', '', NULL, '初始化密码 123456');
|
||||
INSERT INTO `sys_config` VALUES (2, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 'admin', '2024-05-08 21:50:55', '', NULL, '是否开启注册用户功能(true开启,false关闭)');
|
||||
INSERT INTO `sys_config` VALUES (3, '用户登录-黑名单列表', 'sys.login.blackIPList', '', 'Y', 'admin', '2024-05-08 21:50:55', '', NULL, '设置登录IP黑名单限制,多个匹配项以;分隔,支持匹配(*通配、网段)');
|
||||
INSERT INTO `sys_config` VALUES (1, 'Account Management - Initial Account Password', 'sys.user.initPassword', '123456', 'Y', 'admin', '2024-05-08 21:50:55', '', NULL, 'Initialize password 123456');
|
||||
INSERT INTO `sys_config` VALUES (2, 'Account Self-Service - Enable User Registration Function', 'sys.account.registerUser', 'false', 'Y', 'admin', '2024-05-08 21:50:55', '', NULL, 'Enable user registration feature (true/false)');
|
||||
INSERT INTO `sys_config` VALUES (3, 'User Login - Blacklist', 'sys.login.blackIPList', '', 'Y', 'admin', '2024-05-08 21:50:55', '', NULL, 'Set login IP blacklist restrictions, with multiple matching items separated by semicolons (;), supporting matching (wildcards *, subnet).');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_dept
|
||||
@@ -75,6 +75,45 @@ CREATE TABLE `sys_dept` (
|
||||
INSERT INTO `sys_dept` VALUES (100, 0, '0', 'ROOT', 0, 'system', '123456', '123456@wfc.com', '0', '0', 'system', '2024-11-27 21:50:54', '', NULL, NULL);
|
||||
INSERT INTO `sys_dept` VALUES (101, 100, '0,100', 'No.1', 1, 'system', '123456', '123456@wfc.com', '0', '0', 'system', '2024-11-27 21:50:54', '', NULL, NULL);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_device
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `sys_device`;
|
||||
CREATE TABLE `sys_device` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||
`site_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'siteId',
|
||||
`mac` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'mac',
|
||||
`name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'name',
|
||||
`type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'type',
|
||||
`subtype` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'subtype',
|
||||
`device_series_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'deviceSeriesType',
|
||||
`model` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'model',
|
||||
`ip` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'ip',
|
||||
`ipv6s` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'ipv6s',
|
||||
`uptime` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'uptime',
|
||||
`status` int(11) NULL DEFAULT NULL COMMENT 'status',
|
||||
`last_seen` bigint(20) NULL DEFAULT NULL COMMENT 'lastSeen',
|
||||
`cpu_util` int(11) NULL DEFAULT NULL COMMENT 'cpuUtil',
|
||||
`mem_util` int(11) NULL DEFAULT NULL COMMENT 'memUtil',
|
||||
`sn` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'sn',
|
||||
`license_status` int(11) NULL DEFAULT NULL COMMENT 'licenseStatus',
|
||||
`tag_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'tagName',
|
||||
`uplink_device_mac` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'uplinkDeviceMac',
|
||||
`uplink_device_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'uplink_device_name',
|
||||
`uplink_device_port` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'uplinkDevicePort',
|
||||
`link_speed` int(11) NULL DEFAULT NULL COMMENT 'linkSpeed',
|
||||
`duplex` int(11) NULL DEFAULT NULL COMMENT 'duplex',
|
||||
`switch_consistent` tinyint(1) NULL DEFAULT NULL COMMENT 'switchConsistent',
|
||||
`public_ip` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'publicIp',
|
||||
`firmware_version` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'firmwareVersion',
|
||||
`del_flag` tinyint(1) NULL DEFAULT 0 COMMENT '删除标志(0存在 1删除)',
|
||||
`create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户平台-设备表' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_dict_data
|
||||
-- ----------------------------
|
||||
@@ -100,31 +139,31 @@ CREATE TABLE `sys_dict_data` (
|
||||
-- ----------------------------
|
||||
-- Records of sys_dict_data
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_dict_data` VALUES (1, 1, '男', '0', 'sys_user_sex', '', '', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '性别男');
|
||||
INSERT INTO `sys_dict_data` VALUES (2, 2, '女', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '性别女');
|
||||
INSERT INTO `sys_dict_data` VALUES (3, 3, '未知', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '性别未知');
|
||||
INSERT INTO `sys_dict_data` VALUES (4, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '显示菜单');
|
||||
INSERT INTO `sys_dict_data` VALUES (5, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '隐藏菜单');
|
||||
INSERT INTO `sys_dict_data` VALUES (6, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '正常状态');
|
||||
INSERT INTO `sys_dict_data` VALUES (7, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '停用状态');
|
||||
INSERT INTO `sys_dict_data` VALUES (8, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '正常状态');
|
||||
INSERT INTO `sys_dict_data` VALUES (9, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '停用状态');
|
||||
INSERT INTO `sys_dict_data` VALUES (10, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '默认分组');
|
||||
INSERT INTO `sys_dict_data` VALUES (11, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '系统分组');
|
||||
INSERT INTO `sys_dict_data` VALUES (12, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '系统默认是');
|
||||
INSERT INTO `sys_dict_data` VALUES (13, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '系统默认否');
|
||||
INSERT INTO `sys_dict_data` VALUES (14, 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '其他操作');
|
||||
INSERT INTO `sys_dict_data` VALUES (15, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '新增操作');
|
||||
INSERT INTO `sys_dict_data` VALUES (16, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '修改操作');
|
||||
INSERT INTO `sys_dict_data` VALUES (17, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '删除操作');
|
||||
INSERT INTO `sys_dict_data` VALUES (18, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '授权操作');
|
||||
INSERT INTO `sys_dict_data` VALUES (19, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '导出操作');
|
||||
INSERT INTO `sys_dict_data` VALUES (20, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '导入操作');
|
||||
INSERT INTO `sys_dict_data` VALUES (21, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '强退操作');
|
||||
INSERT INTO `sys_dict_data` VALUES (22, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '生成操作');
|
||||
INSERT INTO `sys_dict_data` VALUES (23, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '清空操作');
|
||||
INSERT INTO `sys_dict_data` VALUES (24, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '正常状态');
|
||||
INSERT INTO `sys_dict_data` VALUES (25, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '停用状态');
|
||||
INSERT INTO `sys_dict_data` VALUES (1, 1, 'Male', '0', 'sys_user_sex', '', '', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Gender Male');
|
||||
INSERT INTO `sys_dict_data` VALUES (2, 2, 'Female', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Gender Female');
|
||||
INSERT INTO `sys_dict_data` VALUES (3, 3, 'Unknown', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Gender Unknown');
|
||||
INSERT INTO `sys_dict_data` VALUES (4, 1, 'Show', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Show Menu');
|
||||
INSERT INTO `sys_dict_data` VALUES (5, 2, 'Hide', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Hide Menu');
|
||||
INSERT INTO `sys_dict_data` VALUES (6, 1, 'Normal', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Normal Status');
|
||||
INSERT INTO `sys_dict_data` VALUES (7, 2, 'Deactivated', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Disabled Status');
|
||||
INSERT INTO `sys_dict_data` VALUES (8, 1, 'Normal', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Normal Status');
|
||||
INSERT INTO `sys_dict_data` VALUES (9, 2, 'Paused', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Disabled Status');
|
||||
INSERT INTO `sys_dict_data` VALUES (10, 1, 'Default', 'DEFAULT', 'sys_job_group', '', '', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Default Group');
|
||||
INSERT INTO `sys_dict_data` VALUES (11, 2, 'System', 'SYSTEM', 'sys_job_group', '', '', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'System Group');
|
||||
INSERT INTO `sys_dict_data` VALUES (12, 1, 'Yes', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'System Default Yes');
|
||||
INSERT INTO `sys_dict_data` VALUES (13, 2, 'No', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'System Default No');
|
||||
INSERT INTO `sys_dict_data` VALUES (14, 99, 'Other', '0', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Other Operations');
|
||||
INSERT INTO `sys_dict_data` VALUES (15, 1, 'Add', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Add Operation');
|
||||
INSERT INTO `sys_dict_data` VALUES (16, 2, 'Modify', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Modify Operation');
|
||||
INSERT INTO `sys_dict_data` VALUES (17, 3, 'Delete', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Delete Operation');
|
||||
INSERT INTO `sys_dict_data` VALUES (18, 4, 'Authorize', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Authorize Operation');
|
||||
INSERT INTO `sys_dict_data` VALUES (19, 5, 'Export', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Export Operation');
|
||||
INSERT INTO `sys_dict_data` VALUES (20, 6, 'Import', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Import Operation');
|
||||
INSERT INTO `sys_dict_data` VALUES (21, 7, 'Force Logout', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Force Logout Operation');
|
||||
INSERT INTO `sys_dict_data` VALUES (22, 8, 'Generate Code', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Generate Operation');
|
||||
INSERT INTO `sys_dict_data` VALUES (23, 9, 'Clear Data', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Clear Operation');
|
||||
INSERT INTO `sys_dict_data` VALUES (24, 1, 'Success', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Normal Status');
|
||||
INSERT INTO `sys_dict_data` VALUES (25, 2, 'Failure', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Disabled Status');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_dict_type
|
||||
@@ -147,14 +186,14 @@ CREATE TABLE `sys_dict_type` (
|
||||
-- ----------------------------
|
||||
-- Records of sys_dict_type
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_dict_type` VALUES (1, '用户性别', 'sys_user_sex', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '用户性别列表');
|
||||
INSERT INTO `sys_dict_type` VALUES (2, '菜单状态', 'sys_show_hide', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '菜单状态列表');
|
||||
INSERT INTO `sys_dict_type` VALUES (3, '系统开关', 'sys_normal_disable', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '系统开关列表');
|
||||
INSERT INTO `sys_dict_type` VALUES (4, '任务状态', 'sys_job_status', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '任务状态列表');
|
||||
INSERT INTO `sys_dict_type` VALUES (5, '任务分组', 'sys_job_group', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '任务分组列表');
|
||||
INSERT INTO `sys_dict_type` VALUES (6, '系统是否', 'sys_yes_no', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '系统是否列表');
|
||||
INSERT INTO `sys_dict_type` VALUES (7, '操作类型', 'sys_oper_type', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '操作类型列表');
|
||||
INSERT INTO `sys_dict_type` VALUES (8, '系统状态', 'sys_common_status', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '登录状态列表');
|
||||
INSERT INTO `sys_dict_type` VALUES (1, 'User Gender', 'sys_user_sex', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'User Gender List');
|
||||
INSERT INTO `sys_dict_type` VALUES (2, 'Menu Status', 'sys_show_hide', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Menu Status List');
|
||||
INSERT INTO `sys_dict_type` VALUES (3, 'System Switch', 'sys_normal_disable', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'System Switch List');
|
||||
INSERT INTO `sys_dict_type` VALUES (4, 'Task Status', 'sys_job_status', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Task Status List');
|
||||
INSERT INTO `sys_dict_type` VALUES (5, 'Task Grouping', 'sys_job_group', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Task Group List');
|
||||
INSERT INTO `sys_dict_type` VALUES (6, 'System Yes/No', 'sys_yes_no', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'System Yes/No List');
|
||||
INSERT INTO `sys_dict_type` VALUES (7, 'Operation Type', 'sys_oper_type', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Operation Type List');
|
||||
INSERT INTO `sys_dict_type` VALUES (8, 'System Status', 'sys_common_status', '0', 'admin', '2024-05-08 21:50:55', '', NULL, 'Login Status List');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_job
|
||||
@@ -175,14 +214,13 @@ CREATE TABLE `sys_job` (
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '备注信息',
|
||||
PRIMARY KEY (`job_id`, `job_name`, `job_group`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '定时任务调度表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '定时任务调度表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of sys_job
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_job` VALUES (1, '系统默认(无参)', 'DEFAULT', 'ryTask.ryNoParams', '0/10 * * * * ?', '3', '1', '1', 'admin', '2024-05-08 21:50:55', '', NULL, '');
|
||||
INSERT INTO `sys_job` VALUES (2, '系统默认(有参)', 'DEFAULT', 'ryTask.ryParams(\'ry\')', '0/15 * * * * ?', '3', '1', '1', 'admin', '2024-05-08 21:50:55', '', NULL, '');
|
||||
INSERT INTO `sys_job` VALUES (3, '系统默认(多参)', 'DEFAULT', 'ryTask.ryMultipleParams(\'ry\', true, 2000L, 316.50D, 100)', '0/20 * * * * ?', '3', '1', '1', 'admin', '2024-05-08 21:50:55', '', NULL, '');
|
||||
INSERT INTO `sys_job` VALUES (1, 'Omada Sync Task', 'DEFAULT', 'omadaTask.syncJob', '0/30 * * * * ?', '3', '1', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '');
|
||||
INSERT INTO `sys_job` VALUES (2, 'Omada Initialization Task ', 'DEFAULT', 'omadaTask.initJob', '0 0 0/1 * * ? ', '3', '1', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_job_log
|
||||
@@ -255,73 +293,31 @@ CREATE TABLE `sys_menu` (
|
||||
-- ----------------------------
|
||||
-- Records of sys_menu
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_menu` VALUES (1, '系统管理', 0, 1001, '/manage', 'layout.base', '', 1, 0, 'M', '0', '0', '', 'carbon:cloud-service-management', 'admin', '2024-05-08 21:50:55', 'admin', '2024-05-12 23:46:57', '系统管理目录', 'manage');
|
||||
INSERT INTO `sys_menu` VALUES (3, '系统工具', 0, 1003, '/tool', NULL, '', 1, 0, 'M', '0', '1', '', 'carbon:user-role', 'admin', '2024-05-08 21:50:55', 'admin', '2024-05-12 23:46:57', '系统工具目录', 'tool');
|
||||
INSERT INTO `sys_menu` VALUES (100, '账号管理', 1, 1, '/manage/user', 'view.manage_user', '', 1, 0, 'C', '0', '0', 'system:user:list', 'ic:round-manage-accounts', 'admin', '2024-05-08 21:50:55', 'admin', '2024-12-04 10:21:07', '用户管理菜单', 'manage_user');
|
||||
INSERT INTO `sys_menu` VALUES (101, '角色管理', 1, 2, '/manage/role', 'view.manage_role', '', 1, 0, 'C', '0', '0', 'system:role:list', 'carbon:user-role', 'admin', '2024-05-08 21:50:55', '', NULL, '角色管理菜单', 'manage_role');
|
||||
INSERT INTO `sys_menu` VALUES (102, '菜单管理', 1, 3, '/manage/menu', 'view.manage_menu', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'material-symbols:route', 'admin', '2024-05-08 21:50:55', 'admin', '2024-05-12 23:46:12', '菜单管理菜单', 'manage_menu');
|
||||
INSERT INTO `sys_menu` VALUES (103, '部门管理', 1, 4, '/manage/dept', 'view.manage_dept', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'carbon:box', 'admin', '2024-05-08 21:50:55', 'ryadmin', '2024-12-04 10:20:07', '部门管理菜单', 'manage_dept');
|
||||
INSERT INTO `sys_menu` VALUES (104, '岗位管理', 1, 5, '/manage/post', 'view.manage_post', NULL, 1, 0, 'C', '0', '0', 'system:post:list', 'carbon:group', 'admin', '2024-06-02 22:18:48', '', '2024-12-04 10:20:12', '', 'manage_post');
|
||||
INSERT INTO `sys_menu` VALUES (105, '字典管理', 1, 6, '/manage/dict', 'view.manage_dict', NULL, 1, 0, 'C', '0', '0', 'system:dict:list', 'carbon:volume-block-storage', 'admin', '2024-06-02 23:13:40', '', NULL, '', 'manage_dict');
|
||||
INSERT INTO `sys_menu` VALUES (115, '代码生成', 3, 2, '/gen', 'tool.gen', '', 1, 0, 'C', '0', '0', 'tool:gen:list', 'carbon:box', 'admin', '2024-11-21 18:47:51', '', NULL, '代码生成菜单', 'tool_gen');
|
||||
INSERT INTO `sys_menu` VALUES (116, '系统接口', 3, 3, 'http://localhost:8080/swagger-ui/index.html', '', '', 0, 0, 'C', '0', '0', 'tool:swagger:list', 'carbon:box', 'admin', '2024-11-21 18:47:51', '', NULL, '系统接口菜单', 'tool_swagger');
|
||||
INSERT INTO `sys_menu` VALUES (1000, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 'admin', '2024-05-08 21:50:55', '', '2024-12-11 11:46:34', '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1001, '用户新增', 100, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:user:add', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1002, '用户修改', 100, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:user:edit', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1003, '用户删除', 100, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:user:remove', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1004, '用户导出', 100, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:user:export', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1005, '用户导入', 100, 6, '', '', '', 1, 0, 'F', '0', '0', 'system:user:import', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1006, '重置密码', 100, 7, '', '', '', 1, 0, 'F', '0', '0', 'system:user:resetPwd', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1007, '角色查询', 101, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:role:query', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1008, '角色新增', 101, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:role:add', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1009, '角色修改', 101, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:role:edit', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1010, '角色删除', 101, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:role:remove', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1011, '角色导出', 101, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:role:export', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1012, '菜单查询', 102, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:query', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1013, '菜单新增', 102, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:add', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1014, '菜单修改', 102, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1015, '菜单删除', 102, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1016, '部门查询', 103, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1017, '部门新增', 103, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1018, '部门修改', 103, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1019, '部门删除', 103, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:remove', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1020, '岗位查询', 104, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:post:query', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1021, '岗位新增', 104, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:post:add', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1022, '岗位修改', 104, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:post:edit', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1023, '岗位删除', 104, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:post:remove', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1024, '岗位导出', 104, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:post:export', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1025, '字典查询', 105, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:query', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1026, '字典新增', 105, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:add', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1027, '字典修改', 105, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:edit', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1028, '字典删除', 105, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:remove', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1029, '字典导出', 105, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:export', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1039, '操作查询', 500, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:operlog:query', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1040, '操作删除', 500, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:operlog:remove', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1041, '日志导出', 500, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:operlog:export', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1042, '登录查询', 501, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:logininfor:query', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1043, '登录删除', 501, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:logininfor:remove', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1044, '日志导出', 501, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:logininfor:export', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (1045, '账户解锁', 501, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:logininfor:unlock', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (2010, '用户管理', 0, 10, '/user-center', 'layout.base', NULL, 1, 0, 'M', '0', '0', '', 'carbon:user-multiple', 'admin', '2024-11-28 14:37:09', '', '2024-12-12 10:45:03', '', 'user-center');
|
||||
INSERT INTO `sys_menu` VALUES (2011, 'CDR管理', 1063, 0, '/user-center/cdr-manage', 'view.user-center_cdr-manage', NULL, 1, 1, 'C', '0', '0', NULL, 'carbon:report', 'admin', '2024-11-28 14:37:56', '', NULL, '', 'user-center_cdr-manage');
|
||||
INSERT INTO `sys_menu` VALUES (2012, 'KYC审核', 1063, 0, '/user-center/kyc', 'view.user-center_kyc', NULL, 1, 1, 'C', '0', '0', NULL, 'carbon:image-search-alt', 'admin', '2024-11-28 14:42:27', '', NULL, '', 'user-center_kyc');
|
||||
INSERT INTO `sys_menu` VALUES (2013, '账号管理', 1063, 0, '/user-center/account', 'view.user-center_account', NULL, 1, 1, 'C', '0', '0', NULL, 'carbon:user-avatar', 'admin', '2024-11-28 14:43:43', '', NULL, '', 'user-center_account');
|
||||
INSERT INTO `sys_menu` VALUES (2014, '日志管理', 1, 0, '/manage/log', 'view.manage_log', NULL, 1, 1, 'C', '0', '0', 'system:operlog:list', 'carbon:account', 'admin', '2024-11-28 17:20:41', '', NULL, '', 'manage_log');
|
||||
INSERT INTO `sys_menu` VALUES (2015, '任务管理', 1, 0, '/manage/task', 'view.manage_task', NULL, 1, 1, 'C', '0', '0', NULL, 'carbon:document-multiple-01', 'admin', '2024-11-28 17:21:09', '', NULL, '', 'manage_task');
|
||||
INSERT INTO `sys_menu` VALUES (2018, '批量删除', 2014, 0, '', NULL, NULL, 1, 0, 'F', '0', '0', 'system:operlog:remove', '#', 'super', '2024-12-03 18:43:13', '', NULL, '', NULL);
|
||||
INSERT INTO `sys_menu` VALUES (2019, '用户信息', 2010, 0, '/user-center/user', 'view.user-center_user', NULL, 1, 1, 'C', '0', '0', '', 'carbon:account', 'super', '2024-12-04 09:53:02', '', '2024-12-11 18:16:22', '', 'user_account');
|
||||
INSERT INTO `sys_menu` VALUES (2020, '话单管理', 2010, 1, '/user-center/cdr', 'view.user-center_cdr', NULL, 1, 1, 'C', '0', '0', '', 'carbon:document-multiple-01', 'super', '2024-12-04 10:15:36', '', '2024-12-11 20:33:02', '', 'user_cdr');
|
||||
INSERT INTO `sys_menu` VALUES (2021, '账单管理', 2010, 2, '/user-center/bill', 'view.user-center_bill', NULL, 1, 1, 'C', '0', '0', '', 'carbon:carbon', 'super', '2024-12-04 10:17:39', '', '2024-12-16 18:33:22', '', 'user_bill');
|
||||
INSERT INTO `sys_menu` VALUES (2022, 'KYC审核', 2010, 4, '/user-center/kyc', 'view.user_kyc', NULL, 1, 1, 'C', '0', '0', NULL, 'carbon:report', 'super', '2024-12-04 10:18:57', '', NULL, '', 'user_kyc');
|
||||
INSERT INTO `sys_menu` VALUES (2023, '计费管理', 0, 20, '/billing', 'layout.base', NULL, 1, 0, 'M', '0', '0', '', 'carbon:report', 'super', '2024-12-04 10:32:47', '', '2024-12-04 10:50:53', '', 'billing');
|
||||
INSERT INTO `sys_menu` VALUES (2024, '计费规则', 2023, 0, '/billing/rule', 'view.billing_rule', NULL, 1, 0, 'C', '0', '0', NULL, 'carbon:document-multiple-01', 'super', '2024-12-04 10:35:07', '', NULL, '', 'billing_rule');
|
||||
INSERT INTO `sys_menu` VALUES (2025, '套餐管理', 2023, 2, '/billing/package', 'view.billing_package', NULL, 1, 1, 'C', '0', '0', NULL, 'carbon:document', 'super', '2024-12-04 10:36:37', '', NULL, '', 'billing_package');
|
||||
INSERT INTO `sys_menu` VALUES (2026, '计费设置', 2023, 10, '/billing/setting', 'view.billing_setting', NULL, 1, 1, 'C', '0', '0', NULL, 'carbon:settings-services', 'super', '2024-12-04 10:37:58', '', NULL, '', 'billing_setting');
|
||||
INSERT INTO `sys_menu` VALUES (2027, '设备管理', 0, 0, '/device-management', 'layout.device', NULL, 1, 0, 'M', '0', '0', '', 'carbon:volume-block-storage', 'super', '2024-12-04 10:43:40', '', '2024-12-04 10:50:20', '', 'device_management');
|
||||
INSERT INTO `sys_menu` VALUES (2028, 'AP设备', 2027, 10, '/device/ap', 'view.device_ap', NULL, 1, 1, 'C', '0', '0', '', 'carbon:category', 'super', '2024-12-04 10:46:31', '', '2024-12-04 10:49:55', '', 'device_ap');
|
||||
INSERT INTO `sys_menu` VALUES (2029, '终端设备', 2027, 20, '/device/ue', 'view.device_ue', NULL, 1, 1, 'C', '0', '0', '', 'carbon:user-multiple', 'super', '2024-12-04 10:47:56', '', '2024-12-04 10:50:02', '', 'device_ue');
|
||||
INSERT INTO `sys_menu` VALUES (2030, 'Dashboard', 2027, 0, '/device/dashboard', 'view.device_dashboard', NULL, 1, 1, 'C', '0', '0', NULL, 'carbon:cics-system-group', 'super', '2024-12-04 10:49:46', '', NULL, '', 'device_dashboard');
|
||||
INSERT INTO `sys_menu` VALUES (2031, '限速设置', 2023, 8, '/billing/ratelimit', 'view.billing_ratelimit', NULL, 1, 0, 'C', '0', '0', '', 'carbon:rocket', 'admin', '2024-12-23 14:49:30', '', '2024-12-23 15:16:10', '', 'billing_ratelimit');
|
||||
INSERT INTO `sys_menu` VALUES (1, 'menu.system.management', 0, 1001, '/manage', 'layout.base', '', 1, 0, 'M', '0', '0', '', 'carbon:cloud-service-management', 'admin', '2024-05-08 21:50:55', 'admin', '2024-05-12 23:46:57', '系统管理目录', 'manage');
|
||||
INSERT INTO `sys_menu` VALUES (100, 'menu.system.account.management', 1, 1, '/manage/user', 'view.manage_user', '', 1, 0, 'C', '0', '0', 'system:user:list', 'ic:round-manage-accounts', 'admin', '2024-05-08 21:50:55', 'admin', '2024-12-04 10:21:07', '用户管理菜单', 'manage_user');
|
||||
INSERT INTO `sys_menu` VALUES (101, 'menu.system.role.management', 1, 2, '/manage/role', 'view.manage_role', '', 1, 0, 'C', '0', '0', 'system:role:list', 'carbon:user-role', 'admin', '2024-05-08 21:50:55', '', NULL, '角色管理菜单', 'manage_role');
|
||||
INSERT INTO `sys_menu` VALUES (102, 'menu.system.menu.management', 1, 3, '/manage/menu', 'view.manage_menu', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'material-symbols:route', 'admin', '2024-05-08 21:50:55', 'admin', '2024-05-12 23:46:12', '菜单管理菜单', 'manage_menu');
|
||||
INSERT INTO `sys_menu` VALUES (103, 'menu.system.department.management', 1, 4, '/manage/dept', 'view.manage_dept', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'carbon:box', 'admin', '2024-05-08 21:50:55', 'ryadmin', '2024-12-04 10:20:07', '部门管理菜单', 'manage_dept');
|
||||
INSERT INTO `sys_menu` VALUES (104, 'menu.system.position.management', 1, 5, '/manage/post', 'view.manage_post', NULL, 1, 0, 'C', '0', '0', 'system:post:list', 'carbon:group', 'admin', '2024-06-02 22:18:48', '', '2024-12-04 10:20:12', '', 'manage_post');
|
||||
INSERT INTO `sys_menu` VALUES (105, 'menu.system.dict.management', 1, 6, '/manage/dict', 'view.manage_dict', NULL, 1, 0, 'C', '0', '0', 'system:dict:list', 'carbon:volume-block-storage', 'admin', '2024-06-02 23:13:40', '', NULL, '', 'manage_dict');
|
||||
INSERT INTO `sys_menu` VALUES (2010, 'menu.user.management', 0, 10, '/user-center', 'layout.base', NULL, 1, 0, 'M', '0', '0', '', 'carbon:user-multiple', 'admin', '2024-11-28 14:37:09', '', '2024-12-12 10:45:03', '', 'user-center');
|
||||
INSERT INTO `sys_menu` VALUES (2014, 'menu.system.log.management', 1, 100, '/manage/log', 'view.manage_log', NULL, 1, 1, 'C', '0', '0', 'system:operlog:list', 'carbon:account', 'admin', '2024-11-28 17:20:41', '', NULL, '', 'manage_log');
|
||||
INSERT INTO `sys_menu` VALUES (2015, 'menu.system.job.management', 1, 7, '/manage/task', 'view.manage_task', NULL, 1, 1, 'C', '0', '0', '', 'carbon:document-multiple-01', 'admin', '2024-11-28 17:21:09', '', '2025-01-08 15:23:33', '', 'manage_task');
|
||||
INSERT INTO `sys_menu` VALUES (2019, 'menu.user.info', 2010, 0, '/user-center/user', 'view.user-center_user', NULL, 1, 1, 'C', '0', '0', '', 'carbon:account', 'super', '2024-12-04 09:53:02', '', '2024-12-11 18:16:22', '', 'user-center_account');
|
||||
INSERT INTO `sys_menu` VALUES (2020, 'menu.user.cdr.management', 2010, 1, '/user-center/cdr', 'view.user-center_cdr', NULL, 1, 1, 'C', '0', '0', '', 'carbon:document-multiple-01', 'super', '2024-12-04 10:15:36', '', '2024-12-11 20:33:02', '', 'user-center_cdr');
|
||||
INSERT INTO `sys_menu` VALUES (2021, 'menu.user.bill.management', 2010, 2, '/user-center/bill', 'view.user-center_bill', NULL, 1, 1, 'C', '0', '0', '', 'carbon:carbon', 'super', '2024-12-04 10:17:39', '', '2024-12-16 18:33:22', '', 'user-center_bill');
|
||||
INSERT INTO `sys_menu` VALUES (2022, 'menu.user.kyc.management', 2010, 4, '/user-center/kyc', 'view.user-center_kyc', NULL, 1, 1, 'C', '0', '0', NULL, 'carbon:report', 'super', '2024-12-04 10:18:57', '', NULL, '', 'user-center_kyc');
|
||||
INSERT INTO `sys_menu` VALUES (2023, 'menu.billing.management', 0, 20, '/billing', 'layout.base', NULL, 1, 0, 'M', '0', '0', '', 'carbon:report', 'super', '2024-12-04 10:32:47', '', '2024-12-04 10:50:53', '', 'billing');
|
||||
INSERT INTO `sys_menu` VALUES (2024, 'menu.billing.rule.management', 2023, 1, '/billing/rule', 'view.billing_rule', NULL, 1, 0, 'C', '0', '0', '', 'carbon:document-multiple-01', 'super', '2024-12-04 10:35:07', '', '2025-01-07 16:51:20', '', 'billing_rule');
|
||||
INSERT INTO `sys_menu` VALUES (2025, 'menu.billing.ratelimit.management', 2023, 2, '/billing/ratelimit', 'view.billing_ratelimit', NULL, 1, 0, 'C', '0', '0', '', 'carbon:rocket', 'admin', '2024-12-23 14:49:30', '', '2024-12-23 15:16:10', '', 'billing_ratelimit');
|
||||
INSERT INTO `sys_menu` VALUES (2026, 'menu.billing.package.management', 2023, 3, '/billing/package', 'view.billing_package', NULL, 1, 1, 'C', '0', '0', NULL, 'carbon:document', 'super', '2024-12-04 10:36:37', '', NULL, '', 'billing_package');
|
||||
INSERT INTO `sys_menu` VALUES (2028, 'menu.device.management', 0, 0, '/device', 'layout.base', NULL, 1, 0, 'M', '0', '0', '', 'carbon:volume-block-storage', 'super', '2024-12-04 10:43:40', '', '2024-12-04 10:50:20', '', 'device');
|
||||
INSERT INTO `sys_menu` VALUES (2029, 'menu.device.ap.management', 2028, 10, '/device/apdevice', 'view.device_apdevice', NULL, 1, 1, 'C', '0', '0', '', 'carbon:category', 'super', '2024-12-04 10:46:31', '', '2025-01-06 16:25:18', '', 'device_ap');
|
||||
INSERT INTO `sys_menu` VALUES (2030, 'menu.device.client.management', 2028, 20, '/device/terminal', 'view.device_terminal', NULL, 1, 1, 'C', '0', '0', '', 'carbon:user-multiple', 'super', '2024-12-04 10:47:56', '', '2025-01-06 18:11:35', '', 'device_ue');
|
||||
INSERT INTO `sys_menu` VALUES (2031, 'menu.device.wlan.management', 2028, 12, '/device/wlan', 'view.device_wlan', NULL, 1, 1, 'C', '0', '0', '', 'carbon:rocket', 'super', '2025-02-18 10:46:31', '', NULL, '', 'device_wlan');
|
||||
INSERT INTO `sys_menu` VALUES (2032, 'menu.device.portal.management', 2028, 14, '/device/portal', 'view.device_portal', NULL, 1, 1, 'C', '0', '0', '', 'carbon:building-insights-3', 'super', '2025-02-18 10:46:31', '', NULL, '', 'device_portal');
|
||||
INSERT INTO `sys_menu` VALUES (2033, 'menu.device.alerts.management', 2028, 21, '/device/alerts', 'view.device_alerts', NULL, 1, 0, 'C', '0', '0', '', 'carbon:ai-results-low', 'admin', '2025-06-04 15:35:21', '', '2025-06-04 15:37:11', '', 'device_alerts');
|
||||
INSERT INTO `sys_menu` VALUES (2034, 'menu.device.access.management', 2028, 22, '/device/access', 'view.device_access', NULL, 1, 0, 'C', '0', '0', NULL, 'carbon:carbon', 'super', '2025-06-04 15:40:48', '', NULL, '', 'device_access');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_oper_log
|
||||
@@ -376,10 +372,10 @@ CREATE TABLE `sys_post` (
|
||||
-- ----------------------------
|
||||
-- Records of sys_post
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_post` VALUES (1, 'admin', '管理员', 1, '0', 'admin', '2024-05-08 21:50:54', '', NULL, '');
|
||||
INSERT INTO `sys_post` VALUES (2, 'se', '项目经理', 2, '0', 'admin', '2024-05-08 21:50:54', '', NULL, '');
|
||||
INSERT INTO `sys_post` VALUES (3, 'hr', '人力资源', 3, '0', 'admin', '2024-05-08 21:50:54', '', NULL, '');
|
||||
INSERT INTO `sys_post` VALUES (4, 'user', '普通员工', 4, '0', 'admin', '2024-05-08 21:50:54', '', '2024-06-10 11:45:33', '');
|
||||
INSERT INTO `sys_post` VALUES (1, 'admin', 'administrator', 1, '0', 'admin', '2024-05-08 21:50:54', '', NULL, '');
|
||||
INSERT INTO `sys_post` VALUES (2, 'se', 'manager', 2, '0', 'admin', '2024-05-08 21:50:54', '', NULL, '');
|
||||
INSERT INTO `sys_post` VALUES (3, 'hr', 'hr', 3, '0', 'admin', '2024-05-08 21:50:54', '', NULL, '');
|
||||
INSERT INTO `sys_post` VALUES (4, 'user', 'user', 4, '0', 'admin', '2024-05-08 21:50:54', '', '2024-06-10 11:45:33', '');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_role
|
||||
@@ -389,7 +385,7 @@ CREATE TABLE `sys_role` (
|
||||
`role_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
|
||||
`role_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色名称',
|
||||
`role_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色权限字符串',
|
||||
`role_sort` int(11) NOT NULL COMMENT '显示顺序',
|
||||
`role_sort` int(11) NULL COMMENT '显示顺序',
|
||||
`data_scope` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '1' COMMENT '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)',
|
||||
`menu_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '菜单树选择项是否关联显示',
|
||||
`dept_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '部门树选择项是否关联显示',
|
||||
@@ -406,9 +402,9 @@ CREATE TABLE `sys_role` (
|
||||
-- ----------------------------
|
||||
-- Records of sys_role
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_role` VALUES (1, '超级管理员', 'super', 1, '1', 1, 1, '0', '0', 'admin', '2024-05-08 21:50:54', '', NULL, '超级管理员');
|
||||
INSERT INTO `sys_role` VALUES (2, '管理员', 'admin', 2, '2', 1, 1, '0', '0', 'admin', '2024-05-08 21:50:54', 'super', '2024-12-04 17:35:09', '管理员');
|
||||
INSERT INTO `sys_role` VALUES (3, '普通角色', 'common', 3, '5', 1, 1, '0', '0', 'admin', '2024-05-08 21:50:54', 'admin', '2024-06-02 23:14:56', '普通角色');
|
||||
INSERT INTO `sys_role` VALUES (1, 'Supervisor', 'super', 1, '1', 1, 1, '0', '0', 'admin', '2024-05-08 21:50:54', '', NULL, 'Supervisor');
|
||||
INSERT INTO `sys_role` VALUES (2, 'Administrator', 'admin', 2, '2', 1, 1, '0', '0', 'admin', '2024-05-08 21:50:54', 'super', '2024-12-04 17:35:09', 'Administrator');
|
||||
INSERT INTO `sys_role` VALUES (3, 'User', 'user', 3, '5', 1, 1, '0', '0', 'admin', '2024-05-08 21:50:54', 'admin', '2024-06-02 23:14:56', 'General user');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_role_dept
|
||||
@@ -438,13 +434,10 @@ CREATE TABLE `sys_role_menu` (
|
||||
-- Records of sys_role_menu
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 3);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 100);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 101);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 102);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 105);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 115);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 116);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1000);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1001);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1002);
|
||||
@@ -466,13 +459,12 @@ INSERT INTO `sys_role_menu` VALUES (2, 1026);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1027);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1028);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1029);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1039);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1040);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1041);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1042);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1043);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1044);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1045);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1049);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1050);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1051);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1052);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1053);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 1054);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 2010);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 2014);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 2015);
|
||||
@@ -490,6 +482,9 @@ INSERT INTO `sys_role_menu` VALUES (2, 2028);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 2029);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 2030);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 2031);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 2032);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 2033);
|
||||
INSERT INTO `sys_role_menu` VALUES (2, 2034);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_user
|
||||
@@ -521,8 +516,8 @@ CREATE TABLE `sys_user` (
|
||||
-- ----------------------------
|
||||
-- Records of sys_user
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_user` VALUES (1, 100, 'super', '超级管理员', '00', 'super@mail.com', '123456', '1', '', '$2a$10$VFx30iRGMEt86FsCZnMSX.LUIjOLwiMzOA1a2VasyKr53pO0vZwdG', '0', '0', '192.168.2.116', '2024-12-13 21:35:26', 'admin', '2024-05-08 21:50:54', '', '2024-12-13 21:35:25', '管理员');
|
||||
INSERT INTO `sys_user` VALUES (2, 100, 'admin', '管理员', '00', 'admin@mail.com', '123456712', '1', '', '$2a$10$VFx30iRGMEt86FsCZnMSX.LUIjOLwiMzOA1a2VasyKr53pO0vZwdG', '0', '0', '192.168.2.167', '2024-12-16 10:52:52', 'admin', '2024-05-08 21:50:54', 'admin', '2024-12-16 10:52:51', '管理员');
|
||||
INSERT INTO `sys_user` VALUES (1, 100, 'super', 'Supervisor', '00', 'super@mail.com', '123456', '1', '', '$2a$10$GaPWczfme9lMDT1nDy0VGOgfJgWxQVwKXneLgFQo9IQVhjeVpGRB.', '0', '0', '192.168.2.116', '2024-12-13 21:35:26', 'admin', '2024-05-08 21:50:54', '', '2024-12-13 21:35:25', 'Supervisor');
|
||||
INSERT INTO `sys_user` VALUES (2, 100, 'admin', 'Administrator', '00', 'admin@mail.com', '123456712', '1', '', '$2a$10$GaPWczfme9lMDT1nDy0VGOgfJgWxQVwKXneLgFQo9IQVhjeVpGRB.', '0', '0', '192.168.2.167', '2024-12-16 10:52:52', 'admin', '2024-05-08 21:50:54', 'admin', '2024-12-16 10:52:51', 'Administrator');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_user_post
|
||||
|
||||
@@ -29,19 +29,61 @@ CREATE TABLE `u_account` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||
`user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户ID',
|
||||
`balance` decimal(18, 4) NULL DEFAULT NULL COMMENT '余额',
|
||||
`balance_used` decimal(18, 4) NULL DEFAULT NULL COMMENT '余额已使用',
|
||||
`package_id` bigint(20) NULL DEFAULT NULL COMMENT '套餐ID',
|
||||
`start_time` datetime NULL DEFAULT NULL COMMENT '开始时间',
|
||||
`end_time` datetime NULL DEFAULT NULL COMMENT '结束时间',
|
||||
`traffic` bigint(20) NULL DEFAULT NULL COMMENT '流量',
|
||||
`traffic_used` bigint(20) NULL DEFAULT NULL COMMENT '流量已使用',
|
||||
`duration` bigint(20) NULL DEFAULT NULL COMMENT '时长',
|
||||
`duration_used` bigint(20) NULL DEFAULT NULL COMMENT '时长已使用',
|
||||
`client_num` int(11) NULL DEFAULT NULL COMMENT '在线设备数',
|
||||
`client_num_used` int(11) NULL DEFAULT NULL COMMENT '在线设备数已使用',
|
||||
`expired_time` datetime NULL DEFAULT NULL COMMENT '失效时间',
|
||||
`package_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '套餐名称',
|
||||
`period_num` int(11) NULL DEFAULT NULL COMMENT '有效期数',
|
||||
`period_type` tinyint(4) NULL DEFAULT NULL COMMENT '有效期类型',
|
||||
`price` decimal(18, 4) NULL DEFAULT NULL COMMENT '价格',
|
||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||
`rate_limit_enable` tinyint(1) NULL DEFAULT 0 COMMENT '带宽是否限制',
|
||||
`traffic_enable` tinyint(1) NULL DEFAULT 0 COMMENT '流量是否限制',
|
||||
`duration_enable` tinyint(1) NULL DEFAULT 0 COMMENT '时长是否限制',
|
||||
`client_num_enable` tinyint(1) NULL DEFAULT 0 COMMENT '在线设备数是否限制',
|
||||
`rate_limit_name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '限速名称',
|
||||
`down_limit` bigint(20) NULL DEFAULT NULL COMMENT '下行限速',
|
||||
`down_limit_enable` tinyint(1) NULL DEFAULT 0 COMMENT '下行限速启用',
|
||||
`up_limit` bigint(20) NULL DEFAULT NULL COMMENT '上行限速',
|
||||
`up_limit_enable` tinyint(1) NULL DEFAULT 0 COMMENT '上行限速启用',
|
||||
`package_reminder` tinyint(4) NULL DEFAULT NULL COMMENT '套餐提醒',
|
||||
`balance_reminder` tinyint(4) NULL DEFAULT NULL COMMENT '余额提醒',
|
||||
`del_flag` tinyint(1) NULL DEFAULT 0 COMMENT '删除标志(0存在 1删除)',
|
||||
`create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户平台-账户表' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of u_account
|
||||
-- ----------------------------
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for u_account_package
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `u_account_package`;
|
||||
CREATE TABLE `u_account_package` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||
`account_id` bigint(20) NULL DEFAULT NULL COMMENT '账户ID',
|
||||
`package_id` bigint(20) NULL DEFAULT NULL COMMENT '套餐ID',
|
||||
`traffic` bigint(20) NULL DEFAULT NULL COMMENT '流量',
|
||||
`duration` bigint(20) NULL DEFAULT NULL COMMENT '时长',
|
||||
`client_num` int(11) NULL DEFAULT NULL COMMENT '在线设备数',
|
||||
`expired_time` datetime NULL DEFAULT NULL COMMENT '失效时间',
|
||||
`package_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '套餐名称',
|
||||
`period_num` int(11) NULL DEFAULT NULL COMMENT '有效期数',
|
||||
`period_type` tinyint(4) NULL DEFAULT NULL COMMENT '有效期类型',
|
||||
`price` decimal(18, 4) NULL DEFAULT NULL COMMENT '价格',
|
||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||
`rate_limit_enable` tinyint(1) NULL DEFAULT 0 COMMENT '带宽是否限制',
|
||||
`traffic_enable` tinyint(1) NULL DEFAULT 0 COMMENT '流量是否限制',
|
||||
@@ -58,33 +100,10 @@ CREATE TABLE `u_account` (
|
||||
`update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户平台-账户表' ROW_FORMAT = Dynamic;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户平台-账户套餐表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of u_account
|
||||
-- ----------------------------
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for u_balance
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `u_balance`;
|
||||
CREATE TABLE `u_balance` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'Service ID',
|
||||
`user_id` bigint(20) NULL DEFAULT NULL COMMENT 'User ID link to u_user',
|
||||
`balance` double NULL DEFAULT NULL COMMENT 'User charging money balance',
|
||||
`traffic_balance` bigint(20) NULL DEFAULT NULL COMMENT 'User traffic package balance',
|
||||
`status` enum('Normal','Shutdown','Arrears') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'Normal',
|
||||
`create_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT 'create name ',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
||||
`update_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT 'update by name ',
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT 'update at time',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `fk_user_id`(`user_id`) USING BTREE,
|
||||
CONSTRAINT `u_balance_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `u_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_用户信息表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of u_balance
|
||||
-- Records of u_account_package
|
||||
-- ----------------------------
|
||||
|
||||
-- ----------------------------
|
||||
@@ -92,22 +111,46 @@ CREATE TABLE `u_balance` (
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `u_bill`;
|
||||
CREATE TABLE `u_bill` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'Bill ID',
|
||||
`user_id` bigint(20) NULL DEFAULT NULL COMMENT 'User ID link to u_user',
|
||||
`fee` double NULL DEFAULT NULL,
|
||||
`billing_begin` datetime NULL DEFAULT NULL,
|
||||
`billing_end` datetime NULL DEFAULT NULL,
|
||||
`status` enum('unpaid','paid') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'unpaid',
|
||||
`create_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT 'create name ',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `fk_user_id`(`user_id`) USING BTREE,
|
||||
CONSTRAINT `u_bill_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `u_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_用户信息表' ROW_FORMAT = DYNAMIC;
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||
`user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户ID',
|
||||
`cdr_history_id` bigint(20) NULL DEFAULT NULL COMMENT '话单记录ID',
|
||||
`type` tinyint(4) NULL DEFAULT NULL COMMENT '类型',
|
||||
`amount` decimal(18, 4) NULL DEFAULT NULL COMMENT '金额',
|
||||
`status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
|
||||
`invoice_number` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '发票编号',
|
||||
`invoice_file` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '发票文件',
|
||||
`invoice_file_path` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '发票文件路径',
|
||||
`invoice_time` datetime NULL DEFAULT NULL COMMENT '发票时间',
|
||||
`del_flag` tinyint(1) NULL DEFAULT 0 COMMENT '删除标志(0存在 1删除)',
|
||||
`create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1876451063420497923 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台-账单表' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of u_bill
|
||||
-- Table structure for u_bill_rule
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `u_bill_rule`;
|
||||
CREATE TABLE `u_bill_rule` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||
`price` decimal(18, 4) NULL DEFAULT NULL COMMENT '价格',
|
||||
`traffic` bigint(20) NULL DEFAULT NULL COMMENT '流量',
|
||||
`unit` tinyint(4) NULL DEFAULT NULL COMMENT '单位',
|
||||
`enable` tinyint(1) NULL DEFAULT NULL COMMENT '是否启用',
|
||||
`del_flag` tinyint(1) NULL DEFAULT 0 COMMENT '删除标志(0存在 1删除)',
|
||||
`create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台-计费规则表' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of u_bill_rule
|
||||
-- ----------------------------
|
||||
INSERT INTO `u_bill_rule` VALUES (1, 1.0000, 1, 2, 1, 0, NULL, NULL, 2, '2025-01-07 17:11:30');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for u_cdr
|
||||
@@ -139,26 +182,6 @@ CREATE TABLE `u_cdr` (
|
||||
INDEX `fk_client_id`(`client_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_用户话单表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for u_cdr_detail
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `u_cdr_detail`;
|
||||
CREATE TABLE `u_cdr_detail` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'CDR Detail ID',
|
||||
`cdr_id` bigint(20) NULL DEFAULT NULL COMMENT 'CDR ID',
|
||||
`traffic_down` bigint(20) NULL DEFAULT NULL COMMENT 'Downstream traffic (Byte)',
|
||||
`traffic_up` bigint(20) NULL DEFAULT NULL COMMENT 'Upstream traffic (Byte)',
|
||||
`start_time` datetime NULL DEFAULT NULL COMMENT 'Start time',
|
||||
`end_time` datetime NULL DEFAULT NULL COMMENT 'End time',
|
||||
`duration` bigint(20) NULL DEFAULT NULL COMMENT 'Duration(s)',
|
||||
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT 'delete flag',
|
||||
`create_by` bigint(20) NULL DEFAULT NULL COMMENT 'creater',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
||||
`update_by` bigint(20) NULL DEFAULT NULL COMMENT 'updater',
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT 'update time',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 50 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_话单明细表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for u_cdr_history
|
||||
-- ----------------------------
|
||||
@@ -171,6 +194,8 @@ CREATE TABLE `u_cdr_history` (
|
||||
`start_time` bigint(20) NULL DEFAULT NULL COMMENT 'Start time',
|
||||
`end_time` bigint(20) NULL DEFAULT NULL COMMENT 'End time',
|
||||
`duration` bigint(20) NULL DEFAULT NULL COMMENT 'Duration(s)',
|
||||
`use_type` tinyint(4) DEFAULT NULL COMMENT 'use type',
|
||||
`use_id` bigint(20) DEFAULT NULL COMMENT 'use id',
|
||||
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT 'delete flag',
|
||||
`create_by` bigint(20) NULL DEFAULT NULL COMMENT 'creater',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
||||
@@ -194,6 +219,9 @@ CREATE TABLE `u_client` (
|
||||
`client_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Client Name',
|
||||
`client_device_type` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Client device type',
|
||||
`client_mac` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Client mac address',
|
||||
`active` tinyint(1) DEFAULT NULL COMMENT 'Whether the client is online',
|
||||
`use_type` tinyint(4) DEFAULT NULL COMMENT 'use type',
|
||||
`use_id` bigint(20) DEFAULT NULL COMMENT 'use id',
|
||||
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT 'delete flag',
|
||||
`create_by` bigint(20) NULL DEFAULT NULL COMMENT 'creater',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
||||
@@ -280,8 +308,6 @@ CREATE TABLE `u_device` (
|
||||
-- ----------------------------
|
||||
-- Records of u_device
|
||||
-- ----------------------------
|
||||
INSERT INTO `u_device` VALUES (14, NULL, 'B0-19-21-7E-27-40', '192.168.2.207', 'B0-19-21-7E-27-40', 'EAP660 HD(US) v2.0', '0', NULL, '2024-12-10 10:05:19', NULL, '2024-12-10 10:05:19');
|
||||
INSERT INTO `u_device` VALUES (15, NULL, 'B0-19-21-7E-25-B6', '192.168.2.192', 'B0-19-21-7E-25-B6', 'EAP660 HD(US) v2.0', '0', NULL, '2024-12-10 10:05:19', NULL, '2024-12-10 10:05:19');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for u_dict_data
|
||||
@@ -537,6 +563,31 @@ CREATE TABLE `u_package` (
|
||||
-- Records of u_package
|
||||
-- ----------------------------
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for u_payment
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `u_payment`;
|
||||
CREATE TABLE `u_payment` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||
`name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '支付名称',
|
||||
`type` tinyint(4) NULL DEFAULT NULL COMMENT '类型(0支付宝 1微信 2信用卡)',
|
||||
`appId` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '应用编号',
|
||||
`server_url` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '支付网关',
|
||||
`domain` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '外网访问项目的域名',
|
||||
`private_key` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '应用私钥',
|
||||
`public_key` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '应用公钥',
|
||||
`app_cert_path` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '应用公钥证书',
|
||||
`cert_path` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公钥证书',
|
||||
`root_cert_path` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '根证书',
|
||||
`enable` tinyint(1) NULL DEFAULT NULL COMMENT '是否启用',
|
||||
`del_flag` tinyint(1) NULL DEFAULT 0 COMMENT '删除标志(0存在 1删除)',
|
||||
`create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台-支付表' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for u_post
|
||||
-- ----------------------------
|
||||
@@ -610,7 +661,7 @@ CREATE TABLE `u_role` (
|
||||
`role_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
|
||||
`role_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色名称',
|
||||
`role_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色权限字符串',
|
||||
`role_sort` int(11) NOT NULL COMMENT '显示顺序',
|
||||
`role_sort` int(11) NULL COMMENT '显示顺序',
|
||||
`data_scope` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '1' COMMENT '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)',
|
||||
`menu_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '菜单树选择项是否关联显示',
|
||||
`dept_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '部门树选择项是否关联显示',
|
||||
@@ -675,11 +726,12 @@ CREATE TABLE `u_user` (
|
||||
`full_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户姓名',
|
||||
`user_type` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '00' COMMENT '用户类型(00系统用户)',
|
||||
`email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '用户邮箱',
|
||||
`phonenumber` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '手机号码',
|
||||
`phonenumber` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '手机号码',
|
||||
`sex` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '用户性别(0男 1女 2未知)',
|
||||
`avatar` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '头像地址',
|
||||
`password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '密码',
|
||||
`age` int(11) NULL DEFAULT NULL COMMENT '年龄',
|
||||
`birth_date` date DEFAULT NULL COMMENT '出生日期',
|
||||
`address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
|
||||
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '帐号状态(0正常 1停用)',
|
||||
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
|
||||
@@ -691,14 +743,13 @@ CREATE TABLE `u_user` (
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||
PRIMARY KEY (`user_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户平台_用户信息表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户平台_用户信息表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of u_user
|
||||
-- ----------------------------
|
||||
INSERT INTO `u_user` VALUES (1, 100, 'super', '超级用户', '超级用户', '00', 'super@mail.com', '123456', '1', '', '$2a$10$XF99QEWn2MjEE3pbFVvHuOyMi/YVIrQbdenEleJN5dYxAfgXFaaqG', 1, '', '0', '0', '192.168.88.14', '2024-12-06 10:36:35', 'system', '2024-05-08 21:50:54', '', '2024-12-06 10:36:35', 'super');
|
||||
INSERT INTO `u_user` VALUES (2, 100, 'demo', 'demo user', 'demo user', '00', 'demo@mail.com', '123456', '1', '', '$2a$10$XF99QEWn2MjEE3pbFVvHuOyMi/YVIrQbdenEleJN5dYxAfgXFaaqG', 1, '', '0', '0', '192.168.88.14', '2024-12-06 10:36:35', 'system', '2024-12-06 10:30:54', '', '2024-12-06 10:36:35', 'demo');
|
||||
INSERT INTO `u_user` VALUES (3, NULL, '123456', 'general user', 'general user', '00', '12345678@mail.com', '1234567', '1', '', '$2a$10$XF99QEWn2MjEE3pbFVvHuOyMi/YVIrQbdenEleJN5dYxAfgXFaaqG', 1, '', '0', '0', '192.168.2.94', '2024-12-16 17:36:08', 'system', '2024-05-08 21:50:54', '123456', '2024-12-16 17:36:08', '');
|
||||
INSERT INTO `u_user` VALUES (1, NULL, 'super', 'super', 'super user', '00', 'super@mail.com', '1234567', '1', '', '$2a$10$GaPWczfme9lMDT1nDy0VGOgfJgWxQVwKXneLgFQo9IQVhjeVpGRB.', NULL, NULL, '', '0', '0', '192.168.2.94', '2024-12-16 17:36:08', 'system', '2024-05-08 21:50:54', '123456', '2024-12-16 17:36:08', '');
|
||||
INSERT INTO `u_user` VALUES (2, NULL, 'demo', 'demo', 'demo user', '00', '12345678@mail.com', '1234567', '1', '', '$2a$10$XF99QEWn2MjEE3pbFVvHuOyMi/YVIrQbdenEleJN5dYxAfgXFaaqG', NULL, NULL, '', '0', '0', '192.168.2.94', '2024-12-16 17:36:08', 'system', '2024-05-08 21:50:54', '123456', '2024-12-16 17:36:08', '');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for u_user_post
|
||||
@@ -729,4 +780,28 @@ CREATE TABLE `u_user_role` (
|
||||
-- ----------------------------
|
||||
INSERT INTO `u_user_role` VALUES (1, 1);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for u_kyc
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `u_kyc`;
|
||||
CREATE TABLE `u_kyc` (
|
||||
`kyc_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`user_id` bigint(20) NULL DEFAULT NULL COMMENT 'link to user_id of u_user',
|
||||
`real_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
|
||||
`birth_date` date NULL DEFAULT NULL,
|
||||
`id_type` enum('DRIVERS_LICENSE','PASSPORT','RESIDENCE_PERMIT','STUDENT_ID','MEDICARE_CARD','BIRTH_CERTIFICATE') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'identify type',
|
||||
`id_file` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT 'ID file',
|
||||
`identify_picture` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'identify picture',
|
||||
`status` enum('VERIFIED','UNVERIFIED','PENDING','REJECTED') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'PENDING' COMMENT 'KYC Status: 1-VERIFIED/2-UNVERIFIED/3-PENDING/4-REJECTED',
|
||||
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
|
||||
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
|
||||
`create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者',
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`kyc_id`) USING BTREE,
|
||||
INDEX `user_id`(`user_id`) USING BTREE,
|
||||
CONSTRAINT `u_kyc_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `u_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户平台_用户信息表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc</artifactId>
|
||||
<version>1.0.2</version>
|
||||
<version>1.0.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc-api</artifactId>
|
||||
<version>1.0.2</version>
|
||||
<version>1.0.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@@ -32,6 +32,5 @@
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
</dependencies>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
package org.wfc.omada.api.accesscontrol;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import io.swagger.annotations.ApiResponse;
|
||||
import io.swagger.annotations.ApiResponses;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.wfc.omada.api.accesscontrol.model.OperationResponsePortalAccessControlOpenApiVo;
|
||||
import org.wfc.omada.api.accesscontrol.model.PortalAccessControlOpenApiVo;
|
||||
import org.wfc.omada.config.FeignConfig;
|
||||
|
||||
import javax.validation.Valid;
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T18:17:10.834815900+08:00[Asia/Shanghai]")
|
||||
|
||||
@Validated
|
||||
@Api(value = "OmadaAccessControl", description = "the OmadaAccessControl API")
|
||||
@FeignClient(name="OmadaAccessControlApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||
public interface OmadaAccessControlApi {
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/${omada.omadac-id}/sites/{siteId}/setting/access-control : Get access control setting
|
||||
* Get access control setting of the site with the given omadacId and siteId.<br/><br/>The interface requires one of the permissions: <br/>Site Settings Manager View Only<br/><br/>The possible error code for the interface in the returned body is one of the following error codes (non generic error codes): <br/>-33004 - Operation failed because other operations (site copying, restoring, template synchronizing, etc.) are being performed on this site. Please wait and try again later.
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get access control setting", nickname = "getAccessControl", notes = "Get access control setting of the site with the given omadacId and siteId.<br/><br/>The interface requires one of the permissions: <br/>Site Settings Manager View Only<br/><br/>The possible error code for the interface in the returned body is one of the following error codes (non generic error codes): <br/>-33004 - Operation failed because other operations (site copying, restoring, template synchronizing, etc.) are being performed on this site. Please wait and try again later.", response = OperationResponsePortalAccessControlOpenApiVo.class, tags={ "Omada/Access Control","Access Control", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponsePortalAccessControlOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/setting/access-control",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponsePortalAccessControlOpenApiVo> getAccessControl(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId);
|
||||
|
||||
|
||||
/**
|
||||
* PATCH /openapi/v1/${omada.omadac-id}/sites/{siteId}/setting/access-control : Modify access control setting
|
||||
* Modify access control setting of the site. When modifying, the full configuration parameters should be passed in<br/><br/>The interface requires one of the permissions: <br/>Site Settings Manager Modify<br/><br/>The possible error code for the interface in the returned body is one of the following error codes (non generic error codes): <br/>-33004 - Operation failed because other operations (site copying, restoring, template synchronizing, etc.) are being performed on this site. Please wait and try again later.
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param portalAccessControlOpenApiVo (optional)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Modify access control setting", nickname = "modifyAccessControl", notes = "Modify access control setting of the site. When modifying, the full configuration parameters should be passed in<br/><br/>The interface requires one of the permissions: <br/>Site Settings Manager Modify<br/><br/>The possible error code for the interface in the returned body is one of the following error codes (non generic error codes): <br/>-33004 - Operation failed because other operations (site copying, restoring, template synchronizing, etc.) are being performed on this site. Please wait and try again later.", response = OperationResponsePortalAccessControlOpenApiVo.class, tags={ "Omada/Access Control","Access Control", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponsePortalAccessControlOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/setting/access-control",
|
||||
produces = "*/*",
|
||||
consumes = "application/json",
|
||||
method = RequestMethod.PATCH)
|
||||
ResponseEntity<OperationResponsePortalAccessControlOpenApiVo> modifyAccessControl(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId, @Valid @RequestBody(required = false) PortalAccessControlOpenApiVo portalAccessControlOpenApiVo);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
package org.wfc.omada.api.accesscontrol.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Pattern;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* List of Free-Authentication Client Policy
|
||||
*/
|
||||
@ApiModel(description = "List of Free-Authentication Client Policy")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T18:17:18.126730900+08:00[Asia/Shanghai]")
|
||||
|
||||
public class FreeAuthClientPolicyOpenApiVo {
|
||||
@JsonProperty("idInt")
|
||||
private Integer idInt;
|
||||
|
||||
@JsonProperty("type")
|
||||
private Integer type;
|
||||
|
||||
@JsonProperty("clientIp")
|
||||
private String clientIp;
|
||||
|
||||
@JsonProperty("clientMac")
|
||||
private String clientMac;
|
||||
|
||||
public FreeAuthClientPolicyOpenApiVo idInt(Integer idInt) {
|
||||
this.idInt = idInt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Entry ID of the policy. Except for newly added policies, this parameter should be retained
|
||||
* @return idInt
|
||||
*/
|
||||
@ApiModelProperty(value = "Entry ID of the policy. Except for newly added policies, this parameter should be retained")
|
||||
|
||||
|
||||
public Integer getIdInt() {
|
||||
return idInt;
|
||||
}
|
||||
|
||||
public void setIdInt(Integer idInt) {
|
||||
this.idInt = idInt;
|
||||
}
|
||||
|
||||
public FreeAuthClientPolicyOpenApiVo type(Integer type) {
|
||||
this.type = type;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Type of the policy. It should be a value as follows: 3: Free auth client IP, and parameter [clientIp] is needed. 4: Free auth client MAC, and parameter [clientMac] is needed
|
||||
* @return type
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "Type of the policy. It should be a value as follows: 3: Free auth client IP, and parameter [clientIp] is needed. 4: Free auth client MAC, and parameter [clientMac] is needed")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Integer getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public FreeAuthClientPolicyOpenApiVo clientIp(String clientIp) {
|
||||
this.clientIp = clientIp;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Free auth client IP Address
|
||||
* @return clientIp
|
||||
*/
|
||||
@ApiModelProperty(value = "Free auth client IP Address")
|
||||
|
||||
@Pattern(regexp="\\b((?!\\d\\d\\d)\\d+|1\\d\\d|2[0-4]\\d|25[0-5])\\.((?!\\d\\d\\d)\\d+|1\\d\\d|2[0-4]\\d|25[0-5])\\.((?!\\d\\d\\d)\\d+|1\\d\\d|2[0-4]\\d|25[0-5])\\.((?!\\d\\d\\d)\\d+|1\\d\\d|2[0-4]\\d|25[0-5])\\b")
|
||||
public String getClientIp() {
|
||||
return clientIp;
|
||||
}
|
||||
|
||||
public void setClientIp(String clientIp) {
|
||||
this.clientIp = clientIp;
|
||||
}
|
||||
|
||||
public FreeAuthClientPolicyOpenApiVo clientMac(String clientMac) {
|
||||
this.clientMac = clientMac;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Free auth client MAC Address, for example: AA-AA-AA-AA-AA-AA
|
||||
* @return clientMac
|
||||
*/
|
||||
@ApiModelProperty(value = "Free auth client MAC Address, for example: AA-AA-AA-AA-AA-AA")
|
||||
|
||||
@Pattern(regexp="[A-Fa-f0-9]{1}[02468aceACE]{1}([-:][A-Fa-f0-9]{2}){5}")
|
||||
public String getClientMac() {
|
||||
return clientMac;
|
||||
}
|
||||
|
||||
public void setClientMac(String clientMac) {
|
||||
this.clientMac = clientMac;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
FreeAuthClientPolicyOpenApiVo freeAuthClientPolicyOpenApiVo = (FreeAuthClientPolicyOpenApiVo) o;
|
||||
return Objects.equals(this.idInt, freeAuthClientPolicyOpenApiVo.idInt) &&
|
||||
Objects.equals(this.type, freeAuthClientPolicyOpenApiVo.type) &&
|
||||
Objects.equals(this.clientIp, freeAuthClientPolicyOpenApiVo.clientIp) &&
|
||||
Objects.equals(this.clientMac, freeAuthClientPolicyOpenApiVo.clientMac);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(idInt, type, clientIp, clientMac);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class FreeAuthClientPolicyOpenApiVo {\n");
|
||||
|
||||
sb.append(" idInt: ").append(toIndentedString(idInt)).append("\n");
|
||||
sb.append(" type: ").append(toIndentedString(type)).append("\n");
|
||||
sb.append(" clientIp: ").append(toIndentedString(clientIp)).append("\n");
|
||||
sb.append(" clientMac: ").append(toIndentedString(clientMac)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
package org.wfc.omada.api.accesscontrol.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* OperationResponsePortalAccessControlOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T18:17:18.126730900+08:00[Asia/Shanghai]")
|
||||
|
||||
public class OperationResponsePortalAccessControlOpenApiVo {
|
||||
@JsonProperty("errorCode")
|
||||
private Integer errorCode;
|
||||
|
||||
@JsonProperty("msg")
|
||||
private String msg;
|
||||
|
||||
@JsonProperty("result")
|
||||
private PortalAccessControlOpenApiVo result;
|
||||
|
||||
public OperationResponsePortalAccessControlOpenApiVo errorCode(Integer errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get errorCode
|
||||
* @return errorCode
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
|
||||
public Integer getErrorCode() {
|
||||
return errorCode;
|
||||
}
|
||||
|
||||
public void setErrorCode(Integer errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
public OperationResponsePortalAccessControlOpenApiVo msg(String msg) {
|
||||
this.msg = msg;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get msg
|
||||
* @return msg
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public OperationResponsePortalAccessControlOpenApiVo result(PortalAccessControlOpenApiVo result) {
|
||||
this.result = result;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get result
|
||||
* @return result
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
@Valid
|
||||
|
||||
public PortalAccessControlOpenApiVo getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(PortalAccessControlOpenApiVo result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
OperationResponsePortalAccessControlOpenApiVo operationResponsePortalAccessControlOpenApiVo = (OperationResponsePortalAccessControlOpenApiVo) o;
|
||||
return Objects.equals(this.errorCode, operationResponsePortalAccessControlOpenApiVo.errorCode) &&
|
||||
Objects.equals(this.msg, operationResponsePortalAccessControlOpenApiVo.msg) &&
|
||||
Objects.equals(this.result, operationResponsePortalAccessControlOpenApiVo.result);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(errorCode, msg, result);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class OperationResponsePortalAccessControlOpenApiVo {\n");
|
||||
|
||||
sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n");
|
||||
sb.append(" msg: ").append(toIndentedString(msg)).append("\n");
|
||||
sb.append(" result: ").append(toIndentedString(result)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
package org.wfc.omada.api.accesscontrol.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* PortalAccessControlOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T18:17:18.126730900+08:00[Asia/Shanghai]")
|
||||
|
||||
public class PortalAccessControlOpenApiVo {
|
||||
@JsonProperty("preAuthAccessEnable")
|
||||
private Boolean preAuthAccessEnable;
|
||||
|
||||
@JsonProperty("preAuthAccessPolicies")
|
||||
@Valid
|
||||
private List<PreAuthAccessPolicyOpenApiVo> preAuthAccessPolicies = null;
|
||||
|
||||
@JsonProperty("freeAuthClientEnable")
|
||||
private Boolean freeAuthClientEnable;
|
||||
|
||||
@JsonProperty("freeAuthClientPolicies")
|
||||
@Valid
|
||||
private List<FreeAuthClientPolicyOpenApiVo> freeAuthClientPolicies = null;
|
||||
|
||||
public PortalAccessControlOpenApiVo preAuthAccessEnable(Boolean preAuthAccessEnable) {
|
||||
this.preAuthAccessEnable = preAuthAccessEnable;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether to enable Pre-Authentication Access. If parameter [preAuthAccessEnable] is true, parameter [preAuthAccessPolicies] is needed
|
||||
* @return preAuthAccessEnable
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "Whether to enable Pre-Authentication Access. If parameter [preAuthAccessEnable] is true, parameter [preAuthAccessPolicies] is needed")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Boolean getPreAuthAccessEnable() {
|
||||
return preAuthAccessEnable;
|
||||
}
|
||||
|
||||
public void setPreAuthAccessEnable(Boolean preAuthAccessEnable) {
|
||||
this.preAuthAccessEnable = preAuthAccessEnable;
|
||||
}
|
||||
|
||||
public PortalAccessControlOpenApiVo preAuthAccessPolicies(List<PreAuthAccessPolicyOpenApiVo> preAuthAccessPolicies) {
|
||||
this.preAuthAccessPolicies = preAuthAccessPolicies;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PortalAccessControlOpenApiVo addPreAuthAccessPoliciesItem(PreAuthAccessPolicyOpenApiVo preAuthAccessPoliciesItem) {
|
||||
if (this.preAuthAccessPolicies == null) {
|
||||
this.preAuthAccessPolicies = new ArrayList<>();
|
||||
}
|
||||
this.preAuthAccessPolicies.add(preAuthAccessPoliciesItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* List of Pre-Authentication Access Policy
|
||||
* @return preAuthAccessPolicies
|
||||
*/
|
||||
@ApiModelProperty(value = "List of Pre-Authentication Access Policy")
|
||||
|
||||
@Valid
|
||||
|
||||
public List<PreAuthAccessPolicyOpenApiVo> getPreAuthAccessPolicies() {
|
||||
return preAuthAccessPolicies;
|
||||
}
|
||||
|
||||
public void setPreAuthAccessPolicies(List<PreAuthAccessPolicyOpenApiVo> preAuthAccessPolicies) {
|
||||
this.preAuthAccessPolicies = preAuthAccessPolicies;
|
||||
}
|
||||
|
||||
public PortalAccessControlOpenApiVo freeAuthClientEnable(Boolean freeAuthClientEnable) {
|
||||
this.freeAuthClientEnable = freeAuthClientEnable;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether to enable Free-Authentication Client. If parameter [freeAuthClientEnable] is true, parameter [freeAuthClientPolicies] is needed
|
||||
* @return freeAuthClientEnable
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "Whether to enable Free-Authentication Client. If parameter [freeAuthClientEnable] is true, parameter [freeAuthClientPolicies] is needed")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Boolean getFreeAuthClientEnable() {
|
||||
return freeAuthClientEnable;
|
||||
}
|
||||
|
||||
public void setFreeAuthClientEnable(Boolean freeAuthClientEnable) {
|
||||
this.freeAuthClientEnable = freeAuthClientEnable;
|
||||
}
|
||||
|
||||
public PortalAccessControlOpenApiVo freeAuthClientPolicies(List<FreeAuthClientPolicyOpenApiVo> freeAuthClientPolicies) {
|
||||
this.freeAuthClientPolicies = freeAuthClientPolicies;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PortalAccessControlOpenApiVo addFreeAuthClientPoliciesItem(FreeAuthClientPolicyOpenApiVo freeAuthClientPoliciesItem) {
|
||||
if (this.freeAuthClientPolicies == null) {
|
||||
this.freeAuthClientPolicies = new ArrayList<>();
|
||||
}
|
||||
this.freeAuthClientPolicies.add(freeAuthClientPoliciesItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* List of Free-Authentication Client Policy
|
||||
* @return freeAuthClientPolicies
|
||||
*/
|
||||
@ApiModelProperty(value = "List of Free-Authentication Client Policy")
|
||||
|
||||
@Valid
|
||||
|
||||
public List<FreeAuthClientPolicyOpenApiVo> getFreeAuthClientPolicies() {
|
||||
return freeAuthClientPolicies;
|
||||
}
|
||||
|
||||
public void setFreeAuthClientPolicies(List<FreeAuthClientPolicyOpenApiVo> freeAuthClientPolicies) {
|
||||
this.freeAuthClientPolicies = freeAuthClientPolicies;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
PortalAccessControlOpenApiVo portalAccessControlOpenApiVo = (PortalAccessControlOpenApiVo) o;
|
||||
return Objects.equals(this.preAuthAccessEnable, portalAccessControlOpenApiVo.preAuthAccessEnable) &&
|
||||
Objects.equals(this.preAuthAccessPolicies, portalAccessControlOpenApiVo.preAuthAccessPolicies) &&
|
||||
Objects.equals(this.freeAuthClientEnable, portalAccessControlOpenApiVo.freeAuthClientEnable) &&
|
||||
Objects.equals(this.freeAuthClientPolicies, portalAccessControlOpenApiVo.freeAuthClientPolicies);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(preAuthAccessEnable, preAuthAccessPolicies, freeAuthClientEnable, freeAuthClientPolicies);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class PortalAccessControlOpenApiVo {\n");
|
||||
|
||||
sb.append(" preAuthAccessEnable: ").append(toIndentedString(preAuthAccessEnable)).append("\n");
|
||||
sb.append(" preAuthAccessPolicies: ").append(toIndentedString(preAuthAccessPolicies)).append("\n");
|
||||
sb.append(" freeAuthClientEnable: ").append(toIndentedString(freeAuthClientEnable)).append("\n");
|
||||
sb.append(" freeAuthClientPolicies: ").append(toIndentedString(freeAuthClientPolicies)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,181 @@
|
||||
package org.wfc.omada.api.accesscontrol.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Pattern;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* List of Pre-Authentication Access Policy
|
||||
*/
|
||||
@ApiModel(description = "List of Pre-Authentication Access Policy")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T18:17:18.126730900+08:00[Asia/Shanghai]")
|
||||
|
||||
public class PreAuthAccessPolicyOpenApiVo {
|
||||
@JsonProperty("idInt")
|
||||
private Integer idInt;
|
||||
|
||||
@JsonProperty("type")
|
||||
private Integer type;
|
||||
|
||||
@JsonProperty("ip")
|
||||
private String ip;
|
||||
|
||||
@JsonProperty("subnetMask")
|
||||
private Integer subnetMask;
|
||||
|
||||
@JsonProperty("url")
|
||||
private String url;
|
||||
|
||||
public PreAuthAccessPolicyOpenApiVo idInt(Integer idInt) {
|
||||
this.idInt = idInt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Entry ID of the policy. Except for newly added policies, this parameter should be retained
|
||||
* @return idInt
|
||||
*/
|
||||
@ApiModelProperty(value = "Entry ID of the policy. Except for newly added policies, this parameter should be retained")
|
||||
|
||||
|
||||
public Integer getIdInt() {
|
||||
return idInt;
|
||||
}
|
||||
|
||||
public void setIdInt(Integer idInt) {
|
||||
this.idInt = idInt;
|
||||
}
|
||||
|
||||
public PreAuthAccessPolicyOpenApiVo type(Integer type) {
|
||||
this.type = type;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Type of the policy. It should be a value as follows: 1: Destination IP Range, and parameter [ip] and [subnetMask] is needed. 2: URL, and parameter [url] is needed
|
||||
* @return type
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "Type of the policy. It should be a value as follows: 1: Destination IP Range, and parameter [ip] and [subnetMask] is needed. 2: URL, and parameter [url] is needed")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Integer getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public PreAuthAccessPolicyOpenApiVo ip(String ip) {
|
||||
this.ip = ip;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* IP Address of Pre-Authentication Access
|
||||
* @return ip
|
||||
*/
|
||||
@ApiModelProperty(value = "IP Address of Pre-Authentication Access")
|
||||
|
||||
@Pattern(regexp="\\b((?!\\d\\d\\d)\\d+|1\\d\\d|2[0-4]\\d|25[0-5])\\.((?!\\d\\d\\d)\\d+|1\\d\\d|2[0-4]\\d|25[0-5])\\.((?!\\d\\d\\d)\\d+|1\\d\\d|2[0-4]\\d|25[0-5])\\.((?!\\d\\d\\d)\\d+|1\\d\\d|2[0-4]\\d|25[0-5])\\b")
|
||||
public String getIp() {
|
||||
return ip;
|
||||
}
|
||||
|
||||
public void setIp(String ip) {
|
||||
this.ip = ip;
|
||||
}
|
||||
|
||||
public PreAuthAccessPolicyOpenApiVo subnetMask(Integer subnetMask) {
|
||||
this.subnetMask = subnetMask;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Subnet mask of Pre-Authentication Access. It should be within the range of 1-32
|
||||
* @return subnetMask
|
||||
*/
|
||||
@ApiModelProperty(value = "Subnet mask of Pre-Authentication Access. It should be within the range of 1-32")
|
||||
|
||||
|
||||
public Integer getSubnetMask() {
|
||||
return subnetMask;
|
||||
}
|
||||
|
||||
public void setSubnetMask(Integer subnetMask) {
|
||||
this.subnetMask = subnetMask;
|
||||
}
|
||||
|
||||
public PreAuthAccessPolicyOpenApiVo url(String url) {
|
||||
this.url = url;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* URL of Pre-Authentication Access
|
||||
* @return url
|
||||
*/
|
||||
@ApiModelProperty(value = "URL of Pre-Authentication Access")
|
||||
|
||||
@Pattern(regexp="((\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])(\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])){3}(:([0-9]|[1-9]\\d{1,3}|[1-5]\\d{4}|6[0-4]\\d{4}|65[0-4]\\d{2}|655[0-2]\\d|6553[0-5]))?|([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,18}(:([0-9]|[1-9]\\d{1,3}|[1-5]\\d{4}|6[0-4]\\d{4}|65[0-4]\\d{2}|655[0-2]\\d|6553[0-5]))?)")
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
PreAuthAccessPolicyOpenApiVo preAuthAccessPolicyOpenApiVo = (PreAuthAccessPolicyOpenApiVo) o;
|
||||
return Objects.equals(this.idInt, preAuthAccessPolicyOpenApiVo.idInt) &&
|
||||
Objects.equals(this.type, preAuthAccessPolicyOpenApiVo.type) &&
|
||||
Objects.equals(this.ip, preAuthAccessPolicyOpenApiVo.ip) &&
|
||||
Objects.equals(this.subnetMask, preAuthAccessPolicyOpenApiVo.subnetMask) &&
|
||||
Objects.equals(this.url, preAuthAccessPolicyOpenApiVo.url);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(idInt, type, ip, subnetMask, url);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class PreAuthAccessPolicyOpenApiVo {\n");
|
||||
|
||||
sb.append(" idInt: ").append(toIndentedString(idInt)).append("\n");
|
||||
sb.append(" type: ").append(toIndentedString(type)).append("\n");
|
||||
sb.append(" ip: ").append(toIndentedString(ip)).append("\n");
|
||||
sb.append(" subnetMask: ").append(toIndentedString(subnetMask)).append("\n");
|
||||
sb.append(" url: ").append(toIndentedString(url)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -98,6 +98,11 @@ public interface OmadaClientApi {
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseClientGridVoClientInfo> getGridActiveClients(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize);
|
||||
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/clients",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseClientGridVoClientInfo> getGridActiveClients(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize, @ApiParam(value = "Fuzzy query parameters, support field clientName,clientMac,ip,channel,ssid,apName,apMac,switchMac,switchName,gatewayMac,gatewayName.") @Valid @RequestParam(value = "searchKey", required = false) String searchKey);
|
||||
|
||||
|
||||
/**
|
||||
* POST /openapi/v1/{omadacId}/sites/{siteId}/clients/{clientMac}/reconnect : Reconnect the client
|
||||
|
||||
@@ -50,6 +50,6 @@ public interface OmadaClientInsightApi {
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/insight/past-connection",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseGridVoClientHistoryInfo> getGridPastConnections(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize,@ApiParam(value = "Fuzzy query parameters, support field name,mac,ssid.") @Valid @RequestParam(value = "searchKey", required = false) String searchKey);
|
||||
ResponseEntity<OperationResponseGridVoClientHistoryInfo> getGridPastConnections(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize,@Valid @RequestParam(value = "sorts.lastSeen", required = false) String sortsLastSeen,@ApiParam(value = "Filter query parameters, support field time range: start timestamp (ms).") @Valid @RequestParam(value = "filters.timeStart", required = false) String filtersTimeStart,@ApiParam(value = "Filter query parameters, support field time range: end timestamp (ms).") @Valid @RequestParam(value = "filters.timeEnd", required = false) String filtersTimeEnd, @ApiParam(value = "Fuzzy query parameters, support field name,mac,ssid.") @Valid @RequestParam(value = "searchKey", required = false) String searchKey);
|
||||
|
||||
}
|
||||
|
||||
@@ -410,6 +410,11 @@ public interface OmadaDeviceApi {
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseGridVoDeviceInfo> getDeviceList(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize);
|
||||
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/devices",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseGridVoDeviceInfo> getDeviceList(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize, @ApiParam(value = "Fuzzy query parameters, support field name,mac,ip") @Valid @RequestParam(value = "searchKey", required = false) String searchKey);
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/latest-firmware-info : Get the latest firmware info of the device
|
||||
|
||||
@@ -10,21 +10,29 @@ import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestHeader;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.wfc.omada.config.FeignConfig;
|
||||
import org.wfc.omada.api.log.model.AuditLogNotificationSettingEditOpenApiVo;
|
||||
import org.wfc.omada.api.log.model.DeleteGlobalAlertLogListOpenApiVo;
|
||||
import org.wfc.omada.api.log.model.DeleteGlobalEventLogListOpenApiVo;
|
||||
import org.wfc.omada.api.log.model.DeleteSiteAlertLogListOpenApiVo;
|
||||
import org.wfc.omada.api.log.model.DeleteSiteEventLogListOpenApiVo;
|
||||
import org.wfc.omada.api.log.model.LogNotificationSettingEditOpenApiV2Vo;
|
||||
import org.wfc.omada.api.log.model.LogNotificationSettingEditOpenApiVo;
|
||||
import org.wfc.omada.api.log.model.OperationResponseAlertLogGridVoAlertLogOpenApiVo;
|
||||
import org.wfc.omada.api.log.model.OperationResponseAuditLogNotificationSettingOpenApiVo;
|
||||
import org.wfc.omada.api.log.model.OperationResponseEventLogGridVoEventLogOpenApiVo;
|
||||
import org.wfc.omada.api.log.model.OperationResponseGridVoAuditLogOpenApiVo;
|
||||
import org.wfc.omada.api.log.model.OperationResponseLogNotificationSettingOpenApiVo;
|
||||
import org.wfc.omada.api.log.model.OperationResponseWithoutResult;
|
||||
import org.wfc.omada.api.log.model.ResolveSiteLogListOpenApiVo;
|
||||
import org.wfc.omada.config.FeignConfig;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:48.508+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:58:31.493597800+08:00[Asia/Shanghai]")
|
||||
|
||||
@Validated
|
||||
@Api(value = "OmadaLog", description = "the OmadaLog API")
|
||||
@@ -32,30 +40,157 @@ import javax.validation.constraints.NotNull;
|
||||
public interface OmadaLogApi {
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/{omadacId}/audit-notification : Get global audit log notification
|
||||
* Get global audit log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only
|
||||
* DELETE /openapi/v1/${omada.omadac-id}/logs/alerts/delete : Delete global alert log
|
||||
* Delete global alert log.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param deleteGlobalAlertLogListOpenApiVo (optional)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get global audit log notification", nickname = "getAuditLogSettingForGlobal", notes = "Get global audit log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only", response = OperationResponseAuditLogNotificationSettingOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiOperation(value = "Delete global alert log", nickname = "deleteAlertLogsForGlobal", notes = "Delete global alert log.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/logs/alerts/delete",
|
||||
produces = "*/*",
|
||||
consumes = "application/json",
|
||||
method = RequestMethod.DELETE)
|
||||
ResponseEntity<OperationResponseWithoutResult> deleteAlertLogsForGlobal(@ApiParam(value = "" , defaultValue="Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw") @RequestHeader(value="Authorization", required=false) String authorization,@ApiParam(value = "" ) @Valid @RequestBody(required = false) DeleteGlobalAlertLogListOpenApiVo deleteGlobalAlertLogListOpenApiVo);
|
||||
|
||||
|
||||
/**
|
||||
* DELETE /openapi/v1/${omada.omadac-id}/sites/{siteId}/logs/alerts/delete : Delete site alert log
|
||||
* Delete site alert log.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param deleteSiteAlertLogListOpenApiVo (optional)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Delete site alert log", nickname = "deleteAlertLogsForSite", notes = "Delete site alert log.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/logs/alerts/delete",
|
||||
produces = "*/*",
|
||||
consumes = "application/json",
|
||||
method = RequestMethod.DELETE)
|
||||
ResponseEntity<OperationResponseWithoutResult> deleteAlertLogsForSite(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@ApiParam(value = "" ) @Valid @RequestBody(required = false) DeleteSiteAlertLogListOpenApiVo deleteSiteAlertLogListOpenApiVo);
|
||||
|
||||
|
||||
/**
|
||||
* DELETE /openapi/v1/${omada.omadac-id}/logs/events/delete : Delete global event log
|
||||
* Delete global event log.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param deleteGlobalEventLogListOpenApiVo (optional)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Delete global event log", nickname = "deleteEventLogsForGlobal", notes = "Delete global event log.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/logs/events/delete",
|
||||
produces = "*/*",
|
||||
consumes = "application/json",
|
||||
method = RequestMethod.DELETE)
|
||||
ResponseEntity<OperationResponseWithoutResult> deleteEventLogsForGlobal(@ApiParam(value = "" , defaultValue="Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw") @RequestHeader(value="Authorization", required=false) String authorization,@ApiParam(value = "" ) @Valid @RequestBody(required = false) DeleteGlobalEventLogListOpenApiVo deleteGlobalEventLogListOpenApiVo);
|
||||
|
||||
|
||||
/**
|
||||
* DELETE /openapi/v1/${omada.omadac-id}/sites/{siteId}/logs/events/delete : Delete site event log
|
||||
* Delete site event log.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param deleteSiteEventLogListOpenApiVo (optional)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Delete site event log", nickname = "deleteEventLogsForSite", notes = "Delete site event log.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/logs/events/delete",
|
||||
produces = "*/*",
|
||||
consumes = "application/json",
|
||||
method = RequestMethod.DELETE)
|
||||
ResponseEntity<OperationResponseWithoutResult> deleteEventLogsForSite(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@ApiParam(value = "" ) @Valid @RequestBody(required = false) DeleteSiteEventLogListOpenApiVo deleteSiteEventLogListOpenApiVo);
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/${omada.omadac-id}/logs/alerts : Get global alert log list
|
||||
* Get logs in global alert log page.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param page Start page number. Start from 1. (required)
|
||||
* @param pageSize Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100) (required)
|
||||
* @param filtersTimeStart Filter query parameters, support field 1679297710438 (required)
|
||||
* @param filtersTimeEnd Filter query parameters, support field 1681889710438 (required)
|
||||
* @param filtersModule Filter query parameters, support field module, it should be a value as follows: System, Device (optional)
|
||||
* @param filtersResolved Filter query parameters, support field resolved, it should be a value as follows: true, false (optional)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get global alert log list", nickname = "getAlertLogsForGlobal", notes = "Get logs in global alert log page.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only", response = OperationResponseAlertLogGridVoAlertLogOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseAlertLogGridVoAlertLogOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/logs/alerts",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseAlertLogGridVoAlertLogOpenApiVo> getAlertLogsForGlobal(@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100)", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize,@NotNull @ApiParam(value = "Filter query parameters, support field 1679297710438", required = true) @Valid @RequestParam(value = "filters.timeStart", required = true) Long filtersTimeStart,@NotNull @ApiParam(value = "Filter query parameters, support field 1681889710438", required = true) @Valid @RequestParam(value = "filters.timeEnd", required = true) Long filtersTimeEnd,@ApiParam(value = "Filter query parameters, support field module, it should be a value as follows: System, Device") @Valid @RequestParam(value = "filters.module", required = false) String filtersModule,@ApiParam(value = "Filter query parameters, support field resolved, it should be a value as follows: true, false") @Valid @RequestParam(value = "filters.resolved", required = false) Boolean filtersResolved);
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/${omada.omadac-id}/sites/{siteId}/logs/alerts : Get site alert log list
|
||||
* Get logs in site alert log page.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param page Start page number. Start from 1. (required)
|
||||
* @param pageSize Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100) (required)
|
||||
* @param filtersTimeStart Filter query parameters, support field 1679297710438 (required)
|
||||
* @param filtersTimeEnd Filter query parameters, support field 1681889710438 (required)
|
||||
* @param filtersModule Filter query parameters, support field module, it should be a value as follows: System, Device, Client (optional)
|
||||
* @param filtersResolved Filter query parameters, support field resolved, it should be a value as follows: true, false (optional)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get site alert log list", nickname = "getAlertLogsForSite", notes = "Get logs in site alert log page.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only", response = OperationResponseAlertLogGridVoAlertLogOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseAlertLogGridVoAlertLogOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/logs/alerts",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseAlertLogGridVoAlertLogOpenApiVo> getAlertLogsForSite(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100)", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize,@NotNull @ApiParam(value = "Filter query parameters, support field 1679297710438", required = true) @Valid @RequestParam(value = "filters.timeStart", required = true) Long filtersTimeStart,@NotNull @ApiParam(value = "Filter query parameters, support field 1681889710438", required = true) @Valid @RequestParam(value = "filters.timeEnd", required = true) Long filtersTimeEnd,@ApiParam(value = "Filter query parameters, support field module, it should be a value as follows: System, Device, Client") @Valid @RequestParam(value = "filters.module", required = false) String filtersModule,@ApiParam(value = "Filter query parameters, support field resolved, it should be a value as follows: true, false") @Valid @RequestParam(value = "filters.resolved", required = false) Boolean filtersResolved);
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/${omada.omadac-id}/audit-notification : Get global audit log notification
|
||||
* Get global audit log notification.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get global audit log notification", nickname = "getAuditLogSettingForGlobal", notes = "Get global audit log notification.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only", response = OperationResponseAuditLogNotificationSettingOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseAuditLogNotificationSettingOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/audit-notification",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseAuditLogNotificationSettingOpenApiVo> getAuditLogSettingForGlobal(@ApiParam(value = "Omada ID",required=true) @PathVariable("omadacId") String omadacId);
|
||||
ResponseEntity<OperationResponseAuditLogNotificationSettingOpenApiVo> getAuditLogSettingForGlobal(@ApiParam(value = "" , defaultValue="Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw") @RequestHeader(value="Authorization", required=false) String authorization);
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification : Get site audit log notification
|
||||
* Get site audit log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only
|
||||
* GET /openapi/v1/${omada.omadac-id}/sites/{siteId}/site/audit-notification : Get site audit log notification
|
||||
* Get site audit log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get site audit log notification", nickname = "getAuditLogSettingForMsp1", notes = "Get site audit log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only", response = OperationResponseAuditLogNotificationSettingOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiOperation(value = "Get site audit log notification", nickname = "getAuditLogSettingForMsp1", notes = "Get site audit log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only", response = OperationResponseAuditLogNotificationSettingOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseAuditLogNotificationSettingOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/site/audit-notification",
|
||||
@@ -65,8 +200,8 @@ public interface OmadaLogApi {
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/{omadacId}/audit-logs : Get global audit log list
|
||||
* Get audit logs in global audit page.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only
|
||||
* GET /openapi/v1/${omada.omadac-id}/audit-logs : Get global audit log list
|
||||
* Get audit logs in global audit page.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param page Start page number. Start from 1. (required)
|
||||
@@ -77,9 +212,10 @@ public interface OmadaLogApi {
|
||||
* @param filtersAuditTypes Filter query parameters, support field auditTypes, for the values of auditLog type, refer to section 5.2.2 of the Open API Access Guide, example:Log,Cloud Access,User Interface. (optional)
|
||||
* @param filtersTimes Filter query parameters, support field times, example:[{\"timeStart\":1678060800000,\"timeEnd\":1678665599999}](UrlEncode:%5B%7B%22timeStart%22%3A1678060800000%2C%22timeEnd%22%3A1678665599999%7D%5D).If this parameter is not specified (not included or empty array), the interface will query data within the default time period: [{\"timeStart\": Current timestamp minus milliseconds of 7 days,\"timeEnd\": Current timestamp}]. (optional)
|
||||
* @param searchKey Fuzzy query parameters, support field content (optional)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get global audit log list", nickname = "getAuditLogsForGlobal", notes = "Get audit logs in global audit page.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only", response = OperationResponseGridVoAuditLogOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiOperation(value = "Get global audit log list", nickname = "getAuditLogsForGlobal", notes = "Get audit logs in global audit page.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only", response = OperationResponseGridVoAuditLogOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseGridVoAuditLogOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/audit-logs",
|
||||
@@ -89,8 +225,8 @@ public interface OmadaLogApi {
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/{omadacId}/sites/{siteId}/audit-logs : Get site audit log list
|
||||
* Get audit logs in site audit page.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only
|
||||
* GET /openapi/v1/${omada.omadac-id}/sites/{siteId}/audit-logs : Get site audit log list
|
||||
* Get audit logs in site audit page.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
@@ -102,9 +238,10 @@ public interface OmadaLogApi {
|
||||
* @param filtersAuditTypes Filter query parameters, support field auditTypes, for the values of auditLog type, refer to section 5.2.2 of the Open API Access Guide, example:Log,Cloud Access,User Interface. (optional)
|
||||
* @param filtersTimes Filter query parameters, support field times, example:[{\"timeStart\":1678060800000,\"timeEnd\":1678665599999}](UrlEncode:%5B%7B%22timeStart%22%3A1678060800000%2C%22timeEnd%22%3A1678665599999%7D%5D).If this parameter is not specified (not included or empty array), the interface will query data within the default time period: [{\"timeStart\": Current timestamp minus milliseconds of 7 days,\"timeEnd\": Current timestamp}]. (optional)
|
||||
* @param searchKey Fuzzy query parameters, support field content (optional)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get site audit log list", nickname = "getAuditLogsForSite", notes = "Get audit logs in site audit page.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only", response = OperationResponseGridVoAuditLogOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiOperation(value = "Get site audit log list", nickname = "getAuditLogsForSite", notes = "Get audit logs in site audit page.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only", response = OperationResponseGridVoAuditLogOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseGridVoAuditLogOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/audit-logs",
|
||||
@@ -114,10 +251,56 @@ public interface OmadaLogApi {
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/{omadacId}/log-notification : Get global log notification
|
||||
* GET /openapi/v1/${omada.omadac-id}/logs/events : Get global event log list
|
||||
* Get logs in global event log page.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param page Start page number. Start from 1. (required)
|
||||
* @param pageSize Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100) (required)
|
||||
* @param filtersTimeStart Filter query parameters, support field 1679297710438 (required)
|
||||
* @param filtersTimeEnd Filter query parameters, support field 1681889710438 (required)
|
||||
* @param filtersModule Filter query parameters, support field module, it should be a value as follows: System, Device (optional)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get global event log list", nickname = "getEventLogsForGlobal", notes = "Get logs in global event log page.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only", response = OperationResponseEventLogGridVoEventLogOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseEventLogGridVoEventLogOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/logs/events",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseEventLogGridVoEventLogOpenApiVo> getEventLogsForGlobal(@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100)", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize,@NotNull @ApiParam(value = "Filter query parameters, support field 1679297710438", required = true) @Valid @RequestParam(value = "filters.timeStart", required = true) Long filtersTimeStart,@NotNull @ApiParam(value = "Filter query parameters, support field 1681889710438", required = true) @Valid @RequestParam(value = "filters.timeEnd", required = true) Long filtersTimeEnd,@ApiParam(value = "Filter query parameters, support field module, it should be a value as follows: System, Device") @Valid @RequestParam(value = "filters.module", required = false) String filtersModule);
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/${omada.omadac-id}/sites/{siteId}/logs/events : Get site event log list
|
||||
* Get logs in site event log page.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param page Start page number. Start from 1. (required)
|
||||
* @param pageSize Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100) (required)
|
||||
* @param filtersTimeStart Filter query parameters, support field 1679297710438 (required)
|
||||
* @param filtersTimeEnd Filter query parameters, support field 1681889710438 (required)
|
||||
* @param filtersModule Filter query parameters, support field module, it should be a value as follows: System, Device, Client (optional)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get site event log list", nickname = "getEventLogsForSite", notes = "Get logs in site event log page.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only", response = OperationResponseEventLogGridVoEventLogOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseEventLogGridVoEventLogOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/logs/events",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseEventLogGridVoEventLogOpenApiVo> getEventLogsForSite(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.(value:10,15,20,30,50,100)", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize,@NotNull @ApiParam(value = "Filter query parameters, support field 1679297710438", required = true) @Valid @RequestParam(value = "filters.timeStart", required = true) Long filtersTimeStart,@NotNull @ApiParam(value = "Filter query parameters, support field 1681889710438", required = true) @Valid @RequestParam(value = "filters.timeEnd", required = true) Long filtersTimeEnd,@ApiParam(value = "Filter query parameters, support field module, it should be a value as follows: System, Device, Client") @Valid @RequestParam(value = "filters.module", required = false) String filtersModule);
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/${omada.omadac-id}/log-notification : Get global log notification
|
||||
* Get global log notification.This interface has been deprecated.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
* @deprecated
|
||||
*/
|
||||
@@ -127,31 +310,33 @@ public interface OmadaLogApi {
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/log-notification",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseLogNotificationSettingOpenApiVo> getLogSettingForGlobal(@ApiParam(value = "Omada ID",required=true) @PathVariable("omadacId") String omadacId);
|
||||
ResponseEntity<OperationResponseLogNotificationSettingOpenApiVo> getLogSettingForGlobal(@ApiParam(value = "" , defaultValue="Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw") @RequestHeader(value="Authorization", required=false) String authorization);
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v2/{omadacId}/log-notification : Get global log notification
|
||||
* GET /openapi/v2/${omada.omadac-id}/log-notification : Get global log notification
|
||||
* Get global log notification.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get global log notification", nickname = "getLogSettingForGlobalV2", notes = "Get global log notification.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager View Only", response = OperationResponseLogNotificationSettingOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseLogNotificationSettingOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v2/{omadacId}/log-notification",
|
||||
@RequestMapping(value = "/openapi/v2/${omada.omadac-id}/log-notification",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseLogNotificationSettingOpenApiVo> getLogSettingForGlobalV2(@ApiParam(value = "Omada ID",required=true) @PathVariable("omadacId") String omadacId);
|
||||
ResponseEntity<OperationResponseLogNotificationSettingOpenApiVo> getLogSettingForGlobalV2(@ApiParam(value = "" , defaultValue="Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw") @RequestHeader(value="Authorization", required=false) String authorization);
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification : Get site log notification
|
||||
* GET /openapi/v1/${omada.omadac-id}/sites/{siteId}/site/log-notification : Get site log notification
|
||||
* Get site log notification.This interface has been deprecated.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
* @deprecated
|
||||
*/
|
||||
@@ -165,67 +350,53 @@ public interface OmadaLogApi {
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification : Get site template log notification
|
||||
* Get site template log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Site Template Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteTemplateId Site Template ID (required)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get site template log notification", nickname = "getLogSettingForSiteTemplate", notes = "Get site template log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Site Template Manager View Only", response = OperationResponseLogNotificationSettingOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseLogNotificationSettingOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sitetemplates/{siteTemplateId}/site/log-notification",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseLogNotificationSettingOpenApiVo> getLogSettingForSiteTemplate(@ApiParam(value = "Site Template ID",required=true) @PathVariable("siteTemplateId") String siteTemplateId);
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification : Get site log notification
|
||||
* GET /openapi/v2/${omada.omadac-id}/sites/{siteId}/site/log-notification : Get site log notification
|
||||
* Get site log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Get site log notification", nickname = "getLogSettingForSiteV2", notes = "Get site log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only", response = OperationResponseLogNotificationSettingOpenApiVo.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseLogNotificationSettingOpenApiVo.class) })
|
||||
@RequestMapping(value = "/openapi/v2/{omadacId}/sites/{siteId}/site/log-notification",
|
||||
@RequestMapping(value = "/openapi/v2/${omada.omadac-id}/sites/{siteId}/site/log-notification",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseLogNotificationSettingOpenApiVo> getLogSettingForSiteV2(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId);
|
||||
|
||||
|
||||
/**
|
||||
* PATCH /openapi/v1/{omadacId}/audit-notification : Modify global audit log notification
|
||||
* Modify global audit log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager Modify
|
||||
* PATCH /openapi/v1/${omada.omadac-id}/audit-notification : Modify global audit log notification
|
||||
* Modify global audit log notification.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param auditLogNotificationSettingEditOpenApiVo (optional)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Modify global audit log notification", nickname = "modifyAuditLogSettingGlobal", notes = "Modify global audit log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiOperation(value = "Modify global audit log notification", nickname = "modifyAuditLogSettingGlobal", notes = "Modify global audit log notification.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/audit-notification",
|
||||
produces = "*/*",
|
||||
consumes = "application/json",
|
||||
method = RequestMethod.PATCH)
|
||||
ResponseEntity<OperationResponseWithoutResult> modifyAuditLogSettingGlobal(@ApiParam(value = "" ) @Valid @RequestBody(required = false) AuditLogNotificationSettingEditOpenApiVo auditLogNotificationSettingEditOpenApiVo);
|
||||
ResponseEntity<OperationResponseWithoutResult> modifyAuditLogSettingGlobal(@ApiParam(value = "" , defaultValue="Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw") @RequestHeader(value="Authorization", required=false) String authorization,@ApiParam(value = "" ) @Valid @RequestBody(required = false) AuditLogNotificationSettingEditOpenApiVo auditLogNotificationSettingEditOpenApiVo);
|
||||
|
||||
|
||||
/**
|
||||
* PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/audit-notification : Modify site audit log notification
|
||||
* Modify site audit log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify
|
||||
* PATCH /openapi/v1/${omada.omadac-id}/sites/{siteId}/site/audit-notification : Modify site audit log notification
|
||||
* Modify site audit log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param auditLogNotificationSettingEditOpenApiVo (optional)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Modify site audit log notification", nickname = "modifyAuditLogSettingSite1", notes = "Modify site audit log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiOperation(value = "Modify site audit log notification", nickname = "modifyAuditLogSettingSite1", notes = "Modify site audit log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/site/audit-notification",
|
||||
@@ -236,10 +407,11 @@ public interface OmadaLogApi {
|
||||
|
||||
|
||||
/**
|
||||
* PATCH /openapi/v1/{omadacId}/log-notification : Modify global log notification
|
||||
* PATCH /openapi/v1/${omada.omadac-id}/log-notification : Modify global log notification
|
||||
* Modify global log notification.This interface has been deprecated.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param logNotificationSettingEditOpenApiVo (optional)
|
||||
* @return OK (status code 200)
|
||||
* @deprecated
|
||||
@@ -251,33 +423,35 @@ public interface OmadaLogApi {
|
||||
produces = "*/*",
|
||||
consumes = "application/json",
|
||||
method = RequestMethod.PATCH)
|
||||
ResponseEntity<OperationResponseWithoutResult> modifyLogSettingGlobal(@ApiParam(value = "" ) @Valid @RequestBody(required = false) LogNotificationSettingEditOpenApiVo logNotificationSettingEditOpenApiVo);
|
||||
ResponseEntity<OperationResponseWithoutResult> modifyLogSettingGlobal(@ApiParam(value = "" , defaultValue="Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw") @RequestHeader(value="Authorization", required=false) String authorization,@ApiParam(value = "" ) @Valid @RequestBody(required = false) LogNotificationSettingEditOpenApiVo logNotificationSettingEditOpenApiVo);
|
||||
|
||||
|
||||
/**
|
||||
* PATCH /openapi/v2/{omadacId}/log-notification : Modify global log notification
|
||||
* PATCH /openapi/v2/${omada.omadac-id}/log-notification : Modify global log notification
|
||||
* Modify global log notification.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param logNotificationSettingEditOpenApiV2Vo (optional)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Modify global log notification", nickname = "modifyLogSettingGlobalV2", notes = "Modify global log notification.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||
@RequestMapping(value = "/openapi/v2/{omadacId}/log-notification",
|
||||
@RequestMapping(value = "/openapi/v2/${omada.omadac-id}/log-notification",
|
||||
produces = "*/*",
|
||||
consumes = "application/json",
|
||||
method = RequestMethod.PATCH)
|
||||
ResponseEntity<OperationResponseWithoutResult> modifyLogSettingGlobalV2(@ApiParam(value = "" ) @Valid @RequestBody(required = false) LogNotificationSettingEditOpenApiV2Vo logNotificationSettingEditOpenApiV2Vo);
|
||||
ResponseEntity<OperationResponseWithoutResult> modifyLogSettingGlobalV2(@ApiParam(value = "" , defaultValue="Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw") @RequestHeader(value="Authorization", required=false) String authorization,@ApiParam(value = "" ) @Valid @RequestBody(required = false) LogNotificationSettingEditOpenApiV2Vo logNotificationSettingEditOpenApiV2Vo);
|
||||
|
||||
|
||||
/**
|
||||
* PATCH /openapi/v1/{omadacId}/sites/{siteId}/site/log-notification : Modify site log notification
|
||||
* PATCH /openapi/v1/${omada.omadac-id}/sites/{siteId}/site/log-notification : Modify site log notification
|
||||
* Modify site log notification.This interface has been deprecated.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param logNotificationSettingEditOpenApiVo (optional)
|
||||
* @return OK (status code 200)
|
||||
* @deprecated
|
||||
@@ -293,37 +467,19 @@ public interface OmadaLogApi {
|
||||
|
||||
|
||||
/**
|
||||
* PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification : Modify site template log notification
|
||||
* Modify site template log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Site Template Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteTemplateId Site Template ID (required)
|
||||
* @param logNotificationSettingEditOpenApiVo (optional)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Modify site template log notification", nickname = "modifyLogSettingSiteTemplate", notes = "Modify site template log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Site Template Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sitetemplates/{siteTemplateId}/site/log-notification",
|
||||
produces = "*/*",
|
||||
consumes = "application/json",
|
||||
method = RequestMethod.PATCH)
|
||||
ResponseEntity<OperationResponseWithoutResult> modifyLogSettingSiteTemplate(@ApiParam(value = "Site Template ID",required=true) @PathVariable("siteTemplateId") String siteTemplateId,@ApiParam(value = "" ) @Valid @RequestBody(required = false) LogNotificationSettingEditOpenApiVo logNotificationSettingEditOpenApiVo);
|
||||
|
||||
|
||||
/**
|
||||
* PATCH /openapi/v2/{omadacId}/sites/{siteId}/site/log-notification : Modify site log notification
|
||||
* PATCH /openapi/v2/${omada.omadac-id}/sites/{siteId}/site/log-notification : Modify site log notification
|
||||
* Modify site log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param logNotificationSettingEditOpenApiV2Vo (optional)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Modify site log notification", nickname = "modifyLogSettingSiteV2", notes = "Modify site log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||
@RequestMapping(value = "/openapi/v2/{omadacId}/sites/{siteId}/site/log-notification",
|
||||
@RequestMapping(value = "/openapi/v2/${omada.omadac-id}/sites/{siteId}/site/log-notification",
|
||||
produces = "*/*",
|
||||
consumes = "application/json",
|
||||
method = RequestMethod.PATCH)
|
||||
@@ -331,10 +487,11 @@ public interface OmadaLogApi {
|
||||
|
||||
|
||||
/**
|
||||
* POST /openapi/v1/{omadacId}/reset/log-notification : Reset global log notification
|
||||
* POST /openapi/v1/${omada.omadac-id}/reset/log-notification : Reset global log notification
|
||||
* Reset global log notification.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Reset global log notification", nickname = "resetLogSettingGlobal", notes = "Reset global log notification.<br/><br/>The interface requires one of the permissions: <br/>Global Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@@ -343,15 +500,16 @@ public interface OmadaLogApi {
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/reset/log-notification",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.POST)
|
||||
ResponseEntity<OperationResponseWithoutResult> resetLogSettingGlobal(@ApiParam(value = "Omada ID",required=true) @PathVariable("omadacId") String omadacId);
|
||||
ResponseEntity<OperationResponseWithoutResult> resetLogSettingGlobal(@ApiParam(value = "" , defaultValue="Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw") @RequestHeader(value="Authorization", required=false) String authorization);
|
||||
|
||||
|
||||
/**
|
||||
* POST /openapi/v1/{omadacId}/sites/{siteId}/site/reset/log-notification : Reset site log notification
|
||||
* POST /openapi/v1/${omada.omadac-id}/sites/{siteId}/site/reset/log-notification : Reset site log notification
|
||||
* Reset site log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Reset site log notification", nickname = "resetLogSettingSite", notes = "Reset site log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@@ -364,19 +522,22 @@ public interface OmadaLogApi {
|
||||
|
||||
|
||||
/**
|
||||
* POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/reset/log-notification : Reset site template log notification
|
||||
* Reset site template log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Site Template Manager Modify
|
||||
* POST /openapi/v1/${omada.omadac-id}/sites/{siteId}/logs/alerts/resolve : Resolve site alert log
|
||||
* Resolve site alert log.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify
|
||||
*
|
||||
* @param omadacId Omada ID (required)
|
||||
* @param siteTemplateId Site Template ID (required)
|
||||
* @param siteId Site ID (required)
|
||||
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||
* @param resolveSiteLogListOpenApiVo (optional)
|
||||
* @return OK (status code 200)
|
||||
*/
|
||||
@ApiOperation(value = "Reset site template log notification", nickname = "resetLogSettingSiteTemplate", notes = "Reset site template log notification.This interface applies to the Omada Pro Controller only. Please do not use it for non-Pro controllers.<br/><br/>The interface requires one of the permissions: <br/>Global Site Template Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiOperation(value = "Resolve site alert log", nickname = "resolveAlertForSite", notes = "Resolve site alert log.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify", response = OperationResponseWithoutResult.class, tags={ "Omada/Log","Log", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sitetemplates/{siteTemplateId}/site/reset/log-notification",
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/logs/alerts/resolve",
|
||||
produces = "*/*",
|
||||
consumes = "application/json",
|
||||
method = RequestMethod.POST)
|
||||
ResponseEntity<OperationResponseWithoutResult> resetLogSettingSiteTemplate(@ApiParam(value = "Site Template ID",required=true) @PathVariable("siteTemplateId") String siteTemplateId);
|
||||
ResponseEntity<OperationResponseWithoutResult> resolveAlertForSite(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@ApiParam(value = "" ) @Valid @RequestBody(required = false) ResolveSiteLogListOpenApiVo resolveSiteLogListOpenApiVo);
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,190 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* AlertLogGridVoAlertLogOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class AlertLogGridVoAlertLogOpenApiVo {
|
||||
@JsonProperty("totalRows")
|
||||
private Long totalRows;
|
||||
|
||||
@JsonProperty("currentPage")
|
||||
private Integer currentPage;
|
||||
|
||||
@JsonProperty("currentSize")
|
||||
private Integer currentSize;
|
||||
|
||||
@JsonProperty("data")
|
||||
@Valid
|
||||
private List<AlertLogOpenApiVo> data = null;
|
||||
|
||||
@JsonProperty("alertLogStat")
|
||||
private AlertLogStatOpenApiVo alertLogStat;
|
||||
|
||||
public AlertLogGridVoAlertLogOpenApiVo totalRows(Long totalRows) {
|
||||
this.totalRows = totalRows;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total rows of all items.
|
||||
* @return totalRows
|
||||
*/
|
||||
@ApiModelProperty(value = "Total rows of all items.")
|
||||
|
||||
|
||||
public Long getTotalRows() {
|
||||
return totalRows;
|
||||
}
|
||||
|
||||
public void setTotalRows(Long totalRows) {
|
||||
this.totalRows = totalRows;
|
||||
}
|
||||
|
||||
public AlertLogGridVoAlertLogOpenApiVo currentPage(Integer currentPage) {
|
||||
this.currentPage = currentPage;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Current page number.
|
||||
* @return currentPage
|
||||
*/
|
||||
@ApiModelProperty(value = "Current page number.")
|
||||
|
||||
|
||||
public Integer getCurrentPage() {
|
||||
return currentPage;
|
||||
}
|
||||
|
||||
public void setCurrentPage(Integer currentPage) {
|
||||
this.currentPage = currentPage;
|
||||
}
|
||||
|
||||
public AlertLogGridVoAlertLogOpenApiVo currentSize(Integer currentSize) {
|
||||
this.currentSize = currentSize;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of entries per page.
|
||||
* @return currentSize
|
||||
*/
|
||||
@ApiModelProperty(value = "Number of entries per page.")
|
||||
|
||||
|
||||
public Integer getCurrentSize() {
|
||||
return currentSize;
|
||||
}
|
||||
|
||||
public void setCurrentSize(Integer currentSize) {
|
||||
this.currentSize = currentSize;
|
||||
}
|
||||
|
||||
public AlertLogGridVoAlertLogOpenApiVo data(List<AlertLogOpenApiVo> data) {
|
||||
this.data = data;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AlertLogGridVoAlertLogOpenApiVo addDataItem(AlertLogOpenApiVo dataItem) {
|
||||
if (this.data == null) {
|
||||
this.data = new ArrayList<>();
|
||||
}
|
||||
this.data.add(dataItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get data
|
||||
* @return data
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
@Valid
|
||||
|
||||
public List<AlertLogOpenApiVo> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<AlertLogOpenApiVo> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public AlertLogGridVoAlertLogOpenApiVo alertLogStat(AlertLogStatOpenApiVo alertLogStat) {
|
||||
this.alertLogStat = alertLogStat;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get alertLogStat
|
||||
* @return alertLogStat
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
@Valid
|
||||
|
||||
public AlertLogStatOpenApiVo getAlertLogStat() {
|
||||
return alertLogStat;
|
||||
}
|
||||
|
||||
public void setAlertLogStat(AlertLogStatOpenApiVo alertLogStat) {
|
||||
this.alertLogStat = alertLogStat;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
AlertLogGridVoAlertLogOpenApiVo alertLogGridVoAlertLogOpenApiVo = (AlertLogGridVoAlertLogOpenApiVo) o;
|
||||
return Objects.equals(this.totalRows, alertLogGridVoAlertLogOpenApiVo.totalRows) &&
|
||||
Objects.equals(this.currentPage, alertLogGridVoAlertLogOpenApiVo.currentPage) &&
|
||||
Objects.equals(this.currentSize, alertLogGridVoAlertLogOpenApiVo.currentSize) &&
|
||||
Objects.equals(this.data, alertLogGridVoAlertLogOpenApiVo.data) &&
|
||||
Objects.equals(this.alertLogStat, alertLogGridVoAlertLogOpenApiVo.alertLogStat);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(totalRows, currentPage, currentSize, data, alertLogStat);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class AlertLogGridVoAlertLogOpenApiVo {\n");
|
||||
|
||||
sb.append(" totalRows: ").append(toIndentedString(totalRows)).append("\n");
|
||||
sb.append(" currentPage: ").append(toIndentedString(currentPage)).append("\n");
|
||||
sb.append(" currentSize: ").append(toIndentedString(currentSize)).append("\n");
|
||||
sb.append(" data: ").append(toIndentedString(data)).append("\n");
|
||||
sb.append(" alertLogStat: ").append(toIndentedString(alertLogStat)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,201 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* AlertLogOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class AlertLogOpenApiVo {
|
||||
@JsonProperty("id")
|
||||
private String id;
|
||||
|
||||
@JsonProperty("key")
|
||||
private String key;
|
||||
|
||||
@JsonProperty("module")
|
||||
private String module;
|
||||
|
||||
@JsonProperty("content")
|
||||
private String content;
|
||||
|
||||
@JsonProperty("time")
|
||||
private Long time;
|
||||
|
||||
@JsonProperty("level")
|
||||
private String level;
|
||||
|
||||
public AlertLogOpenApiVo id(String id) {
|
||||
this.id = id;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Log ID.
|
||||
* @return id
|
||||
*/
|
||||
@ApiModelProperty(value = "Log ID.")
|
||||
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public AlertLogOpenApiVo key(String key) {
|
||||
this.key = key;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Log key.
|
||||
* @return key
|
||||
*/
|
||||
@ApiModelProperty(value = "Log key.")
|
||||
|
||||
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
public AlertLogOpenApiVo module(String module) {
|
||||
this.module = module;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Log module.
|
||||
* @return module
|
||||
*/
|
||||
@ApiModelProperty(value = "Log module.")
|
||||
|
||||
|
||||
public String getModule() {
|
||||
return module;
|
||||
}
|
||||
|
||||
public void setModule(String module) {
|
||||
this.module = module;
|
||||
}
|
||||
|
||||
public AlertLogOpenApiVo content(String content) {
|
||||
this.content = content;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Log content.
|
||||
* @return content
|
||||
*/
|
||||
@ApiModelProperty(value = "Log content.")
|
||||
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public AlertLogOpenApiVo time(Long time) {
|
||||
this.time = time;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Log time.
|
||||
* @return time
|
||||
*/
|
||||
@ApiModelProperty(value = "Log time.")
|
||||
|
||||
|
||||
public Long getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public void setTime(Long time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
public AlertLogOpenApiVo level(String level) {
|
||||
this.level = level;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Alert log level.
|
||||
* @return level
|
||||
*/
|
||||
@ApiModelProperty(value = "Alert log level.")
|
||||
|
||||
|
||||
public String getLevel() {
|
||||
return level;
|
||||
}
|
||||
|
||||
public void setLevel(String level) {
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
AlertLogOpenApiVo alertLogOpenApiVo = (AlertLogOpenApiVo) o;
|
||||
return Objects.equals(this.id, alertLogOpenApiVo.id) &&
|
||||
Objects.equals(this.key, alertLogOpenApiVo.key) &&
|
||||
Objects.equals(this.module, alertLogOpenApiVo.module) &&
|
||||
Objects.equals(this.content, alertLogOpenApiVo.content) &&
|
||||
Objects.equals(this.time, alertLogOpenApiVo.time) &&
|
||||
Objects.equals(this.level, alertLogOpenApiVo.level);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, key, module, content, time, level);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class AlertLogOpenApiVo {\n");
|
||||
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" key: ").append(toIndentedString(key)).append("\n");
|
||||
sb.append(" module: ").append(toIndentedString(module)).append("\n");
|
||||
sb.append(" content: ").append(toIndentedString(content)).append("\n");
|
||||
sb.append(" time: ").append(toIndentedString(time)).append("\n");
|
||||
sb.append(" level: ").append(toIndentedString(level)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,178 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Alert log statistic.
|
||||
*/
|
||||
@ApiModel(description = "Alert log statistic.")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class AlertLogStatOpenApiVo {
|
||||
@JsonProperty("totalLogNum")
|
||||
private Long totalLogNum;
|
||||
|
||||
@JsonProperty("unResolvedLogNum")
|
||||
private Long unResolvedLogNum;
|
||||
|
||||
@JsonProperty("resolvedLogNum")
|
||||
private Long resolvedLogNum;
|
||||
|
||||
@JsonProperty("systemLogNum")
|
||||
private Long systemLogNum;
|
||||
|
||||
@JsonProperty("deviceLogNum")
|
||||
private Long deviceLogNum;
|
||||
|
||||
public AlertLogStatOpenApiVo totalLogNum(Long totalLogNum) {
|
||||
this.totalLogNum = totalLogNum;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total log number.
|
||||
* @return totalLogNum
|
||||
*/
|
||||
@ApiModelProperty(value = "Total log number.")
|
||||
|
||||
|
||||
public Long getTotalLogNum() {
|
||||
return totalLogNum;
|
||||
}
|
||||
|
||||
public void setTotalLogNum(Long totalLogNum) {
|
||||
this.totalLogNum = totalLogNum;
|
||||
}
|
||||
|
||||
public AlertLogStatOpenApiVo unResolvedLogNum(Long unResolvedLogNum) {
|
||||
this.unResolvedLogNum = unResolvedLogNum;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Unresolved alert log number.
|
||||
* @return unResolvedLogNum
|
||||
*/
|
||||
@ApiModelProperty(value = "Unresolved alert log number.")
|
||||
|
||||
|
||||
public Long getUnResolvedLogNum() {
|
||||
return unResolvedLogNum;
|
||||
}
|
||||
|
||||
public void setUnResolvedLogNum(Long unResolvedLogNum) {
|
||||
this.unResolvedLogNum = unResolvedLogNum;
|
||||
}
|
||||
|
||||
public AlertLogStatOpenApiVo resolvedLogNum(Long resolvedLogNum) {
|
||||
this.resolvedLogNum = resolvedLogNum;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolved alert log number.
|
||||
* @return resolvedLogNum
|
||||
*/
|
||||
@ApiModelProperty(value = "Resolved alert log number.")
|
||||
|
||||
|
||||
public Long getResolvedLogNum() {
|
||||
return resolvedLogNum;
|
||||
}
|
||||
|
||||
public void setResolvedLogNum(Long resolvedLogNum) {
|
||||
this.resolvedLogNum = resolvedLogNum;
|
||||
}
|
||||
|
||||
public AlertLogStatOpenApiVo systemLogNum(Long systemLogNum) {
|
||||
this.systemLogNum = systemLogNum;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* System alert log number.
|
||||
* @return systemLogNum
|
||||
*/
|
||||
@ApiModelProperty(value = "System alert log number.")
|
||||
|
||||
|
||||
public Long getSystemLogNum() {
|
||||
return systemLogNum;
|
||||
}
|
||||
|
||||
public void setSystemLogNum(Long systemLogNum) {
|
||||
this.systemLogNum = systemLogNum;
|
||||
}
|
||||
|
||||
public AlertLogStatOpenApiVo deviceLogNum(Long deviceLogNum) {
|
||||
this.deviceLogNum = deviceLogNum;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device alert log number.
|
||||
* @return deviceLogNum
|
||||
*/
|
||||
@ApiModelProperty(value = "Device alert log number.")
|
||||
|
||||
|
||||
public Long getDeviceLogNum() {
|
||||
return deviceLogNum;
|
||||
}
|
||||
|
||||
public void setDeviceLogNum(Long deviceLogNum) {
|
||||
this.deviceLogNum = deviceLogNum;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
AlertLogStatOpenApiVo alertLogStatOpenApiVo = (AlertLogStatOpenApiVo) o;
|
||||
return Objects.equals(this.totalLogNum, alertLogStatOpenApiVo.totalLogNum) &&
|
||||
Objects.equals(this.unResolvedLogNum, alertLogStatOpenApiVo.unResolvedLogNum) &&
|
||||
Objects.equals(this.resolvedLogNum, alertLogStatOpenApiVo.resolvedLogNum) &&
|
||||
Objects.equals(this.systemLogNum, alertLogStatOpenApiVo.systemLogNum) &&
|
||||
Objects.equals(this.deviceLogNum, alertLogStatOpenApiVo.deviceLogNum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(totalLogNum, unResolvedLogNum, resolvedLogNum, systemLogNum, deviceLogNum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class AlertLogStatOpenApiVo {\n");
|
||||
|
||||
sb.append(" totalLogNum: ").append(toIndentedString(totalLogNum)).append("\n");
|
||||
sb.append(" unResolvedLogNum: ").append(toIndentedString(unResolvedLogNum)).append("\n");
|
||||
sb.append(" resolvedLogNum: ").append(toIndentedString(resolvedLogNum)).append("\n");
|
||||
sb.append(" systemLogNum: ").append(toIndentedString(systemLogNum)).append("\n");
|
||||
sb.append(" deviceLogNum: ").append(toIndentedString(deviceLogNum)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
||||
* Audit Log Notification List
|
||||
*/
|
||||
@ApiModel(description = "Audit Log Notification List")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class AuditLogNotificationEditOpenApiVo {
|
||||
@JsonProperty("key")
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.util.Objects;
|
||||
* Audit Log Notification List
|
||||
*/
|
||||
@ApiModel(description = "Audit Log Notification List")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class AuditLogNotificationOpenApiVo {
|
||||
@JsonProperty("key")
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.util.Objects;
|
||||
/**
|
||||
* AuditLogNotificationSettingEditOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class AuditLogNotificationSettingEditOpenApiVo {
|
||||
@JsonProperty("webhookConfig")
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
||||
/**
|
||||
* AuditLogNotificationSettingOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class AuditLogNotificationSettingOpenApiVo {
|
||||
@JsonProperty("webhookConfig")
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.util.Objects;
|
||||
/**
|
||||
* AuditLogOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class AuditLogOpenApiVo {
|
||||
@JsonProperty("time")
|
||||
|
||||
@@ -0,0 +1,192 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* DeleteGlobalAlertLogListOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class DeleteGlobalAlertLogListOpenApiVo {
|
||||
@JsonProperty("logs")
|
||||
@Valid
|
||||
private List<String> logs = null;
|
||||
|
||||
@JsonProperty("selectType")
|
||||
private String selectType;
|
||||
|
||||
@JsonProperty("startTime")
|
||||
private Long startTime;
|
||||
|
||||
@JsonProperty("endTime")
|
||||
private Long endTime;
|
||||
|
||||
@JsonProperty("filterModule")
|
||||
private String filterModule;
|
||||
|
||||
public DeleteGlobalAlertLogListOpenApiVo logs(List<String> logs) {
|
||||
this.logs = logs;
|
||||
return this;
|
||||
}
|
||||
|
||||
public DeleteGlobalAlertLogListOpenApiVo addLogsItem(String logsItem) {
|
||||
if (this.logs == null) {
|
||||
this.logs = new ArrayList<>();
|
||||
}
|
||||
this.logs.add(logsItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Select the logs to delete; Log ID list can be obtained from 'Get global alert log list' interface.
|
||||
* @return logs
|
||||
*/
|
||||
@ApiModelProperty(value = "Select the logs to delete; Log ID list can be obtained from 'Get global alert log list' interface.")
|
||||
|
||||
|
||||
public List<String> getLogs() {
|
||||
return logs;
|
||||
}
|
||||
|
||||
public void setLogs(List<String> logs) {
|
||||
this.logs = logs;
|
||||
}
|
||||
|
||||
public DeleteGlobalAlertLogListOpenApiVo selectType(String selectType) {
|
||||
this.selectType = selectType;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').
|
||||
* @return selectType
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').")
|
||||
@NotNull
|
||||
|
||||
|
||||
public String getSelectType() {
|
||||
return selectType;
|
||||
}
|
||||
|
||||
public void setSelectType(String selectType) {
|
||||
this.selectType = selectType;
|
||||
}
|
||||
|
||||
public DeleteGlobalAlertLogListOpenApiVo startTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The start timeStamp of the delete global alert log, unit: MS.
|
||||
* @return startTime
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "The start timeStamp of the delete global alert log, unit: MS.")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Long getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public DeleteGlobalAlertLogListOpenApiVo endTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The end timeStamp of the delete global alert log, unit: MS.
|
||||
* @return endTime
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "The end timeStamp of the delete global alert log, unit: MS.")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Long getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public DeleteGlobalAlertLogListOpenApiVo filterModule(String filterModule) {
|
||||
this.filterModule = filterModule;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The module of the delete global log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.
|
||||
* @return filterModule
|
||||
*/
|
||||
@ApiModelProperty(value = "The module of the delete global log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.")
|
||||
|
||||
|
||||
public String getFilterModule() {
|
||||
return filterModule;
|
||||
}
|
||||
|
||||
public void setFilterModule(String filterModule) {
|
||||
this.filterModule = filterModule;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
DeleteGlobalAlertLogListOpenApiVo deleteGlobalAlertLogListOpenApiVo = (DeleteGlobalAlertLogListOpenApiVo) o;
|
||||
return Objects.equals(this.logs, deleteGlobalAlertLogListOpenApiVo.logs) &&
|
||||
Objects.equals(this.selectType, deleteGlobalAlertLogListOpenApiVo.selectType) &&
|
||||
Objects.equals(this.startTime, deleteGlobalAlertLogListOpenApiVo.startTime) &&
|
||||
Objects.equals(this.endTime, deleteGlobalAlertLogListOpenApiVo.endTime) &&
|
||||
Objects.equals(this.filterModule, deleteGlobalAlertLogListOpenApiVo.filterModule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(logs, selectType, startTime, endTime, filterModule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class DeleteGlobalAlertLogListOpenApiVo {\n");
|
||||
|
||||
sb.append(" logs: ").append(toIndentedString(logs)).append("\n");
|
||||
sb.append(" selectType: ").append(toIndentedString(selectType)).append("\n");
|
||||
sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n");
|
||||
sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
|
||||
sb.append(" filterModule: ").append(toIndentedString(filterModule)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,192 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* DeleteGlobalEventLogListOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class DeleteGlobalEventLogListOpenApiVo {
|
||||
@JsonProperty("logs")
|
||||
@Valid
|
||||
private List<String> logs = null;
|
||||
|
||||
@JsonProperty("selectType")
|
||||
private String selectType;
|
||||
|
||||
@JsonProperty("startTime")
|
||||
private Long startTime;
|
||||
|
||||
@JsonProperty("endTime")
|
||||
private Long endTime;
|
||||
|
||||
@JsonProperty("filterModule")
|
||||
private String filterModule;
|
||||
|
||||
public DeleteGlobalEventLogListOpenApiVo logs(List<String> logs) {
|
||||
this.logs = logs;
|
||||
return this;
|
||||
}
|
||||
|
||||
public DeleteGlobalEventLogListOpenApiVo addLogsItem(String logsItem) {
|
||||
if (this.logs == null) {
|
||||
this.logs = new ArrayList<>();
|
||||
}
|
||||
this.logs.add(logsItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Select the logs to delete; Log ID list can be obtained from 'Get global event log list' interface.
|
||||
* @return logs
|
||||
*/
|
||||
@ApiModelProperty(value = "Select the logs to delete; Log ID list can be obtained from 'Get global event log list' interface.")
|
||||
|
||||
|
||||
public List<String> getLogs() {
|
||||
return logs;
|
||||
}
|
||||
|
||||
public void setLogs(List<String> logs) {
|
||||
this.logs = logs;
|
||||
}
|
||||
|
||||
public DeleteGlobalEventLogListOpenApiVo selectType(String selectType) {
|
||||
this.selectType = selectType;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').
|
||||
* @return selectType
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').")
|
||||
@NotNull
|
||||
|
||||
|
||||
public String getSelectType() {
|
||||
return selectType;
|
||||
}
|
||||
|
||||
public void setSelectType(String selectType) {
|
||||
this.selectType = selectType;
|
||||
}
|
||||
|
||||
public DeleteGlobalEventLogListOpenApiVo startTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The start timeStamp of the delete global event log, unit: MS.
|
||||
* @return startTime
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "The start timeStamp of the delete global event log, unit: MS.")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Long getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public DeleteGlobalEventLogListOpenApiVo endTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The end timeStamp of the delete global event log, unit: MS.
|
||||
* @return endTime
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "The end timeStamp of the delete global event log, unit: MS.")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Long getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public DeleteGlobalEventLogListOpenApiVo filterModule(String filterModule) {
|
||||
this.filterModule = filterModule;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The module of the delete global log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.
|
||||
* @return filterModule
|
||||
*/
|
||||
@ApiModelProperty(value = "The module of the delete global log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.")
|
||||
|
||||
|
||||
public String getFilterModule() {
|
||||
return filterModule;
|
||||
}
|
||||
|
||||
public void setFilterModule(String filterModule) {
|
||||
this.filterModule = filterModule;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
DeleteGlobalEventLogListOpenApiVo deleteGlobalEventLogListOpenApiVo = (DeleteGlobalEventLogListOpenApiVo) o;
|
||||
return Objects.equals(this.logs, deleteGlobalEventLogListOpenApiVo.logs) &&
|
||||
Objects.equals(this.selectType, deleteGlobalEventLogListOpenApiVo.selectType) &&
|
||||
Objects.equals(this.startTime, deleteGlobalEventLogListOpenApiVo.startTime) &&
|
||||
Objects.equals(this.endTime, deleteGlobalEventLogListOpenApiVo.endTime) &&
|
||||
Objects.equals(this.filterModule, deleteGlobalEventLogListOpenApiVo.filterModule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(logs, selectType, startTime, endTime, filterModule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class DeleteGlobalEventLogListOpenApiVo {\n");
|
||||
|
||||
sb.append(" logs: ").append(toIndentedString(logs)).append("\n");
|
||||
sb.append(" selectType: ").append(toIndentedString(selectType)).append("\n");
|
||||
sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n");
|
||||
sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
|
||||
sb.append(" filterModule: ").append(toIndentedString(filterModule)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,192 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* DeleteSiteAlertLogListOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class DeleteSiteAlertLogListOpenApiVo {
|
||||
@JsonProperty("logs")
|
||||
@Valid
|
||||
private List<String> logs = null;
|
||||
|
||||
@JsonProperty("selectType")
|
||||
private String selectType;
|
||||
|
||||
@JsonProperty("startTime")
|
||||
private Long startTime;
|
||||
|
||||
@JsonProperty("endTime")
|
||||
private Long endTime;
|
||||
|
||||
@JsonProperty("filterModule")
|
||||
private String filterModule;
|
||||
|
||||
public DeleteSiteAlertLogListOpenApiVo logs(List<String> logs) {
|
||||
this.logs = logs;
|
||||
return this;
|
||||
}
|
||||
|
||||
public DeleteSiteAlertLogListOpenApiVo addLogsItem(String logsItem) {
|
||||
if (this.logs == null) {
|
||||
this.logs = new ArrayList<>();
|
||||
}
|
||||
this.logs.add(logsItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Select the logs to delete; Log ID list can be obtained from 'Get site alert log list' interface.
|
||||
* @return logs
|
||||
*/
|
||||
@ApiModelProperty(value = "Select the logs to delete; Log ID list can be obtained from 'Get site alert log list' interface.")
|
||||
|
||||
|
||||
public List<String> getLogs() {
|
||||
return logs;
|
||||
}
|
||||
|
||||
public void setLogs(List<String> logs) {
|
||||
this.logs = logs;
|
||||
}
|
||||
|
||||
public DeleteSiteAlertLogListOpenApiVo selectType(String selectType) {
|
||||
this.selectType = selectType;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').
|
||||
* @return selectType
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').")
|
||||
@NotNull
|
||||
|
||||
|
||||
public String getSelectType() {
|
||||
return selectType;
|
||||
}
|
||||
|
||||
public void setSelectType(String selectType) {
|
||||
this.selectType = selectType;
|
||||
}
|
||||
|
||||
public DeleteSiteAlertLogListOpenApiVo startTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The start timeStamp of the delete site alert log, unit: MS.
|
||||
* @return startTime
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "The start timeStamp of the delete site alert log, unit: MS.")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Long getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public DeleteSiteAlertLogListOpenApiVo endTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The end timeStamp of the delete site alert log, unit: MS.
|
||||
* @return endTime
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "The end timeStamp of the delete site alert log, unit: MS.")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Long getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public DeleteSiteAlertLogListOpenApiVo filterModule(String filterModule) {
|
||||
this.filterModule = filterModule;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The module of the delete site alert log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.
|
||||
* @return filterModule
|
||||
*/
|
||||
@ApiModelProperty(value = "The module of the delete site alert log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.")
|
||||
|
||||
|
||||
public String getFilterModule() {
|
||||
return filterModule;
|
||||
}
|
||||
|
||||
public void setFilterModule(String filterModule) {
|
||||
this.filterModule = filterModule;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
DeleteSiteAlertLogListOpenApiVo deleteSiteAlertLogListOpenApiVo = (DeleteSiteAlertLogListOpenApiVo) o;
|
||||
return Objects.equals(this.logs, deleteSiteAlertLogListOpenApiVo.logs) &&
|
||||
Objects.equals(this.selectType, deleteSiteAlertLogListOpenApiVo.selectType) &&
|
||||
Objects.equals(this.startTime, deleteSiteAlertLogListOpenApiVo.startTime) &&
|
||||
Objects.equals(this.endTime, deleteSiteAlertLogListOpenApiVo.endTime) &&
|
||||
Objects.equals(this.filterModule, deleteSiteAlertLogListOpenApiVo.filterModule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(logs, selectType, startTime, endTime, filterModule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class DeleteSiteAlertLogListOpenApiVo {\n");
|
||||
|
||||
sb.append(" logs: ").append(toIndentedString(logs)).append("\n");
|
||||
sb.append(" selectType: ").append(toIndentedString(selectType)).append("\n");
|
||||
sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n");
|
||||
sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
|
||||
sb.append(" filterModule: ").append(toIndentedString(filterModule)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,192 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* DeleteSiteEventLogListOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class DeleteSiteEventLogListOpenApiVo {
|
||||
@JsonProperty("logs")
|
||||
@Valid
|
||||
private List<String> logs = null;
|
||||
|
||||
@JsonProperty("selectType")
|
||||
private String selectType;
|
||||
|
||||
@JsonProperty("startTime")
|
||||
private Long startTime;
|
||||
|
||||
@JsonProperty("endTime")
|
||||
private Long endTime;
|
||||
|
||||
@JsonProperty("filterModule")
|
||||
private String filterModule;
|
||||
|
||||
public DeleteSiteEventLogListOpenApiVo logs(List<String> logs) {
|
||||
this.logs = logs;
|
||||
return this;
|
||||
}
|
||||
|
||||
public DeleteSiteEventLogListOpenApiVo addLogsItem(String logsItem) {
|
||||
if (this.logs == null) {
|
||||
this.logs = new ArrayList<>();
|
||||
}
|
||||
this.logs.add(logsItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Select the logs to delete; Log ID list can be obtained from 'Get site event log list' interface.
|
||||
* @return logs
|
||||
*/
|
||||
@ApiModelProperty(value = "Select the logs to delete; Log ID list can be obtained from 'Get site event log list' interface.")
|
||||
|
||||
|
||||
public List<String> getLogs() {
|
||||
return logs;
|
||||
}
|
||||
|
||||
public void setLogs(List<String> logs) {
|
||||
this.logs = logs;
|
||||
}
|
||||
|
||||
public DeleteSiteEventLogListOpenApiVo selectType(String selectType) {
|
||||
this.selectType = selectType;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').
|
||||
* @return selectType
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').")
|
||||
@NotNull
|
||||
|
||||
|
||||
public String getSelectType() {
|
||||
return selectType;
|
||||
}
|
||||
|
||||
public void setSelectType(String selectType) {
|
||||
this.selectType = selectType;
|
||||
}
|
||||
|
||||
public DeleteSiteEventLogListOpenApiVo startTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The start timeStamp of the delete site event log, unit: MS.
|
||||
* @return startTime
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "The start timeStamp of the delete site event log, unit: MS.")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Long getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public DeleteSiteEventLogListOpenApiVo endTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The end timeStamp of the delete site event log, unit: MS.
|
||||
* @return endTime
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "The end timeStamp of the delete site event log, unit: MS.")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Long getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public DeleteSiteEventLogListOpenApiVo filterModule(String filterModule) {
|
||||
this.filterModule = filterModule;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The module of the delete site event log; It is required when [selectType] is 'all', filterModule should be a value as follows: ['System', 'Device', 'Client'].
|
||||
* @return filterModule
|
||||
*/
|
||||
@ApiModelProperty(value = "The module of the delete site event log; It is required when [selectType] is 'all', filterModule should be a value as follows: ['System', 'Device', 'Client'].")
|
||||
|
||||
|
||||
public String getFilterModule() {
|
||||
return filterModule;
|
||||
}
|
||||
|
||||
public void setFilterModule(String filterModule) {
|
||||
this.filterModule = filterModule;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
DeleteSiteEventLogListOpenApiVo deleteSiteEventLogListOpenApiVo = (DeleteSiteEventLogListOpenApiVo) o;
|
||||
return Objects.equals(this.logs, deleteSiteEventLogListOpenApiVo.logs) &&
|
||||
Objects.equals(this.selectType, deleteSiteEventLogListOpenApiVo.selectType) &&
|
||||
Objects.equals(this.startTime, deleteSiteEventLogListOpenApiVo.startTime) &&
|
||||
Objects.equals(this.endTime, deleteSiteEventLogListOpenApiVo.endTime) &&
|
||||
Objects.equals(this.filterModule, deleteSiteEventLogListOpenApiVo.filterModule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(logs, selectType, startTime, endTime, filterModule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class DeleteSiteEventLogListOpenApiVo {\n");
|
||||
|
||||
sb.append(" logs: ").append(toIndentedString(logs)).append("\n");
|
||||
sb.append(" selectType: ").append(toIndentedString(selectType)).append("\n");
|
||||
sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n");
|
||||
sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
|
||||
sb.append(" filterModule: ").append(toIndentedString(filterModule)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,190 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* EventLogGridVoEventLogOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class EventLogGridVoEventLogOpenApiVo {
|
||||
@JsonProperty("totalRows")
|
||||
private Long totalRows;
|
||||
|
||||
@JsonProperty("currentPage")
|
||||
private Integer currentPage;
|
||||
|
||||
@JsonProperty("currentSize")
|
||||
private Integer currentSize;
|
||||
|
||||
@JsonProperty("data")
|
||||
@Valid
|
||||
private List<EventLogOpenApiVo> data = null;
|
||||
|
||||
@JsonProperty("eventLogStat")
|
||||
private EventLogStatOpenApiVo eventLogStat;
|
||||
|
||||
public EventLogGridVoEventLogOpenApiVo totalRows(Long totalRows) {
|
||||
this.totalRows = totalRows;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total rows of all items.
|
||||
* @return totalRows
|
||||
*/
|
||||
@ApiModelProperty(value = "Total rows of all items.")
|
||||
|
||||
|
||||
public Long getTotalRows() {
|
||||
return totalRows;
|
||||
}
|
||||
|
||||
public void setTotalRows(Long totalRows) {
|
||||
this.totalRows = totalRows;
|
||||
}
|
||||
|
||||
public EventLogGridVoEventLogOpenApiVo currentPage(Integer currentPage) {
|
||||
this.currentPage = currentPage;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Current page number.
|
||||
* @return currentPage
|
||||
*/
|
||||
@ApiModelProperty(value = "Current page number.")
|
||||
|
||||
|
||||
public Integer getCurrentPage() {
|
||||
return currentPage;
|
||||
}
|
||||
|
||||
public void setCurrentPage(Integer currentPage) {
|
||||
this.currentPage = currentPage;
|
||||
}
|
||||
|
||||
public EventLogGridVoEventLogOpenApiVo currentSize(Integer currentSize) {
|
||||
this.currentSize = currentSize;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of entries per page.
|
||||
* @return currentSize
|
||||
*/
|
||||
@ApiModelProperty(value = "Number of entries per page.")
|
||||
|
||||
|
||||
public Integer getCurrentSize() {
|
||||
return currentSize;
|
||||
}
|
||||
|
||||
public void setCurrentSize(Integer currentSize) {
|
||||
this.currentSize = currentSize;
|
||||
}
|
||||
|
||||
public EventLogGridVoEventLogOpenApiVo data(List<EventLogOpenApiVo> data) {
|
||||
this.data = data;
|
||||
return this;
|
||||
}
|
||||
|
||||
public EventLogGridVoEventLogOpenApiVo addDataItem(EventLogOpenApiVo dataItem) {
|
||||
if (this.data == null) {
|
||||
this.data = new ArrayList<>();
|
||||
}
|
||||
this.data.add(dataItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get data
|
||||
* @return data
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
@Valid
|
||||
|
||||
public List<EventLogOpenApiVo> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<EventLogOpenApiVo> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public EventLogGridVoEventLogOpenApiVo eventLogStat(EventLogStatOpenApiVo eventLogStat) {
|
||||
this.eventLogStat = eventLogStat;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get eventLogStat
|
||||
* @return eventLogStat
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
@Valid
|
||||
|
||||
public EventLogStatOpenApiVo getEventLogStat() {
|
||||
return eventLogStat;
|
||||
}
|
||||
|
||||
public void setEventLogStat(EventLogStatOpenApiVo eventLogStat) {
|
||||
this.eventLogStat = eventLogStat;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
EventLogGridVoEventLogOpenApiVo eventLogGridVoEventLogOpenApiVo = (EventLogGridVoEventLogOpenApiVo) o;
|
||||
return Objects.equals(this.totalRows, eventLogGridVoEventLogOpenApiVo.totalRows) &&
|
||||
Objects.equals(this.currentPage, eventLogGridVoEventLogOpenApiVo.currentPage) &&
|
||||
Objects.equals(this.currentSize, eventLogGridVoEventLogOpenApiVo.currentSize) &&
|
||||
Objects.equals(this.data, eventLogGridVoEventLogOpenApiVo.data) &&
|
||||
Objects.equals(this.eventLogStat, eventLogGridVoEventLogOpenApiVo.eventLogStat);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(totalRows, currentPage, currentSize, data, eventLogStat);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class EventLogGridVoEventLogOpenApiVo {\n");
|
||||
|
||||
sb.append(" totalRows: ").append(toIndentedString(totalRows)).append("\n");
|
||||
sb.append(" currentPage: ").append(toIndentedString(currentPage)).append("\n");
|
||||
sb.append(" currentSize: ").append(toIndentedString(currentSize)).append("\n");
|
||||
sb.append(" data: ").append(toIndentedString(data)).append("\n");
|
||||
sb.append(" eventLogStat: ").append(toIndentedString(eventLogStat)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,176 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* EventLogOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class EventLogOpenApiVo {
|
||||
@JsonProperty("id")
|
||||
private String id;
|
||||
|
||||
@JsonProperty("key")
|
||||
private String key;
|
||||
|
||||
@JsonProperty("module")
|
||||
private String module;
|
||||
|
||||
@JsonProperty("content")
|
||||
private String content;
|
||||
|
||||
@JsonProperty("time")
|
||||
private Long time;
|
||||
|
||||
public EventLogOpenApiVo id(String id) {
|
||||
this.id = id;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Log ID.
|
||||
* @return id
|
||||
*/
|
||||
@ApiModelProperty(value = "Log ID.")
|
||||
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public EventLogOpenApiVo key(String key) {
|
||||
this.key = key;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Log key.
|
||||
* @return key
|
||||
*/
|
||||
@ApiModelProperty(value = "Log key.")
|
||||
|
||||
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
public EventLogOpenApiVo module(String module) {
|
||||
this.module = module;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Log module.
|
||||
* @return module
|
||||
*/
|
||||
@ApiModelProperty(value = "Log module.")
|
||||
|
||||
|
||||
public String getModule() {
|
||||
return module;
|
||||
}
|
||||
|
||||
public void setModule(String module) {
|
||||
this.module = module;
|
||||
}
|
||||
|
||||
public EventLogOpenApiVo content(String content) {
|
||||
this.content = content;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Log content.
|
||||
* @return content
|
||||
*/
|
||||
@ApiModelProperty(value = "Log content.")
|
||||
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public EventLogOpenApiVo time(Long time) {
|
||||
this.time = time;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Log time.
|
||||
* @return time
|
||||
*/
|
||||
@ApiModelProperty(value = "Log time.")
|
||||
|
||||
|
||||
public Long getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public void setTime(Long time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
EventLogOpenApiVo eventLogOpenApiVo = (EventLogOpenApiVo) o;
|
||||
return Objects.equals(this.id, eventLogOpenApiVo.id) &&
|
||||
Objects.equals(this.key, eventLogOpenApiVo.key) &&
|
||||
Objects.equals(this.module, eventLogOpenApiVo.module) &&
|
||||
Objects.equals(this.content, eventLogOpenApiVo.content) &&
|
||||
Objects.equals(this.time, eventLogOpenApiVo.time);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, key, module, content, time);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class EventLogOpenApiVo {\n");
|
||||
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" key: ").append(toIndentedString(key)).append("\n");
|
||||
sb.append(" module: ").append(toIndentedString(module)).append("\n");
|
||||
sb.append(" content: ").append(toIndentedString(content)).append("\n");
|
||||
sb.append(" time: ").append(toIndentedString(time)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,153 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Event log statistic.
|
||||
*/
|
||||
@ApiModel(description = "Event log statistic.")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class EventLogStatOpenApiVo {
|
||||
@JsonProperty("totalLogNum")
|
||||
private Long totalLogNum;
|
||||
|
||||
@JsonProperty("systemLogNum")
|
||||
private Long systemLogNum;
|
||||
|
||||
@JsonProperty("deviceLogNum")
|
||||
private Long deviceLogNum;
|
||||
|
||||
@JsonProperty("clientLogNum")
|
||||
private Long clientLogNum;
|
||||
|
||||
public EventLogStatOpenApiVo totalLogNum(Long totalLogNum) {
|
||||
this.totalLogNum = totalLogNum;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total log number.
|
||||
* @return totalLogNum
|
||||
*/
|
||||
@ApiModelProperty(value = "Total log number.")
|
||||
|
||||
|
||||
public Long getTotalLogNum() {
|
||||
return totalLogNum;
|
||||
}
|
||||
|
||||
public void setTotalLogNum(Long totalLogNum) {
|
||||
this.totalLogNum = totalLogNum;
|
||||
}
|
||||
|
||||
public EventLogStatOpenApiVo systemLogNum(Long systemLogNum) {
|
||||
this.systemLogNum = systemLogNum;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* System event log number.
|
||||
* @return systemLogNum
|
||||
*/
|
||||
@ApiModelProperty(value = "System event log number.")
|
||||
|
||||
|
||||
public Long getSystemLogNum() {
|
||||
return systemLogNum;
|
||||
}
|
||||
|
||||
public void setSystemLogNum(Long systemLogNum) {
|
||||
this.systemLogNum = systemLogNum;
|
||||
}
|
||||
|
||||
public EventLogStatOpenApiVo deviceLogNum(Long deviceLogNum) {
|
||||
this.deviceLogNum = deviceLogNum;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Device event log number.
|
||||
* @return deviceLogNum
|
||||
*/
|
||||
@ApiModelProperty(value = "Device event log number.")
|
||||
|
||||
|
||||
public Long getDeviceLogNum() {
|
||||
return deviceLogNum;
|
||||
}
|
||||
|
||||
public void setDeviceLogNum(Long deviceLogNum) {
|
||||
this.deviceLogNum = deviceLogNum;
|
||||
}
|
||||
|
||||
public EventLogStatOpenApiVo clientLogNum(Long clientLogNum) {
|
||||
this.clientLogNum = clientLogNum;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Client event log number.
|
||||
* @return clientLogNum
|
||||
*/
|
||||
@ApiModelProperty(value = "Client event log number.")
|
||||
|
||||
|
||||
public Long getClientLogNum() {
|
||||
return clientLogNum;
|
||||
}
|
||||
|
||||
public void setClientLogNum(Long clientLogNum) {
|
||||
this.clientLogNum = clientLogNum;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
EventLogStatOpenApiVo eventLogStatOpenApiVo = (EventLogStatOpenApiVo) o;
|
||||
return Objects.equals(this.totalLogNum, eventLogStatOpenApiVo.totalLogNum) &&
|
||||
Objects.equals(this.systemLogNum, eventLogStatOpenApiVo.systemLogNum) &&
|
||||
Objects.equals(this.deviceLogNum, eventLogStatOpenApiVo.deviceLogNum) &&
|
||||
Objects.equals(this.clientLogNum, eventLogStatOpenApiVo.clientLogNum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(totalLogNum, systemLogNum, deviceLogNum, clientLogNum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class EventLogStatOpenApiVo {\n");
|
||||
|
||||
sb.append(" totalLogNum: ").append(toIndentedString(totalLogNum)).append("\n");
|
||||
sb.append(" systemLogNum: ").append(toIndentedString(systemLogNum)).append("\n");
|
||||
sb.append(" deviceLogNum: ").append(toIndentedString(deviceLogNum)).append("\n");
|
||||
sb.append(" clientLogNum: ").append(toIndentedString(clientLogNum)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
||||
/**
|
||||
* GridVoAuditLogOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class GridVoAuditLogOpenApiVo {
|
||||
@JsonProperty("totalRows")
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.util.Objects;
|
||||
* Log Event Email (This config applies to the log site view)
|
||||
*/
|
||||
@ApiModel(description = "Log Event Email (This config applies to the log site view)")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class LogAlertEmailOpenApiVo {
|
||||
@JsonProperty("alertEmailEnable")
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
||||
* Event Notification List
|
||||
*/
|
||||
@ApiModel(description = "Event Notification List")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class LogNotificationEditOpenApiV2Vo {
|
||||
@JsonProperty("key")
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
||||
* Log Notification List
|
||||
*/
|
||||
@ApiModel(description = "Log Notification List")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class LogNotificationEditOpenApiVo {
|
||||
@JsonProperty("key")
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.util.Objects;
|
||||
* Log Notification List
|
||||
*/
|
||||
@ApiModel(description = "Log Notification List")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class LogNotificationOpenApiVo {
|
||||
@JsonProperty("key")
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
||||
/**
|
||||
* LogNotificationSettingEditOpenApiV2Vo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class LogNotificationSettingEditOpenApiV2Vo {
|
||||
@JsonProperty("webhookConfig")
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.util.Objects;
|
||||
/**
|
||||
* LogNotificationSettingEditOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class LogNotificationSettingEditOpenApiVo {
|
||||
@JsonProperty("webhookConfig")
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
||||
/**
|
||||
* LogNotificationSettingOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class LogNotificationSettingOpenApiVo {
|
||||
@JsonProperty("webhookConfig")
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* OperationResponseAlertLogGridVoAlertLogOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class OperationResponseAlertLogGridVoAlertLogOpenApiVo {
|
||||
@JsonProperty("errorCode")
|
||||
private Integer errorCode;
|
||||
|
||||
@JsonProperty("msg")
|
||||
private String msg;
|
||||
|
||||
@JsonProperty("result")
|
||||
private AlertLogGridVoAlertLogOpenApiVo result;
|
||||
|
||||
public OperationResponseAlertLogGridVoAlertLogOpenApiVo errorCode(Integer errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get errorCode
|
||||
* @return errorCode
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
|
||||
public Integer getErrorCode() {
|
||||
return errorCode;
|
||||
}
|
||||
|
||||
public void setErrorCode(Integer errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
public OperationResponseAlertLogGridVoAlertLogOpenApiVo msg(String msg) {
|
||||
this.msg = msg;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get msg
|
||||
* @return msg
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public OperationResponseAlertLogGridVoAlertLogOpenApiVo result(AlertLogGridVoAlertLogOpenApiVo result) {
|
||||
this.result = result;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get result
|
||||
* @return result
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
@Valid
|
||||
|
||||
public AlertLogGridVoAlertLogOpenApiVo getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(AlertLogGridVoAlertLogOpenApiVo result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
OperationResponseAlertLogGridVoAlertLogOpenApiVo operationResponseAlertLogGridVoAlertLogOpenApiVo = (OperationResponseAlertLogGridVoAlertLogOpenApiVo) o;
|
||||
return Objects.equals(this.errorCode, operationResponseAlertLogGridVoAlertLogOpenApiVo.errorCode) &&
|
||||
Objects.equals(this.msg, operationResponseAlertLogGridVoAlertLogOpenApiVo.msg) &&
|
||||
Objects.equals(this.result, operationResponseAlertLogGridVoAlertLogOpenApiVo.result);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(errorCode, msg, result);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class OperationResponseAlertLogGridVoAlertLogOpenApiVo {\n");
|
||||
|
||||
sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n");
|
||||
sb.append(" msg: ").append(toIndentedString(msg)).append("\n");
|
||||
sb.append(" result: ").append(toIndentedString(result)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.util.Objects;
|
||||
/**
|
||||
* OperationResponseAuditLogNotificationSettingOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class OperationResponseAuditLogNotificationSettingOpenApiVo {
|
||||
@JsonProperty("errorCode")
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* OperationResponseEventLogGridVoEventLogOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class OperationResponseEventLogGridVoEventLogOpenApiVo {
|
||||
@JsonProperty("errorCode")
|
||||
private Integer errorCode;
|
||||
|
||||
@JsonProperty("msg")
|
||||
private String msg;
|
||||
|
||||
@JsonProperty("result")
|
||||
private EventLogGridVoEventLogOpenApiVo result;
|
||||
|
||||
public OperationResponseEventLogGridVoEventLogOpenApiVo errorCode(Integer errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get errorCode
|
||||
* @return errorCode
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
|
||||
public Integer getErrorCode() {
|
||||
return errorCode;
|
||||
}
|
||||
|
||||
public void setErrorCode(Integer errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
public OperationResponseEventLogGridVoEventLogOpenApiVo msg(String msg) {
|
||||
this.msg = msg;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get msg
|
||||
* @return msg
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public OperationResponseEventLogGridVoEventLogOpenApiVo result(EventLogGridVoEventLogOpenApiVo result) {
|
||||
this.result = result;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get result
|
||||
* @return result
|
||||
*/
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
@Valid
|
||||
|
||||
public EventLogGridVoEventLogOpenApiVo getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(EventLogGridVoEventLogOpenApiVo result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
OperationResponseEventLogGridVoEventLogOpenApiVo operationResponseEventLogGridVoEventLogOpenApiVo = (OperationResponseEventLogGridVoEventLogOpenApiVo) o;
|
||||
return Objects.equals(this.errorCode, operationResponseEventLogGridVoEventLogOpenApiVo.errorCode) &&
|
||||
Objects.equals(this.msg, operationResponseEventLogGridVoEventLogOpenApiVo.msg) &&
|
||||
Objects.equals(this.result, operationResponseEventLogGridVoEventLogOpenApiVo.result);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(errorCode, msg, result);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class OperationResponseEventLogGridVoEventLogOpenApiVo {\n");
|
||||
|
||||
sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n");
|
||||
sb.append(" msg: ").append(toIndentedString(msg)).append("\n");
|
||||
sb.append(" result: ").append(toIndentedString(result)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.util.Objects;
|
||||
/**
|
||||
* OperationResponseGridVoAuditLogOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class OperationResponseGridVoAuditLogOpenApiVo {
|
||||
@JsonProperty("errorCode")
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.util.Objects;
|
||||
/**
|
||||
* OperationResponseLogNotificationSettingOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class OperationResponseLogNotificationSettingOpenApiVo {
|
||||
@JsonProperty("errorCode")
|
||||
|
||||
@@ -8,7 +8,7 @@ import java.util.Objects;
|
||||
/**
|
||||
* OperationResponseWithoutResult
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class OperationResponseWithoutResult {
|
||||
@JsonProperty("errorCode")
|
||||
|
||||
@@ -0,0 +1,192 @@
|
||||
package org.wfc.omada.api.log.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* ResolveSiteLogListOpenApiVo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class ResolveSiteLogListOpenApiVo {
|
||||
@JsonProperty("logs")
|
||||
@Valid
|
||||
private List<String> logs = null;
|
||||
|
||||
@JsonProperty("selectType")
|
||||
private String selectType;
|
||||
|
||||
@JsonProperty("startTime")
|
||||
private Long startTime;
|
||||
|
||||
@JsonProperty("endTime")
|
||||
private Long endTime;
|
||||
|
||||
@JsonProperty("filterModule")
|
||||
private String filterModule;
|
||||
|
||||
public ResolveSiteLogListOpenApiVo logs(List<String> logs) {
|
||||
this.logs = logs;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ResolveSiteLogListOpenApiVo addLogsItem(String logsItem) {
|
||||
if (this.logs == null) {
|
||||
this.logs = new ArrayList<>();
|
||||
}
|
||||
this.logs.add(logsItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Select the logs to resolve; Log ID list can be obtained from 'Get site alert log list' interface.
|
||||
* @return logs
|
||||
*/
|
||||
@ApiModelProperty(value = "Select the logs to resolve; Log ID list can be obtained from 'Get site alert log list' interface.")
|
||||
|
||||
|
||||
public List<String> getLogs() {
|
||||
return logs;
|
||||
}
|
||||
|
||||
public void setLogs(List<String> logs) {
|
||||
this.logs = logs;
|
||||
}
|
||||
|
||||
public ResolveSiteLogListOpenApiVo selectType(String selectType) {
|
||||
this.selectType = selectType;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').
|
||||
* @return selectType
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "Select type of logs. include: include selected logs, exclude: all but exclude selected logs, all: include all logs(Parameter [logs] need input '[]').")
|
||||
@NotNull
|
||||
|
||||
|
||||
public String getSelectType() {
|
||||
return selectType;
|
||||
}
|
||||
|
||||
public void setSelectType(String selectType) {
|
||||
this.selectType = selectType;
|
||||
}
|
||||
|
||||
public ResolveSiteLogListOpenApiVo startTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The start timeStamp of the resolve site alert log, unit: MS.
|
||||
* @return startTime
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "The start timeStamp of the resolve site alert log, unit: MS.")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Long getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public ResolveSiteLogListOpenApiVo endTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The end timeStamp of the resolve site alert log, unit: MS.
|
||||
* @return endTime
|
||||
*/
|
||||
@ApiModelProperty(required = true, value = "The end timeStamp of the resolve site alert log, unit: MS.")
|
||||
@NotNull
|
||||
|
||||
|
||||
public Long getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public ResolveSiteLogListOpenApiVo filterModule(String filterModule) {
|
||||
this.filterModule = filterModule;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The module of the resolve site alert log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.
|
||||
* @return filterModule
|
||||
*/
|
||||
@ApiModelProperty(value = "The module of the resolve site alert log; It is required when [selectType] is 'all', filterModule should be a value as follows: 'System' or 'Device'.")
|
||||
|
||||
|
||||
public String getFilterModule() {
|
||||
return filterModule;
|
||||
}
|
||||
|
||||
public void setFilterModule(String filterModule) {
|
||||
this.filterModule = filterModule;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
ResolveSiteLogListOpenApiVo resolveSiteLogListOpenApiVo = (ResolveSiteLogListOpenApiVo) o;
|
||||
return Objects.equals(this.logs, resolveSiteLogListOpenApiVo.logs) &&
|
||||
Objects.equals(this.selectType, resolveSiteLogListOpenApiVo.selectType) &&
|
||||
Objects.equals(this.startTime, resolveSiteLogListOpenApiVo.startTime) &&
|
||||
Objects.equals(this.endTime, resolveSiteLogListOpenApiVo.endTime) &&
|
||||
Objects.equals(this.filterModule, resolveSiteLogListOpenApiVo.filterModule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(logs, selectType, startTime, endTime, filterModule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class ResolveSiteLogListOpenApiVo {\n");
|
||||
|
||||
sb.append(" logs: ").append(toIndentedString(logs)).append("\n");
|
||||
sb.append(" selectType: ").append(toIndentedString(selectType)).append("\n");
|
||||
sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n");
|
||||
sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
|
||||
sb.append(" filterModule: ").append(toIndentedString(filterModule)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
||||
* Log Notification Webhook Config (This config applies to the Omada Pro Controller only)
|
||||
*/
|
||||
@ApiModel(description = "Log Notification Webhook Config (This config applies to the Omada Pro Controller only)")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class WebhookConfigEditOpenApiVo {
|
||||
@JsonProperty("webhookEnable")
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.util.Objects;
|
||||
* Log Notification Webhook Config (This config applies to the Omada Pro Controller only)
|
||||
*/
|
||||
@ApiModel(description = "Log Notification Webhook Config (This config applies to the Omada Pro Controller only)")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:45:56.254+08:00[Asia/Shanghai]")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2025-06-03T17:52:43.984874600+08:00[Asia/Shanghai]")
|
||||
|
||||
public class WebhookConfigOpenApiVo {
|
||||
@JsonProperty("webhookEnable")
|
||||
|
||||
@@ -8,14 +8,13 @@ import io.swagger.annotations.ApiResponses;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.wfc.omada.config.FeignConfig;
|
||||
import org.wfc.omada.api.maintenance.model.ModifyHistoryRetentionOpenApiVo;
|
||||
import org.wfc.omada.api.maintenance.model.OperationResponseHistoryRetentionOpenApiVo;
|
||||
import org.wfc.omada.api.maintenance.model.OperationResponseWithoutResult;
|
||||
import org.wfc.omada.config.FeignConfig;
|
||||
|
||||
import javax.validation.Valid;
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:40:03.102+08:00[Asia/Shanghai]")
|
||||
@@ -38,7 +37,7 @@ public interface OmadaHistoryDataRetentionApi {
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/retention",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseHistoryRetentionOpenApiVo> getDataRetention(@ApiParam(value = "Omada ID",required=true) @PathVariable("omadacId") String omadacId);
|
||||
ResponseEntity<OperationResponseHistoryRetentionOpenApiVo> getDataRetention();
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -279,6 +279,11 @@ public interface OmadaSiteApi {
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseGridVoSiteSummaryInfo> getSiteList(@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize);
|
||||
|
||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites",
|
||||
produces = "*/*",
|
||||
method = RequestMethod.GET)
|
||||
ResponseEntity<OperationResponseGridVoSiteSummaryInfo> getSiteList(@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 1–1000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize, @ApiParam(value = "Fuzzy query parameters, support field name") @Valid @RequestParam(value = "searchKey", required = false) String searchKey);
|
||||
|
||||
|
||||
/**
|
||||
* GET /openapi/v1/{omadacId}/sites/tags : Get site tag list
|
||||
|
||||
@@ -13,6 +13,7 @@ import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.util.LinkedMultiValueMap;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
import org.springframework.web.util.UriComponentsBuilder;
|
||||
import org.wfc.common.core.constant.SecurityConstants;
|
||||
import org.wfc.common.redis.service.RedisService;
|
||||
import org.wfc.omada.config.domain.vo.AuthorizeTokenVO;
|
||||
import org.wfc.omada.config.domain.vo.OmadaResult;
|
||||
@@ -42,7 +43,6 @@ public class FeignConfig implements RequestInterceptor {
|
||||
private static final String CLIENT_ID = "client_id";
|
||||
private static final String CLIENT_SECRET = "client_secret";
|
||||
private static final String GRANT_TYPE = "grant_type";
|
||||
private static final String PRE_ACCESS_TOKEN = "AccessToken=";
|
||||
private static final String REFRESH_TOKEN = "refresh_token";
|
||||
private static final String AUTHORIZATION = "Authorization";
|
||||
private static final String CLIENT_CREDENTIALS = "client_credentials";
|
||||
@@ -66,14 +66,23 @@ public class FeignConfig implements RequestInterceptor {
|
||||
}
|
||||
String accessToken = omadaResult.getResult().getAccessToken();
|
||||
String refreshToken = omadaResult.getResult().getRefreshToken();
|
||||
authorization = PRE_ACCESS_TOKEN + accessToken;
|
||||
authorization = SecurityConstants.PRE_ACCESS_TOKEN + accessToken;
|
||||
// 保存访问令牌和刷新令牌到redis中
|
||||
redisService.setCacheObject(REDIS_ACCESS_TOKEN, accessToken, 7000L, TimeUnit.SECONDS);
|
||||
redisService.setCacheObject(REDIS_REFRESH_TOKEN, refreshToken, 13L, TimeUnit.DAYS);
|
||||
} else {
|
||||
authorization = PRE_ACCESS_TOKEN + cacheAccessToken;
|
||||
authorization = SecurityConstants.PRE_ACCESS_TOKEN + cacheAccessToken;
|
||||
}
|
||||
if (StrUtil.isNotBlank(authorization)) {
|
||||
// 更新最新的omadaUrl和omadacId
|
||||
requestTemplate.target(omadaProperties.getOmadaUrl());
|
||||
String path = requestTemplate.path();
|
||||
String uri = path.substring(path.indexOf("/openapi/v1/") + 12);
|
||||
String lastUri = uri.substring(uri.indexOf("/"));
|
||||
if (!uri.startsWith("msp")) {
|
||||
requestTemplate.uri("/openapi/v1/" + omadaProperties.getOmadacId() + lastUri);
|
||||
}
|
||||
|
||||
// 添加授权请求头
|
||||
requestTemplate.header(AUTHORIZATION, authorization);
|
||||
}
|
||||
@@ -103,8 +112,7 @@ public class FeignConfig implements RequestInterceptor {
|
||||
ResponseEntity<OmadaResult<AuthorizeTokenVO>> responseEntity = restTemplate.exchange(uriString, HttpMethod.POST,
|
||||
request, new ParameterizedTypeReference<OmadaResult<AuthorizeTokenVO>>() {
|
||||
});
|
||||
OmadaResult<AuthorizeTokenVO> omadaResult = responseEntity.getBody();
|
||||
return omadaResult;
|
||||
return responseEntity.getBody();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc-api</artifactId>
|
||||
<version>1.0.2</version>
|
||||
<version>1.0.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -2,7 +2,9 @@ package org.wfc.system.api;
|
||||
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RequestPart;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.wfc.common.core.constant.ServiceNameConstants;
|
||||
@@ -26,4 +28,8 @@ public interface RemoteFileService
|
||||
*/
|
||||
@PostMapping(value = "/upload", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
public R<SysFile> upload(@RequestPart(value = "file") MultipartFile file);
|
||||
|
||||
|
||||
@GetMapping("/download")
|
||||
public R<byte[]> download(@RequestParam("filePath") String filePath);
|
||||
}
|
||||
|
||||
@@ -51,4 +51,13 @@ public interface RemoteUserService
|
||||
*/
|
||||
@PutMapping("/user/recordlogin")
|
||||
public R<Boolean> recordUserLogin(@RequestBody SysUser sysUser, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
@PostMapping("/device/deviceJob")
|
||||
public R<Boolean> deviceJob();
|
||||
|
||||
@PostMapping("/device/settingJob")
|
||||
public R<Boolean> settingJob();
|
||||
|
||||
@PostMapping("/device/testJob")
|
||||
public R<String> testJob();
|
||||
}
|
||||
|
||||
@@ -19,23 +19,23 @@ public class SysDictData extends BaseEntity
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 字典编码 */
|
||||
@Excel(name = "字典编码", cellType = ColumnType.NUMERIC)
|
||||
@Excel(name = "excel.dict.data.dict.code", cellType = ColumnType.NUMERIC)
|
||||
private Long dictCode;
|
||||
|
||||
/** 字典排序 */
|
||||
@Excel(name = "字典排序", cellType = ColumnType.NUMERIC)
|
||||
@Excel(name = "excel.dict.data.dict.sort", cellType = ColumnType.NUMERIC)
|
||||
private Long dictSort;
|
||||
|
||||
/** 字典标签 */
|
||||
@Excel(name = "字典标签")
|
||||
@Excel(name = "excel.dict.data.dict.label")
|
||||
private String dictLabel;
|
||||
|
||||
/** 字典键值 */
|
||||
@Excel(name = "字典键值")
|
||||
@Excel(name = "excel.dict.data.dict.value")
|
||||
private String dictValue;
|
||||
|
||||
/** 字典类型 */
|
||||
@Excel(name = "字典类型")
|
||||
@Excel(name = "excel.dict.data.dict.type")
|
||||
private String dictType;
|
||||
|
||||
/** 样式属性(其他样式扩展) */
|
||||
@@ -45,11 +45,11 @@ public class SysDictData extends BaseEntity
|
||||
private String listClass;
|
||||
|
||||
/** 是否默认(Y是 N否) */
|
||||
@Excel(name = "是否默认", readConverterExp = "Y=是,N=否")
|
||||
@Excel(name = "excel.dict.data.is.default", readConverterExp = "Y=Yes,N=No")
|
||||
private String isDefault;
|
||||
|
||||
/** 状态(0正常 1停用) */
|
||||
@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
|
||||
@Excel(name = "excel.dict.data.status", readConverterExp = "0=Normal,1=Deactivated")
|
||||
private String status;
|
||||
|
||||
public Long getDictCode()
|
||||
|
||||
@@ -16,10 +16,25 @@ public class SysFile
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 文件地址
|
||||
* 文件相对地址
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 文件内部地址
|
||||
*/
|
||||
private String localUrl;
|
||||
|
||||
/**
|
||||
* 文件路径
|
||||
*/
|
||||
private String filePath;
|
||||
|
||||
/**
|
||||
* 文件gateway地址
|
||||
*/
|
||||
private String gatewayUrl;
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
@@ -30,21 +45,46 @@ public class SysFile
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getUrl()
|
||||
{
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url)
|
||||
{
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getLocalUrl() {
|
||||
return localUrl;
|
||||
}
|
||||
|
||||
public void setLocalUrl(String localUrl) {
|
||||
this.localUrl = localUrl;
|
||||
}
|
||||
|
||||
public String getGatewayUrl() {
|
||||
return gatewayUrl;
|
||||
}
|
||||
|
||||
public void setGatewayUrl(String gatewayUrl) {
|
||||
this.gatewayUrl = gatewayUrl;
|
||||
}
|
||||
|
||||
public String getFilePath() {
|
||||
return filePath;
|
||||
}
|
||||
|
||||
public void setFilePath(String filePath) {
|
||||
this.filePath = filePath;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("name", getName())
|
||||
.append("url", getUrl())
|
||||
.append("localUrl", getLocalUrl())
|
||||
.append("gatewayUrl", getGatewayUrl())
|
||||
.append("filePath", getFilePath())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,13 @@ package org.wfc.system.api.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.github.pagehelper.util.StringUtil;
|
||||
|
||||
import org.aspectj.bridge.Message;
|
||||
import org.aspectj.bridge.MessageUtil;
|
||||
import org.wfc.common.core.annotation.Excel;
|
||||
import org.wfc.common.core.annotation.Excel.ColumnType;
|
||||
import org.wfc.common.core.utils.MessageUtils;
|
||||
import org.wfc.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
@@ -82,9 +87,19 @@ public class SysLogininfor extends BaseEntity
|
||||
|
||||
public String getMsg()
|
||||
{
|
||||
return msg;
|
||||
String mes = this.msg;
|
||||
if (!StringUtil.isEmpty(msg))
|
||||
{
|
||||
mes = MessageUtils.message(msg);
|
||||
}
|
||||
return mes;
|
||||
}
|
||||
|
||||
// public String getMsg()
|
||||
// {
|
||||
// return msg;
|
||||
// }
|
||||
|
||||
public void setMsg(String msg)
|
||||
{
|
||||
this.msg = msg;
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
package org.wfc.system.api.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.wfc.common.core.annotation.Excel;
|
||||
import org.wfc.common.core.annotation.Excel.ColumnType;
|
||||
import org.wfc.common.core.utils.MessageUtils;
|
||||
import org.wfc.common.core.web.domain.BaseEntity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 操作日志记录表 oper_log
|
||||
*
|
||||
@@ -16,71 +18,71 @@ public class SysOperLog extends BaseEntity
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 日志主键 */
|
||||
@Excel(name = "操作序号", cellType = ColumnType.NUMERIC)
|
||||
@Excel(name = "excel.operation.log.id", cellType = ColumnType.NUMERIC)
|
||||
private Long operId;
|
||||
|
||||
/** 操作模块 */
|
||||
@Excel(name = "操作模块")
|
||||
@Excel(name = "excel.operation.log.title")
|
||||
private String title;
|
||||
|
||||
/** 业务类型(0其它 1新增 2修改 3删除) */
|
||||
@Excel(name = "业务类型", readConverterExp = "0=其它,1=新增,2=修改,3=删除,4=授权,5=导出,6=导入,7=强退,8=生成代码,9=清空数据")
|
||||
@Excel(name = "excel.operation.log.business.type", readConverterExp = "0=Other,1=Add,2=Modify,3=Delete,4=Authorize,5=Export,6=Import,7=Force Logout,8=Generate Code,9=Clear Data,9=Approval,10=Reject")
|
||||
private Integer businessType;
|
||||
|
||||
/** 业务类型数组 */
|
||||
private Integer[] businessTypes;
|
||||
|
||||
/** 请求方法 */
|
||||
@Excel(name = "请求方法")
|
||||
@Excel(name = "excel.operation.log.method")
|
||||
private String method;
|
||||
|
||||
/** 请求方式 */
|
||||
@Excel(name = "请求方式")
|
||||
@Excel(name = "excel.operation.log.request.method")
|
||||
private String requestMethod;
|
||||
|
||||
/** 操作类别(0其它 1后台用户 2手机端用户) */
|
||||
@Excel(name = "操作类别", readConverterExp = "0=其它,1=后台用户,2=手机端用户")
|
||||
@Excel(name = "excel.operation.log.operator.type", readConverterExp = "0=Other,1=System User,2=Client User")
|
||||
private Integer operatorType;
|
||||
|
||||
/** 操作人员 */
|
||||
@Excel(name = "操作人员")
|
||||
@Excel(name = "excel.operation.log.operator.name")
|
||||
private String operName;
|
||||
|
||||
/** 部门名称 */
|
||||
@Excel(name = "部门名称")
|
||||
//@Excel(name = "excel.operation.log.department.name")
|
||||
private String deptName;
|
||||
|
||||
/** 请求url */
|
||||
@Excel(name = "请求地址")
|
||||
@Excel(name = "excel.operation.log.operation.url")
|
||||
private String operUrl;
|
||||
|
||||
/** 操作地址 */
|
||||
@Excel(name = "操作地址")
|
||||
@Excel(name = "excel.operation.log.operation.ip")
|
||||
private String operIp;
|
||||
|
||||
/** 请求参数 */
|
||||
@Excel(name = "请求参数")
|
||||
@Excel(name = "excel.operation.log.operation.parameter")
|
||||
private String operParam;
|
||||
|
||||
/** 返回参数 */
|
||||
@Excel(name = "返回参数")
|
||||
@Excel(name = "excel.operation.log.json.result")
|
||||
private String jsonResult;
|
||||
|
||||
/** 操作状态(0正常 1异常) */
|
||||
@Excel(name = "状态", readConverterExp = "0=正常,1=异常")
|
||||
@Excel(name = "excel.operation.log.status", readConverterExp = "0=Normal,1=Abrnormal")
|
||||
private Integer status;
|
||||
|
||||
/** 错误消息 */
|
||||
@Excel(name = "错误消息")
|
||||
@Excel(name = "excel.operation.log.error.msg")
|
||||
private String errorMsg;
|
||||
|
||||
/** 操作时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
@Excel(name = "excel.operation.log.operation.time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date operTime;
|
||||
|
||||
/** 消耗时间 */
|
||||
@Excel(name = "消耗时间", suffix = "毫秒")
|
||||
@Excel(name = "excel.operation.log.cost.time", suffix = "ms")
|
||||
private Long costTime;
|
||||
|
||||
public Long getOperId()
|
||||
@@ -100,7 +102,10 @@ public class SysOperLog extends BaseEntity
|
||||
|
||||
public void setTitle(String title)
|
||||
{
|
||||
this.title = title;
|
||||
if (title == null || title.isEmpty()) {
|
||||
this.title=title;
|
||||
}
|
||||
this.title = MessageUtils.messageEnUS(title);
|
||||
}
|
||||
|
||||
public Integer getBusinessType()
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
package org.wfc.system.api.domain;
|
||||
|
||||
import java.util.Set;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import org.wfc.common.core.annotation.Excel;
|
||||
import org.wfc.common.core.annotation.Excel.ColumnType;
|
||||
import org.wfc.common.core.web.domain.BaseEntity;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* 角色表 sys_role
|
||||
*
|
||||
@@ -118,7 +118,6 @@ public class SysRole extends BaseEntity
|
||||
this.roleKey = roleKey;
|
||||
}
|
||||
|
||||
@NotNull(message = "显示顺序不能为空")
|
||||
public Integer getRoleSort()
|
||||
{
|
||||
return roleSort;
|
||||
|
||||
@@ -67,6 +67,9 @@ public class SysUser extends BaseEntity
|
||||
/** 地址 */
|
||||
private String address;
|
||||
|
||||
/** 验证码 */
|
||||
private String code;
|
||||
|
||||
/** 帐号状态(0正常 1停用) */
|
||||
@Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
|
||||
private String status;
|
||||
@@ -332,6 +335,15 @@ public class SysUser extends BaseEntity
|
||||
{
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
|
||||
@@ -22,13 +22,18 @@ public class RemoteFileFallbackFactory implements FallbackFactory<RemoteFileServ
|
||||
@Override
|
||||
public RemoteFileService create(Throwable throwable)
|
||||
{
|
||||
log.error("文件服务调用失败:{}", throwable.getMessage());
|
||||
log.error("File service call failed:{}", throwable.getMessage());
|
||||
return new RemoteFileService()
|
||||
{
|
||||
@Override
|
||||
public R<SysFile> upload(MultipartFile file)
|
||||
{
|
||||
return R.fail("上传文件失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to upload file:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<byte[]> download(String filePath) {
|
||||
return R.fail("Failed to download file:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -22,19 +22,19 @@ public class RemoteLogFallbackFactory implements FallbackFactory<RemoteLogServic
|
||||
@Override
|
||||
public RemoteLogService create(Throwable throwable)
|
||||
{
|
||||
log.error("日志服务调用失败:{}", throwable.getMessage());
|
||||
log.error("Log service call failed:{}", throwable.getMessage());
|
||||
return new RemoteLogService()
|
||||
{
|
||||
@Override
|
||||
public R<Boolean> saveLog(SysOperLog sysOperLog, String source)
|
||||
{
|
||||
return R.fail("保存操作日志失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to save operation log:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> saveLogininfor(SysLogininfor sysLogininfor, String source)
|
||||
{
|
||||
return R.fail("保存登录日志失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to save login log:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -22,25 +22,40 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
|
||||
@Override
|
||||
public RemoteUserService create(Throwable throwable)
|
||||
{
|
||||
log.error("用户服务调用失败:{}", throwable.getMessage());
|
||||
log.error("User service call failed:{}", throwable.getMessage());
|
||||
return new RemoteUserService()
|
||||
{
|
||||
@Override
|
||||
public R<LoginUser<SysUser>> getUserInfo(String username, String source)
|
||||
{
|
||||
return R.fail("获取用户失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to get user:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> registerUserInfo(SysUser sysUser, String source)
|
||||
{
|
||||
return R.fail("注册用户失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to register user:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> recordUserLogin(SysUser sysUser, String source)
|
||||
{
|
||||
return R.fail("记录用户登录信息失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to record user login information:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> deviceJob() {
|
||||
return R.fail("Failed to record device information:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> settingJob() {
|
||||
return R.fail("Omada setting job error:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<String> testJob() {
|
||||
return R.fail("Omada test job error:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc-api</artifactId>
|
||||
<version>1.0.2</version>
|
||||
<version>1.0.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ import org.wfc.common.core.domain.R;
|
||||
import org.wfc.common.core.web.page.TableDataInfo;
|
||||
import org.wfc.user.api.domain.UUser;
|
||||
import org.wfc.user.api.domain.bo.UClientBo;
|
||||
import org.wfc.user.api.domain.vo.UOrderVo;
|
||||
import org.wfc.user.api.factory.RemoteUUserFallbackFactory;
|
||||
|
||||
/**
|
||||
@@ -80,8 +81,17 @@ public interface RemoteUUserService
|
||||
public R<Boolean> addCdrInfoByOmadaApi();
|
||||
|
||||
/**
|
||||
*
|
||||
* 根据设备mac保存或更新设备信息
|
||||
*/
|
||||
@GetMapping("/client/recordClientUser")
|
||||
@PostMapping("/client/recordClientUser")
|
||||
public R<Boolean> recordClientUser(@RequestBody UClientBo clientBo);
|
||||
|
||||
@PostMapping("/order/paySuccess/{id}")
|
||||
public R<Boolean> paySuccess(@PathVariable("id") Long id, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
@GetMapping(value = "/order/{id}")
|
||||
public R<UOrderVo> getOrderById(@PathVariable("id") Long id);
|
||||
|
||||
@PostMapping("/account/reminder")
|
||||
public R<Boolean> sendReminderEMail();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
package org.wfc.user.api.domain;
|
||||
|
||||
import org.wfc.common.core.web.domain.BaseEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
|
||||
public class UKyc extends BaseEntity {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long kycId;
|
||||
|
||||
private Long userId;
|
||||
|
||||
private String realName;
|
||||
|
||||
private String birthDate;
|
||||
|
||||
private Integer idType;
|
||||
|
||||
private String idFile;
|
||||
|
||||
private String identifyPicture;
|
||||
|
||||
private Integer status;
|
||||
|
||||
private String description;
|
||||
|
||||
// @Schema(description = "Create Time")
|
||||
// private LocalDateTime createTime;
|
||||
|
||||
// @Schema(description = "Update Time")
|
||||
// private LocalDateTime updateTime;
|
||||
}
|
||||
@@ -36,6 +36,10 @@ public class UUser extends BaseEntity
|
||||
@Excel(name = "登录名称")
|
||||
private String userName;
|
||||
|
||||
/** 出生日期 */
|
||||
@Excel(name = "出生日期")
|
||||
private Date birthDate;
|
||||
|
||||
/** 用户昵称 */
|
||||
@Excel(name = "用户名称")
|
||||
private String nickName;
|
||||
@@ -101,6 +105,10 @@ public class UUser extends BaseEntity
|
||||
/** 角色ID */
|
||||
private Long roleId;
|
||||
|
||||
/** User KYC Info */
|
||||
@Excel(name = "KYC Status",readConverterExp = "1=VERIFIED,2=UNVERIFIED,3=PENDING,4=REJECTED", type = Type.EXPORT)
|
||||
private String kycStatus;
|
||||
|
||||
public UUser()
|
||||
{
|
||||
|
||||
@@ -328,10 +336,27 @@ public class UUser extends BaseEntity
|
||||
return roleId;
|
||||
}
|
||||
|
||||
public Date getBirthDate() {
|
||||
return birthDate;
|
||||
}
|
||||
|
||||
public void setBirthDate(Date birthDate) {
|
||||
this.birthDate = birthDate;
|
||||
}
|
||||
|
||||
public void setRoleId(Long roleId)
|
||||
{
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
public String getKycStatus() {
|
||||
return kycStatus;
|
||||
}
|
||||
|
||||
public void setKycStatus(String kycStatus) {
|
||||
this.kycStatus = kycStatus;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
@@ -354,6 +379,8 @@ public class UUser extends BaseEntity
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.append("dept", getDept())
|
||||
.append("kycStatus", getKycStatus())
|
||||
.append("birthDate", getBirthDate())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
package org.wfc.user.api.domain.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author: cyc
|
||||
* @since: 2025-01-13
|
||||
*/
|
||||
@Data
|
||||
public class UOrderVo {
|
||||
|
||||
private Long userId;
|
||||
|
||||
private Long packageId;
|
||||
|
||||
private Long paymentId;
|
||||
|
||||
private String orderNo;
|
||||
|
||||
private Integer type;
|
||||
|
||||
private BigDecimal orderAmount;
|
||||
|
||||
private Integer status;
|
||||
|
||||
private Long id;
|
||||
|
||||
private Boolean delFlag;
|
||||
|
||||
private Long createBy;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Long updateBy;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private String currency;
|
||||
}
|
||||
@@ -22,13 +22,13 @@ public class RemoteUFileFallbackFactory implements FallbackFactory<RemoteUFileSe
|
||||
@Override
|
||||
public RemoteUFileService create(Throwable throwable)
|
||||
{
|
||||
log.error("文件服务调用失败:{}", throwable.getMessage());
|
||||
log.error("File service call failed:{}", throwable.getMessage());
|
||||
return new RemoteUFileService()
|
||||
{
|
||||
@Override
|
||||
public R<UFile> upload(MultipartFile file)
|
||||
{
|
||||
return R.fail("上传文件失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to upload file:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -22,19 +22,19 @@ public class RemoteULogFallbackFactory implements FallbackFactory<RemoteULogServ
|
||||
@Override
|
||||
public RemoteULogService create(Throwable throwable)
|
||||
{
|
||||
log.error("日志服务调用失败:{}", throwable.getMessage());
|
||||
log.error("Log service call failed:{}", throwable.getMessage());
|
||||
return new RemoteULogService()
|
||||
{
|
||||
@Override
|
||||
public R<Boolean> saveLog(UOperLog sysOperLog, String source)
|
||||
{
|
||||
return R.fail("保存操作日志失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to save operation log:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> saveLogininfor(ULogininfor sysLogininfor, String source)
|
||||
{
|
||||
return R.fail("保存登录日志失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to save login log:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ import org.wfc.common.core.web.page.TableDataInfo;
|
||||
import org.wfc.user.api.RemoteUUserService;
|
||||
import org.wfc.user.api.domain.UUser;
|
||||
import org.wfc.user.api.domain.bo.UClientBo;
|
||||
import org.wfc.user.api.domain.vo.UOrderVo;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
@@ -27,49 +28,64 @@ public class RemoteUUserFallbackFactory implements FallbackFactory<RemoteUUserSe
|
||||
@Override
|
||||
public RemoteUUserService create(Throwable throwable)
|
||||
{
|
||||
log.error("用户服务调用失败:{}", throwable.getMessage());
|
||||
log.error("User service call failed:{}", throwable.getMessage());
|
||||
return new RemoteUUserService()
|
||||
{
|
||||
@Override
|
||||
public R<LoginUser<UUser>> getUserInfo(String username, String source)
|
||||
{
|
||||
return R.fail("获取用户失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to get user:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> registerUserInfo(UUser user, String source)
|
||||
{
|
||||
return R.fail("注册用户失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to register user:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> checkRepeat(UUser user, String source)
|
||||
{
|
||||
return R.fail("检查重复失败:" + throwable.getMessage());
|
||||
return R.fail("Check for duplicate failures:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> recordUserLogin(UUser user, String source)
|
||||
{
|
||||
return R.fail("记录用户登录信息失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to record user login information:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableDataInfo page(Integer pageNum, Integer pageSize, UUser user) {
|
||||
TableDataInfo rspData = new TableDataInfo(Collections.emptyList(), 0L);
|
||||
rspData.setCode(HttpStatus.SUCCESS);
|
||||
rspData.setMsg("查询成功");
|
||||
rspData.setMsg("Query successful");
|
||||
return rspData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> addCdrInfoByOmadaApi() {
|
||||
return R.fail("添加话单信息失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to add CDR information:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> recordClientUser(UClientBo clientBo) {
|
||||
return R.fail("根据设备mac保存或更新设备信息失败:" + throwable.getMessage());
|
||||
return R.fail("Failed to save or update device information based on MAC.:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> paySuccess(Long id, String source) {
|
||||
return R.fail("pay callback error:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<UOrderVo> getOrderById(Long id) {
|
||||
return R.fail("get order error:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<Boolean> sendReminderEMail() {
|
||||
return R.fail("send reminder email error:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc</artifactId>
|
||||
<version>1.0.2</version>
|
||||
<version>1.0.19</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ package org.wfc.auth;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||
import org.wfc.common.security.annotation.EnableCustomConfig;
|
||||
import org.wfc.common.security.annotation.EnableRyFeignClients;
|
||||
|
||||
/**
|
||||
@@ -10,6 +11,7 @@ import org.wfc.common.security.annotation.EnableRyFeignClients;
|
||||
*
|
||||
* @author wfc
|
||||
*/
|
||||
@EnableCustomConfig
|
||||
@EnableRyFeignClients
|
||||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
|
||||
public class WfcAuthApplication
|
||||
@@ -17,6 +19,6 @@ public class WfcAuthApplication
|
||||
public static void main(String[] args)
|
||||
{
|
||||
SpringApplication.run(WfcAuthApplication.class, args);
|
||||
System.out.println("(♥◠‿◠)ノ゙ 认证授权中心启动成功 ლ(´ڡ`ლ)゙ \n");
|
||||
System.out.println("(♥◠‿◠)ノ゙ Certification and authorization center started successfully ლ(´ڡ`ლ)゙ \n");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ public class TokenController {
|
||||
if ("u".equals(form.getAuthType())) {
|
||||
WANFiRedirectParams wanFiRedirectParams = form.getWanfiRedirectParams();
|
||||
if (wanFiRedirectParams == null) {
|
||||
return R.fail("Invalid Login Parameter");
|
||||
return R.fail("auth.invalid.login.parameter");
|
||||
}
|
||||
// 用户登录
|
||||
LoginUser<UUser> userInfo = uLoginService.login(form.getUsername(), form.getPassword());
|
||||
@@ -69,7 +69,7 @@ public class TokenController {
|
||||
return R.ok(tokenService.createToken(sysInfo));
|
||||
}
|
||||
|
||||
return R.fail("authentication type not supported");
|
||||
return R.fail("auth.authentication.type.not.supported");
|
||||
}
|
||||
|
||||
@DeleteMapping("logout")
|
||||
@@ -77,10 +77,15 @@ public class TokenController {
|
||||
String token = SecurityUtils.getToken(request);
|
||||
if (StringUtils.isNotEmpty(token)) {
|
||||
String username = JwtUtils.getUserName(token);
|
||||
String userPlatform = JwtUtils.getUserPlatform(token);
|
||||
// 删除用户缓存记录
|
||||
AuthUtil.logoutByToken(token);
|
||||
// 记录用户退出日志
|
||||
sysLoginService.logout(username);
|
||||
if ("user".equals(userPlatform)) {
|
||||
uLoginService.logout(username);
|
||||
} else {
|
||||
sysLoginService.logout(username);
|
||||
}
|
||||
}
|
||||
return R.ok();
|
||||
}
|
||||
@@ -106,22 +111,22 @@ public class TokenController {
|
||||
sysLoginService.register(form);
|
||||
return R.ok();
|
||||
}
|
||||
return R.fail("authentication type not supported");
|
||||
return R.fail("auth.authentication.type.not.supported");
|
||||
}
|
||||
|
||||
@PostMapping("checkRepeat")
|
||||
public R<?> checkRepeat(@RequestBody RegisterBody form) {
|
||||
if ("u".equals(form.getAuthType())) {
|
||||
uLoginService.checkRepeat(form);
|
||||
return R.ok();
|
||||
return R.ok(uLoginService.checkRepeat(form));
|
||||
}
|
||||
if ("sys".equals(form.getAuthType())) {}
|
||||
return R.fail("authentication type not supported");
|
||||
if ("sys".equals(form.getAuthType())) {
|
||||
}
|
||||
return R.fail("auth.authentication.type.not.supported");
|
||||
}
|
||||
|
||||
@GetMapping("health")
|
||||
public R<?> health(HttpServletRequest request) {
|
||||
// TODO: check health
|
||||
return R.ok(null,"Auth is healthy");
|
||||
}
|
||||
// check health
|
||||
return R.ok(null, "auth.is.healthy");
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user