Compare commits
298 Commits
476631b74b
...
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 | ||
|
|
b79f2a441a | ||
|
|
4ca38eb471 | ||
|
|
2fbc507344 | ||
|
|
cb31b698f0 | ||
|
|
24811ccedc | ||
|
|
d7059ec8ee | ||
|
|
a5acd67571 | ||
|
|
136e79d519 | ||
|
|
80bad2ce04 | ||
|
|
73f187ef96 | ||
|
|
219c104355 | ||
|
|
1e4b518f48 | ||
|
|
554109d766 | ||
|
|
ae14da53b2 | ||
|
|
7992f751f6 | ||
|
|
ffffc468c1 | ||
|
|
a279c826e5 | ||
|
|
f106e5631f | ||
|
|
ee53817fc6 | ||
|
|
c02cc6fb64 | ||
|
|
6fa0ff1354 | ||
|
|
8f086f8d7e | ||
|
|
3087685644 | ||
|
|
a103740be6 | ||
|
|
23eed50dd6 | ||
|
|
d907dcfae9 | ||
|
|
06ccebb3c4 | ||
|
|
cebc586d28 | ||
|
|
e244f4aab4 | ||
|
|
aaeb672b5d | ||
|
|
a54834473d | ||
|
|
cd3a860a34 | ||
|
|
17a07ea4bc | ||
|
|
761d076ace | ||
|
|
76b53a7c8d | ||
|
|
cfbdb84261 | ||
|
|
2dcf1afe7f | ||
|
|
129081ff60 | ||
|
|
df88bb2376 | ||
|
|
b4c7f052fd | ||
|
|
ce30352c3d | ||
|
|
b47ee5029f | ||
|
|
bd2897437f | ||
|
|
e61648bc98 | ||
|
|
e7644ea1f0 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -40,6 +40,7 @@ nbdist/
|
|||||||
*.log
|
*.log
|
||||||
*.xml.versionsBackup
|
*.xml.versionsBackup
|
||||||
*.swp
|
*.swp
|
||||||
|
*.bak
|
||||||
tmp
|
tmp
|
||||||
|
|
||||||
!*/build/*.java
|
!*/build/*.java
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -26,7 +26,7 @@ org.wfc
|
|||||||
│ └── wfc-common-swagger // 系统接口
|
│ └── wfc-common-swagger // 系统接口
|
||||||
├── wfc-modules // 业务模块
|
├── wfc-modules // 业务模块
|
||||||
│ └── wfc-system // 系统模块 [9201]
|
│ └── wfc-system // 系统模块 [9201]
|
||||||
│ └── wfc-modules-user // 用户平台模块 [9208]
|
│ └── wfc-user // 用户平台模块 [9208]
|
||||||
│ └── wfc-gen // 代码生成 [9202]
|
│ └── wfc-gen // 代码生成 [9202]
|
||||||
│ └── wfc-job // 定时任务 [9203]
|
│ └── wfc-job // 定时任务 [9203]
|
||||||
│ └── wfc-file // 文件服务 [9300]
|
│ └── wfc-file // 文件服务 [9300]
|
||||||
@@ -41,11 +41,11 @@ org.wfc
|
|||||||
|
|
||||||
```
|
```
|
||||||
JDK >= 1.8 (推荐1.8版本)
|
JDK >= 1.8 (推荐1.8版本)
|
||||||
|
Maven >= 3.6.3
|
||||||
Mysql >= 5.7.0 (推荐5.7版本)
|
Mysql >= 5.7.0 (推荐5.7版本)
|
||||||
Redis >= 3.0
|
Redis >= 7.4.2
|
||||||
Maven >= 3.0
|
nacos >= v2.5.0
|
||||||
nacos >= 2.0.4
|
sentinel >= 1.6.0 (optional)
|
||||||
sentinel >= 1.6.0
|
|
||||||
```
|
```
|
||||||
### 运行系统
|
### 运行系统
|
||||||
|
|
||||||
|
|||||||
24
docker/.env
Normal file
24
docker/.env
Normal file
@@ -0,0 +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=123456
|
||||||
|
REDIS_PORT=6379
|
||||||
|
NACOS_NAME_SPACE=wfc-test
|
||||||
|
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
|
copy ..\wfc-modules\wfc-system\target\wfc-modules-system.jar .\wfc\modules\system\jar
|
||||||
|
|
||||||
echo begin copy wfc-modules-user
|
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
|
echo begin copy wfc-modules-file
|
||||||
copy ..\wfc-modules\wfc-file\target\wfc-modules-file.jar .\wfc\modules\file\jar
|
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
|
cp ../wfc-modules/wfc-system/target/wfc-modules-system.jar ./wfc/modules/system/jar
|
||||||
|
|
||||||
echo "begin copy wfc-modules-user "
|
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 "
|
echo "begin copy wfc-modules-file "
|
||||||
cp ../wfc-modules/wfc-file/target/wfc-modules-file.jar ./wfc/modules/file/jar
|
cp ../wfc-modules/wfc-file/target/wfc-modules-file.jar ./wfc/modules/file/jar
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ services:
|
|||||||
context: ./nacos
|
context: ./nacos
|
||||||
environment:
|
environment:
|
||||||
- MODE=standalone
|
- MODE=standalone
|
||||||
- NACOS_SERVER_ADDR=192.168.13.128
|
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||||
|
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||||
volumes:
|
volumes:
|
||||||
- ./nacos/logs/:/home/nacos/logs
|
- ./nacos/logs/:/home/nacos/logs
|
||||||
- ./nacos/conf/application.properties:/home/nacos/conf/application.properties
|
- ./nacos/conf/application.properties:/home/nacos/conf/application.properties
|
||||||
@@ -24,6 +25,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./mysql/db:/docker-entrypoint-initdb.d # 挂载 SQL 文件
|
||||||
- ./mysql/conf:/etc/mysql/conf.d
|
- ./mysql/conf:/etc/mysql/conf.d
|
||||||
- ./mysql/logs:/logs
|
- ./mysql/logs:/logs
|
||||||
- ./mysql/data:/var/lib/mysql
|
- ./mysql/data:/var/lib/mysql
|
||||||
@@ -47,9 +49,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis/conf/redis.conf:/home/wfc/redis/redis.conf
|
- ./redis/conf/redis.conf:/opt/wfc/redis/redis.conf
|
||||||
- ./redis/data:/data
|
- ./redis/data:/data
|
||||||
command: redis-server /home/wfc/redis/redis.conf
|
command: redis-server /opt/wfc/redis/redis.conf
|
||||||
|
|
||||||
wfc-gateway:
|
wfc-gateway:
|
||||||
container_name: wfc-gateway
|
container_name: wfc-gateway
|
||||||
@@ -58,10 +60,15 @@ services:
|
|||||||
dockerfile: dockerfile
|
dockerfile: dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
|
volumes:
|
||||||
|
- ./wfc/gateway/jar/wfc-gateway.jar:/opt/wfc/wfc-gateway.jar
|
||||||
depends_on:
|
depends_on:
|
||||||
- wfc-redis
|
- wfc-redis
|
||||||
links:
|
links:
|
||||||
- wfc-redis
|
- wfc-redis
|
||||||
|
environment:
|
||||||
|
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||||
|
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||||
wfc-auth:
|
wfc-auth:
|
||||||
container_name: wfc-auth
|
container_name: wfc-auth
|
||||||
build:
|
build:
|
||||||
@@ -69,10 +76,15 @@ services:
|
|||||||
dockerfile: dockerfile
|
dockerfile: dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "9200:9200"
|
- "9200:9200"
|
||||||
|
volumes:
|
||||||
|
- ./wfc/auth/jar/wfc-auth.jar:/opt/wfc/wfc-auth.jar
|
||||||
depends_on:
|
depends_on:
|
||||||
- wfc-redis
|
- wfc-redis
|
||||||
links:
|
links:
|
||||||
- wfc-redis
|
- wfc-redis
|
||||||
|
environment:
|
||||||
|
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||||
|
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||||
wfc-modules-system:
|
wfc-modules-system:
|
||||||
container_name: wfc-modules-system
|
container_name: wfc-modules-system
|
||||||
build:
|
build:
|
||||||
@@ -80,12 +92,17 @@ services:
|
|||||||
dockerfile: dockerfile
|
dockerfile: dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "9201:9201"
|
- "9201:9201"
|
||||||
|
volumes:
|
||||||
|
- ./wfc/modules/system/jar/wfc-modules-system.jar:/opt/wfc/wfc-modules-system.jar
|
||||||
depends_on:
|
depends_on:
|
||||||
- wfc-redis
|
- wfc-redis
|
||||||
- wfc-mysql
|
- wfc-mysql
|
||||||
links:
|
links:
|
||||||
- wfc-redis
|
- wfc-redis
|
||||||
- wfc-mysql
|
- wfc-mysql
|
||||||
|
environment:
|
||||||
|
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||||
|
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||||
wfc-modules-user:
|
wfc-modules-user:
|
||||||
container_name: wfc-modules-user
|
container_name: wfc-modules-user
|
||||||
build:
|
build:
|
||||||
@@ -93,12 +110,17 @@ services:
|
|||||||
dockerfile: dockerfile
|
dockerfile: dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "9204:9204"
|
- "9204:9204"
|
||||||
|
volumes:
|
||||||
|
- ./wfc/modules/user/jar/wfc-modules-user.jar:/opt/wfc/wfc-modules-user.jar
|
||||||
depends_on:
|
depends_on:
|
||||||
- wfc-redis
|
- wfc-redis
|
||||||
- wfc-mysql
|
- wfc-mysql
|
||||||
links:
|
links:
|
||||||
- wfc-redis
|
- wfc-redis
|
||||||
- wfc-mysql
|
- wfc-mysql
|
||||||
|
environment:
|
||||||
|
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||||
|
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||||
wfc-modules-gen:
|
wfc-modules-gen:
|
||||||
container_name: wfc-modules-gen
|
container_name: wfc-modules-gen
|
||||||
build:
|
build:
|
||||||
@@ -106,10 +128,15 @@ services:
|
|||||||
dockerfile: dockerfile
|
dockerfile: dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "9202:9202"
|
- "9202:9202"
|
||||||
|
volumes:
|
||||||
|
- ./wfc/modules/gen/jar/wfc-modules-gen.jar:/opt/wfc/wfc-modules-gen.jar
|
||||||
depends_on:
|
depends_on:
|
||||||
- wfc-mysql
|
- wfc-mysql
|
||||||
links:
|
links:
|
||||||
- wfc-mysql
|
- wfc-mysql
|
||||||
|
environment:
|
||||||
|
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||||
|
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||||
wfc-modules-job:
|
wfc-modules-job:
|
||||||
container_name: wfc-modules-job
|
container_name: wfc-modules-job
|
||||||
build:
|
build:
|
||||||
@@ -117,10 +144,15 @@ services:
|
|||||||
dockerfile: dockerfile
|
dockerfile: dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "9203:9203"
|
- "9203:9203"
|
||||||
|
volumes:
|
||||||
|
- ./wfc/modules/job/jar/wfc-modules-job.jar:/opt/wfc/wfc-modules-job.jar
|
||||||
depends_on:
|
depends_on:
|
||||||
- wfc-mysql
|
- wfc-mysql
|
||||||
links:
|
links:
|
||||||
- wfc-mysql
|
- wfc-mysql
|
||||||
|
environment:
|
||||||
|
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||||
|
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||||
wfc-modules-file:
|
wfc-modules-file:
|
||||||
container_name: wfc-modules-file
|
container_name: wfc-modules-file
|
||||||
build:
|
build:
|
||||||
@@ -129,7 +161,11 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "9300:9300"
|
- "9300:9300"
|
||||||
volumes:
|
volumes:
|
||||||
- ./wfc/uploadPath:/home/wfc/uploadPath
|
- ./wfc/modules/file/jar/wfc-modules-file.jar:/opt/wfc/wfc-modules-file.jar
|
||||||
|
- ./nginx/html/dist/img:/opt/wfc/upload
|
||||||
|
environment:
|
||||||
|
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||||
|
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||||
wfc-modules-payment:
|
wfc-modules-payment:
|
||||||
container_name: wfc-modules-payment
|
container_name: wfc-modules-payment
|
||||||
build:
|
build:
|
||||||
@@ -137,10 +173,15 @@ services:
|
|||||||
dockerfile: dockerfile
|
dockerfile: dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "9306:9306"
|
- "9306:9306"
|
||||||
|
volumes:
|
||||||
|
- ./wfc/modules/payment/jar/wfc-modules-payment.jar:/opt/wfc/wfc-modules-payment.jar
|
||||||
depends_on:
|
depends_on:
|
||||||
- wfc-mysql
|
- wfc-mysql
|
||||||
links:
|
links:
|
||||||
- wfc-mysql
|
- wfc-mysql
|
||||||
|
environment:
|
||||||
|
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||||
|
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||||
wfc-visual-monitor:
|
wfc-visual-monitor:
|
||||||
container_name: wfc-visual-monitor
|
container_name: wfc-visual-monitor
|
||||||
build:
|
build:
|
||||||
@@ -148,7 +189,11 @@ services:
|
|||||||
dockerfile: dockerfile
|
dockerfile: dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "9100:9100"
|
- "9100:9100"
|
||||||
|
volumes:
|
||||||
|
- ./wfc/visual/monitor/jar/wfc-visual-monitor.jar:/opt/wfc/wfc-visual-monitor.jar
|
||||||
|
environment:
|
||||||
|
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
|
||||||
|
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
|
||||||
wfc-nginx:
|
wfc-nginx:
|
||||||
container_name: wfc-nginx
|
container_name: wfc-nginx
|
||||||
image: nginx
|
image: nginx
|
||||||
@@ -157,7 +202,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/html/dist:/home/wfc/portal
|
- ./nginx/html/dist:/opt/wfc/portal
|
||||||
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
|
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
|
||||||
- ./nginx/logs:/var/log/nginx
|
- ./nginx/logs:/var/log/nginx
|
||||||
- ./nginx/conf.d:/etc/nginx/conf.d
|
- ./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.auto-clean=true
|
||||||
nacos.naming.empty-service.clean.initial-delay-ms=50000
|
nacos.naming.empty-service.clean.initial-delay-ms=50000
|
||||||
nacos.naming.empty-service.clean.period-time-ms=30000
|
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=*
|
management.endpoints.web.exposure.include=*
|
||||||
|
|
||||||
|
|||||||
@@ -15,11 +15,19 @@ http {
|
|||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
|
||||||
location /sys {
|
location /sys {
|
||||||
root /home/wfc/portal;
|
root /opt/wfc/portal;
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /img {
|
||||||
|
alias /opt/wfc/portal/img;
|
||||||
|
|
||||||
|
autoindex on;
|
||||||
|
autoindex_exact_size off;
|
||||||
|
autoindex_localtime on;
|
||||||
|
}
|
||||||
|
|
||||||
location /sys-api/{
|
location /sys-api/{
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
@@ -29,7 +37,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /u {
|
location /u {
|
||||||
root /home/wfc/portal;
|
root /opt/wfc/portal;
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ FROM nginx
|
|||||||
# author
|
# author
|
||||||
MAINTAINER wfc
|
MAINTAINER wfc
|
||||||
# 工作目录
|
# 工作目录
|
||||||
WORKDIR /home/wfc/portal
|
WORKDIR /opt/wfc/portal
|
||||||
# 复制conf文件到路径
|
# 复制conf文件到路径
|
||||||
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
|
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
|
||||||
# 复制html文件到路径
|
# 复制html文件到路径
|
||||||
COPY ./html /home/wfc/portal
|
COPY ./html /opt/wfc/portal
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ FROM redis
|
|||||||
MAINTAINER wfc
|
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文件到路径
|
# 复制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
|
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文件到路径
|
# 复制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"]
|
ENTRYPOINT ["java","-jar","wfc-auth.jar"]
|
||||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
|||||||
MAINTAINER wfc
|
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文件到路径
|
# 复制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"]
|
ENTRYPOINT ["java","-jar","wfc-gateway.jar"]
|
||||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
|||||||
MAINTAINER wfc
|
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文件到路径
|
# 复制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"]
|
ENTRYPOINT ["java","-jar","wfc-modules-file.jar"]
|
||||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
|||||||
MAINTAINER wfc
|
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文件到路径
|
# 复制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"]
|
ENTRYPOINT ["java","-jar","wfc-modules-gen.jar"]
|
||||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
|||||||
MAINTAINER wfc
|
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文件到路径
|
# 复制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"]
|
ENTRYPOINT ["java","-jar","wfc-modules-job.jar"]
|
||||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
|||||||
LABEL org.wfc.image.authors="wfc@wfc.org"
|
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文件到路径
|
# 复制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"]
|
ENTRYPOINT ["java","-jar","wfc-modules-payment.jar"]
|
||||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
|||||||
MAINTAINER wfc
|
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文件到路径
|
# 复制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"]
|
ENTRYPOINT ["java","-jar","wfc-modules-system.jar"]
|
||||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
|||||||
MAINTAINER wfc
|
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文件到路径
|
# 复制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"]
|
ENTRYPOINT ["java","-jar","wfc-modules-user.jar"]
|
||||||
@@ -4,12 +4,12 @@ FROM openjdk:8-jre
|
|||||||
MAINTAINER wfc
|
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文件到路径
|
# 复制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"]
|
ENTRYPOINT ["java","-jar","wfc-visual-monitor.jar"]
|
||||||
81
pom.xml
81
pom.xml
@@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
<groupId>org.wfc</groupId>
|
<groupId>org.wfc</groupId>
|
||||||
<artifactId>wfc</artifactId>
|
<artifactId>wfc</artifactId>
|
||||||
<version>1.0.2</version>
|
<version>1.0.19</version>
|
||||||
|
|
||||||
<name>wfc</name>
|
<name>wfc</name>
|
||||||
<description>WANFi Controller</description>
|
<description>WANFi Control and Billing System</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<wfc.version>1.0.2</wfc.version>
|
<wfc.version>1.0.19</wfc.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
@@ -37,8 +37,15 @@
|
|||||||
<hutool.version>5.8.33</hutool.version>
|
<hutool.version>5.8.33</hutool.version>
|
||||||
<lombok.version>1.18.36</lombok.version>
|
<lombok.version>1.18.36</lombok.version>
|
||||||
<swagger.core.version>1.6.2</swagger.core.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>
|
<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>
|
<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 -->
|
<!-- override dependency version -->
|
||||||
<tomcat.version>9.0.96</tomcat.version>
|
<tomcat.version>9.0.96</tomcat.version>
|
||||||
@@ -291,6 +298,20 @@
|
|||||||
<version>${wfc.version}</version>
|
<version>${wfc.version}</version>
|
||||||
</dependency>
|
</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>
|
<dependency>
|
||||||
<groupId>org.wfc</groupId>
|
<groupId>org.wfc</groupId>
|
||||||
@@ -325,6 +346,34 @@
|
|||||||
<artifactId>javax.mail</artifactId>
|
<artifactId>javax.mail</artifactId>
|
||||||
<version>${mail.version}</version>
|
<version>${mail.version}</version>
|
||||||
</dependency>
|
</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>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
@@ -356,6 +405,18 @@
|
|||||||
<source>${java.version}</source>
|
<source>${java.version}</source>
|
||||||
<target>${java.version}</target>
|
<target>${java.version}</target>
|
||||||
<encoding>${project.build.sourceEncoding}</encoding>
|
<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>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
@@ -391,6 +452,16 @@
|
|||||||
<resource>
|
<resource>
|
||||||
<directory>src/main/resources</directory>
|
<directory>src/main/resources</directory>
|
||||||
<filtering>true</filtering>
|
<filtering>true</filtering>
|
||||||
|
<excludes>
|
||||||
|
<exclude>*.keystore</exclude>
|
||||||
|
</excludes>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<filtering>false</filtering>
|
||||||
|
<includes>
|
||||||
|
<include>*.keystore</include>
|
||||||
|
</includes>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</build>
|
</build>
|
||||||
@@ -452,7 +523,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<!--当前环境-->
|
<!--当前环境-->
|
||||||
<profileName>prod</profileName>
|
<profileName>prod</profileName>
|
||||||
<nacosServerAddr>192.168.2.248:8848</nacosServerAddr>
|
<nacosServerAddr>${wfc.nacos.server}:${wfc.nacos.port}</nacosServerAddr>
|
||||||
<nacosNamespace>wfc-prod</nacosNamespace>
|
<nacosNamespace>wfc-prod</nacosNamespace>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
@@ -462,7 +533,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<!--当前环境-->
|
<!--当前环境-->
|
||||||
<profileName>cyc</profileName>
|
<profileName>cyc</profileName>
|
||||||
<nacosServerAddr>192.168.2.248:8848</nacosServerAddr>
|
<nacosServerAddr>localhost:8848</nacosServerAddr>
|
||||||
<nacosNamespace>wfc-cyc</nacosNamespace>
|
<nacosNamespace>wfc-cyc</nacosNamespace>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</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,20 +1,19 @@
|
|||||||
/*
|
/*
|
||||||
Navicat Premium Data Transfer
|
Navicat Premium Data Transfer
|
||||||
|
|
||||||
Source Server : 192.168.9.58_13306
|
Source Server : local-docker-mysql
|
||||||
Source Server Type : MySQL
|
Source Server Type : MySQL
|
||||||
Source Server Version : 80039 (8.0.39)
|
Source Server Version : 50744 (5.7.44)
|
||||||
Source Host : 192.168.9.58:13306
|
Source Host : localhost:3306
|
||||||
Source Schema : wfc_config_db
|
Source Schema : wfc_config_db
|
||||||
|
|
||||||
Target Server Type : MySQL
|
Target Server Type : MySQL
|
||||||
Target Server Version : 80039 (8.0.39)
|
Target Server Version : 50744 (5.7.44)
|
||||||
File Encoding : 65001
|
File Encoding : 65001
|
||||||
|
|
||||||
Date: 03/12/2024 16:20:58
|
Date: 23/01/2025 14:34:14
|
||||||
*/
|
*/
|
||||||
|
|
||||||
-- DROP DATABASE IF EXISTS `wfc_config_db`;
|
|
||||||
CREATE DATABASE IF NOT EXISTS `wfc_config_db` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
|
CREATE DATABASE IF NOT EXISTS `wfc_config_db` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
|
||||||
|
|
||||||
SET NAMES utf8mb4;
|
SET NAMES utf8mb4;
|
||||||
@@ -27,137 +26,176 @@ USE wfc_config_db;
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `config_info`;
|
DROP TABLE IF EXISTS `config_info`;
|
||||||
CREATE TABLE `config_info` (
|
CREATE TABLE `config_info` (
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||||
`data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
|
`data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
|
||||||
`group_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL,
|
`group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'group_id',
|
||||||
`content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'content',
|
`content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content',
|
||||||
`md5` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'md5',
|
`md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5',
|
||||||
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
||||||
`src_user` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL COMMENT 'source user',
|
`src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user',
|
||||||
`src_ip` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'source ip',
|
`src_ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip',
|
||||||
`app_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_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 utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT '' COMMENT '租户字段',
|
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段',
|
||||||
`c_desc` varchar(256) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL,
|
`c_desc` varchar(256) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'configuration description',
|
||||||
`c_use` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL,
|
`c_use` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'configuration usage',
|
||||||
`effect` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL,
|
`effect` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '配置生效的描述',
|
||||||
`type` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL,
|
`type` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '配置的类型',
|
||||||
`c_schema` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL,
|
`c_schema` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '配置的模式',
|
||||||
`encrypted_data_key` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL COMMENT '秘钥',
|
`encrypted_data_key` varchar(1024) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '密钥',
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
UNIQUE INDEX `uk_configinfo_datagrouptenant`(`data_id` ASC, `group_id` ASC, `tenant_id` ASC) USING BTREE
|
UNIQUE INDEX `uk_configinfo_datagrouptenant`(`data_id`, `group_id`, `tenant_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 41 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_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
|
-- 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 (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-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 (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-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 (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-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 (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-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 (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-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 (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-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 (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-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 (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, '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 (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, '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 (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, '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-11-18 18:11:28', '2024-11-18 18:13:29', NULL, '192.168.88.14', '', 'wfc-dev', '网关模块', '', '', 'yaml', '', '');
|
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, '');
|
||||||
INSERT INTO `config_info` VALUES (12, 'wfc-auth-dev.yml', 'DEFAULT_GROUP', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n', '8bd9dada9a94822feeab40de55efced6', '2024-11-18 18:11:28', '2024-11-18 18:14:04', NULL, '192.168.88.14', '', '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', '7546d5a605e371c8b20e6fe3b4dd96f2', '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 (14, '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-11-18 18:11:28', '2024-11-18 18:15:11', NULL, '192.168.88.14', '', 'wfc-dev', '系统模块', '', '', 'yaml', '', '');
|
|
||||||
INSERT INTO `config_info` VALUES (15, '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-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 (16, '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-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 (17, '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-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 (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: 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-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\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-11-18 18:11:56', '2024-11-29 15:42:54', NULL, '192.168.88.14', '', '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://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-11-18 18:11:56', '2024-11-27 18:39:16', NULL, '192.168.88.14', '', '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', '7546d5a605e371c8b20e6fe3b4dd96f2', '2024-11-18 18:11:56', '2024-12-03 11:45:19', NULL, '192.168.2.158', '', '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-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-11-18 18:11:56', '2024-11-27 18:40:07', NULL, '192.168.88.14', '', 'wfc-test', '系统模块', '', '', 'yaml', '', '');
|
|
||||||
INSERT INTO `config_info` VALUES (24, '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-11-18 18:11:56', '2024-11-18 18:11:56', '', '192.168.88.14', '', 'wfc-test', '代码生成', NULL, NULL, 'yaml', NULL, '');
|
|
||||||
INSERT INTO `config_info` VALUES (25, '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-11-18 18:11:56', '2024-11-18 18:11:56', '', '192.168.88.14', '', 'wfc-test', '定时任务', NULL, NULL, 'yaml', NULL, '');
|
|
||||||
INSERT INTO `config_info` VALUES (26, '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-11-18 18:11:56', '2024-11-18 18:11:56', '', '192.168.88.14', '', 'wfc-test', '文件服务', NULL, NULL, 'yaml', NULL, '');
|
|
||||||
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 (28, '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-11-21 17:39:18', '2024-11-26 17:01:57', NULL, '192.168.88.14', '', 'wfc-cyc', '通用配置', '', '', 'yaml', '', '');
|
|
||||||
INSERT INTO `config_info` VALUES (29, '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-11-21 17:39:18', '2024-11-28 11:33:43', NULL, '192.168.88.14', '', 'wfc-cyc', '网关模块', '', '', 'yaml', '', '');
|
|
||||||
INSERT INTO `config_info` VALUES (30, '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-21 17:39:18', '2024-11-27 11:24:30', NULL, '192.168.88.14', '', 'wfc-cyc', '认证中心', '', '', 'yaml', '', '');
|
|
||||||
INSERT INTO `config_info` VALUES (31, '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-11-21 17:39:18', '2024-12-03 11:45:04', NULL, '192.168.2.158', '', 'wfc-cyc', '监控中心', '', '', 'yaml', '', '');
|
|
||||||
INSERT INTO `config_info` VALUES (32, '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-11-21 17:39:18', '2024-11-27 15:50:00', NULL, '192.168.88.14', '', 'wfc-cyc', '系统模块', '', '', 'yaml', '', '');
|
|
||||||
INSERT INTO `config_info` VALUES (33, '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-11-21 17:39:18', '2024-11-21 17:39:18', NULL, '192.168.88.14', '', 'wfc-cyc', '代码生成', NULL, NULL, 'yaml', NULL, '');
|
|
||||||
INSERT INTO `config_info` VALUES (34, '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-11-21 17:39:18', '2024-11-21 17:39:18', NULL, '192.168.88.14', '', 'wfc-cyc', '定时任务', NULL, NULL, 'yaml', NULL, '');
|
|
||||||
INSERT INTO `config_info` VALUES (35, '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-11-21 17:39:18', '2024-11-21 17:39:18', NULL, '192.168.88.14', '', 'wfc-cyc', '文件服务', NULL, NULL, 'yaml', NULL, '');
|
|
||||||
INSERT INTO `config_info` VALUES (36, '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-21 17:39:18', '2024-11-21 17:39:18', NULL, '192.168.88.14', '', 'wfc-cyc', '限流策略', NULL, NULL, 'json', NULL, '');
|
|
||||||
INSERT INTO `config_info` VALUES (37, '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 11:17:41', NULL, '192.168.5.58', '', 'wfc-dev', '用户平台模块', NULL, NULL, 'yaml', NULL, '');
|
|
||||||
INSERT INTO `config_info` VALUES (39, '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-11-28 19:59:47', '2024-11-28 20:02:40', NULL, '192.168.88.14', '', 'wfc-test', '用户平台模块', '', '', 'yaml', '', '');
|
|
||||||
INSERT INTO `config_info` VALUES (40, '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-11-28 20:07:02', '2024-11-28 20:07:38', NULL, '192.168.88.14', '', 'wfc-cyc', '用户平台模块', '', '', 'yaml', '', '');
|
|
||||||
|
|
||||||
-- ----------------------------
|
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, '');
|
||||||
-- Table structure for config_info_aggr
|
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', '', '');
|
||||||
DROP TABLE IF EXISTS `config_info_aggr`;
|
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', '', '');
|
||||||
CREATE TABLE `config_info_aggr` (
|
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', '', '');
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
|
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', '', '');
|
||||||
`data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
|
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', '', '');
|
||||||
`group_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
|
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', '', '');
|
||||||
`datum_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'datum_id',
|
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, '');
|
||||||
`content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '内容',
|
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, '');
|
||||||
`gmt_modified` datetime NOT NULL COMMENT '修改时间',
|
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, '');
|
||||||
`app_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL,
|
|
||||||
`tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT '' COMMENT '租户字段',
|
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
|
||||||
UNIQUE INDEX `uk_configinfoaggr_datagrouptenantdatum`(`data_id` ASC, `group_id` ASC, `tenant_id` ASC, `datum_id` ASC) USING BTREE
|
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_bin COMMENT = '增加租户字段' ROW_FORMAT = DYNAMIC;
|
|
||||||
|
|
||||||
-- ----------------------------
|
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', '', '');
|
||||||
-- Records of config_info_aggr
|
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
|
-- Table structure for config_info_beta
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `config_info_beta`;
|
DROP TABLE IF EXISTS `config_info_beta`;
|
||||||
CREATE TABLE `config_info_beta` (
|
CREATE TABLE `config_info_beta` (
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||||
`data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
|
`data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
|
||||||
`group_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
|
`group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id',
|
||||||
`app_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'app_name',
|
`app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'app_name',
|
||||||
`content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'content',
|
`content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content',
|
||||||
`beta_ips` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'betaIps',
|
`beta_ips` varchar(1024) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'betaIps',
|
||||||
`md5` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'md5',
|
`md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5',
|
||||||
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
||||||
`src_user` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL COMMENT 'source user',
|
`src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user',
|
||||||
`src_ip` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'source ip',
|
`src_ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip',
|
||||||
`tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT '' COMMENT '租户字段',
|
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段',
|
||||||
`encrypted_data_key` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL COMMENT '秘钥',
|
`encrypted_data_key` varchar(1024) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '密钥',
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
UNIQUE INDEX `uk_configinfobeta_datagrouptenant`(`data_id` ASC, `group_id` ASC, `tenant_id` ASC) USING BTREE
|
UNIQUE INDEX `uk_configinfobeta_datagrouptenant`(`data_id`, `group_id`, `tenant_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_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
|
-- 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
|
-- Table structure for config_info_tag
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `config_info_tag`;
|
DROP TABLE IF EXISTS `config_info_tag`;
|
||||||
CREATE TABLE `config_info_tag` (
|
CREATE TABLE `config_info_tag` (
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||||
`data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
|
`data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
|
||||||
`group_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
|
`group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id',
|
||||||
`tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT '' COMMENT 'tenant_id',
|
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_id',
|
||||||
`tag_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'tag_id',
|
`tag_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'tag_id',
|
||||||
`app_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'app_name',
|
`app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'app_name',
|
||||||
`content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'content',
|
`content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content',
|
||||||
`md5` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'md5',
|
`md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5',
|
||||||
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
||||||
`src_user` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL COMMENT 'source user',
|
`src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user',
|
||||||
`src_ip` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'source ip',
|
`src_ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip',
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
UNIQUE INDEX `uk_configinfotag_datagrouptenanttag`(`data_id` ASC, `group_id` ASC, `tenant_id` ASC, `tag_id` ASC) USING BTREE
|
UNIQUE INDEX `uk_configinfotag_datagrouptenanttag`(`data_id`, `group_id`, `tenant_id`, `tag_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_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
|
-- Records of config_info_tag
|
||||||
@@ -168,17 +206,17 @@ CREATE TABLE `config_info_tag` (
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `config_tags_relation`;
|
DROP TABLE IF EXISTS `config_tags_relation`;
|
||||||
CREATE TABLE `config_tags_relation` (
|
CREATE TABLE `config_tags_relation` (
|
||||||
`id` bigint NOT NULL COMMENT 'id',
|
`id` bigint(20) NOT NULL COMMENT 'id',
|
||||||
`tag_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'tag_name',
|
`tag_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'tag_name',
|
||||||
`tag_type` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'tag_type',
|
`tag_type` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'tag_type',
|
||||||
`data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'data_id',
|
`data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
|
||||||
`group_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'group_id',
|
`group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id',
|
||||||
`tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT '' COMMENT 'tenant_id',
|
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_id',
|
||||||
`nid` bigint NOT NULL AUTO_INCREMENT,
|
`nid` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'nid, 自增长标识',
|
||||||
PRIMARY KEY (`nid`) USING BTREE,
|
PRIMARY KEY (`nid`) USING BTREE,
|
||||||
UNIQUE INDEX `uk_configtagrelation_configidtag`(`id` ASC, `tag_name` ASC, `tag_type` ASC) USING BTREE,
|
UNIQUE INDEX `uk_configtagrelation_configidtag`(`id`, `tag_name`, `tag_type`) USING BTREE,
|
||||||
INDEX `idx_tenant_id`(`tenant_id` ASC) USING BTREE
|
INDEX `idx_tenant_id`(`tenant_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_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
|
-- Records of config_tags_relation
|
||||||
@@ -189,19 +227,19 @@ CREATE TABLE `config_tags_relation` (
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `group_capacity`;
|
DROP TABLE IF EXISTS `group_capacity`;
|
||||||
CREATE TABLE `group_capacity` (
|
CREATE TABLE `group_capacity` (
|
||||||
`id` bigint UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
||||||
`group_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL DEFAULT '' COMMENT 'Group ID,空字符表示整个集群',
|
`group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Group ID,空字符表示整个集群',
|
||||||
`quota` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '配额,0表示使用默认值',
|
`quota` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '配额,0表示使用默认值',
|
||||||
`usage` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '使用量',
|
`usage` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '使用量',
|
||||||
`max_size` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个配置大小上限,单位为字节,0表示使用默认值',
|
`max_size` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个配置大小上限,单位为字节,0表示使用默认值',
|
||||||
`max_aggr_count` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '聚合子配置最大个数,,0表示使用默认值',
|
`max_aggr_count` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '聚合子配置最大个数,,0表示使用默认值',
|
||||||
`max_aggr_size` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个聚合数据的子配置大小上限,单位为字节,0表示使用默认值',
|
`max_aggr_size` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个聚合数据的子配置大小上限,单位为字节,0表示使用默认值',
|
||||||
`max_history_count` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '最大变更历史数量',
|
`max_history_count` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最大变更历史数量',
|
||||||
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
UNIQUE INDEX `uk_group_id`(`group_id` ASC) USING BTREE
|
UNIQUE INDEX `uk_group_id`(`group_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_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
|
-- Records of group_capacity
|
||||||
@@ -212,135 +250,43 @@ CREATE TABLE `group_capacity` (
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `his_config_info`;
|
DROP TABLE IF EXISTS `his_config_info`;
|
||||||
CREATE TABLE `his_config_info` (
|
CREATE TABLE `his_config_info` (
|
||||||
`id` bigint UNSIGNED NOT NULL,
|
`id` bigint(20) UNSIGNED NOT NULL COMMENT 'id',
|
||||||
`nid` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
|
`nid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'nid, 自增标识',
|
||||||
`data_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
|
`data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id',
|
||||||
`group_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
|
`group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id',
|
||||||
`app_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'app_name',
|
`app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'app_name',
|
||||||
`content` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
|
`content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content',
|
||||||
`md5` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL,
|
`md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5',
|
||||||
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
||||||
`src_user` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL,
|
`src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user',
|
||||||
`src_ip` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL,
|
`src_ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip',
|
||||||
`op_type` char(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL,
|
`op_type` char(10) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'operation type',
|
||||||
`tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT '' COMMENT '租户字段',
|
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段',
|
||||||
`encrypted_data_key` text CHARACTER SET utf8mb3 COLLATE utf8mb3_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,
|
PRIMARY KEY (`nid`) USING BTREE,
|
||||||
INDEX `idx_gmt_create`(`gmt_create` ASC) USING BTREE,
|
INDEX `idx_gmt_create`(`gmt_create`) USING BTREE,
|
||||||
INDEX `idx_gmt_modified`(`gmt_modified` ASC) USING BTREE,
|
INDEX `idx_gmt_modified`(`gmt_modified`) USING BTREE,
|
||||||
INDEX `idx_did`(`data_id` ASC) USING BTREE
|
INDEX `idx_did`(`data_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 97 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_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
|
-- Records of his_config_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
INSERT INTO `his_config_info` VALUES (0, 2, '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# 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-21 17:39:17', '2024-11-21 09:39:18', NULL, '192.168.88.14', 'I', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (0, 3, 'wfc-gateway-cyc.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-21 17:39:17', '2024-11-21 09:39:18', NULL, '192.168.88.14', 'I', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (0, 4, 'wfc-auth-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n', 'c3f5481240e7581cc397f5c7918fd785', '2024-11-21 17:39:17', '2024-11-21 09:39:18', NULL, '192.168.88.14', 'I', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (0, 5, '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-11-21 17:39:17', '2024-11-21 09:39:18', NULL, '192.168.88.14', 'I', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (0, 6, 'wfc-system-cyc.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-21 17:39:17', '2024-11-21 09:39:18', NULL, '192.168.88.14', 'I', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (0, 7, '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-11-21 17:39:17', '2024-11-21 09:39:18', NULL, '192.168.88.14', 'I', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (0, 8, '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-11-21 17:39:17', '2024-11-21 09:39:18', NULL, '192.168.88.14', 'I', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (0, 9, '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-11-21 17:39:17', '2024-11-21 09:39:18', NULL, '192.168.88.14', 'I', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (0, 10, '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-21 17:39:17', '2024-11-21 09:39:18', NULL, '192.168.88.14', 'I', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (29, 11, 'wfc-gateway-cyc.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-21 17:41:20', '2024-11-21 09:41:20', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (30, 12, 'wfc-auth-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: wfc-redis\n port: 6379\n password:\n', 'c3f5481240e7581cc397f5c7918fd785', '2024-11-21 17:41:32', '2024-11-21 09:41:33', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 13, 'wfc-system-cyc.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-21 17:41:51', '2024-11-21 09:41:52', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (30, 14, 'wfc-auth-cyc.yml', 'DEFAULT_GROUP', '', 'spring:\n redis:\n host: localhost\n port: 6379\n password:\n', '8bd9dada9a94822feeab40de55efced6', '2024-11-21 17:42:54', '2024-11-21 09:42:55', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 15, '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# 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-21 18:11:06', '2024-11-21 10:11:06', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (29, 16, '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-22 10:44:50', '2024-11-22 02:44:51', NULL, '192.168.0.11', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (29, 17, '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 - /csrf\n', '25ee2b5194ced36609b4e7ec01dc5442', '2024-11-22 16:32:54', '2024-11-22 08:32:55', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 18, '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\n# swagger配置\nswagger:\n title: 系统模块接口文档\n license: Powered By wfc\n licenseUrl: https://wfc.vip', '84280e0cbc21676ebd4116cd7ae8b5a0', '2024-11-22 17:02:25', '2024-11-22 09:02:26', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 19, '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', '2a60ad06d60029c36a8db75e9b3e83ad', '2024-11-22 17:03:49', '2024-11-22 09:03:50', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (29, 20, '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-22 17:49:29', '2024-11-22 09:49:30', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (29, 21, '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 - /csrf\n', '25ee2b5194ced36609b4e7ec01dc5442', '2024-11-25 11:02:18', '2024-11-25 03:02:19', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 22, '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# 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\n', '5383adfb6d3bda1d9f57591fe9092302', '2024-11-25 14:18:49', '2024-11-25 06:18:49', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 23, '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/messages2\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\n', 'bc90095645d579488eb0c712b1ad18b4', '2024-11-25 14:18:58', '2024-11-25 06:18:59', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 24, '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/messages2\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\n', 'bc90095645d579488eb0c712b1ad18b4', '2024-11-25 14:20:57', '2024-11-25 06:20:57', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 25, '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\n', '558d80da61030144a1dc4bd923596486', '2024-11-25 14:24:53', '2024-11-25 06:24:53', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 26, '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/messages2\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\n', 'bc90095645d579488eb0c712b1ad18b4', '2024-11-25 14:25:11', '2024-11-25 06:25:12', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 27, '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/messages2\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\n', 'bc90095645d579488eb0c712b1ad18b4', '2024-11-25 14:25:28', '2024-11-25 06:25:29', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 28, '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/messages2\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\n', 'bc90095645d579488eb0c712b1ad18b4', '2024-11-25 14:25:58', '2024-11-25 06:25:59', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 29, '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/messages2\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\n', 'bc90095645d579488eb0c712b1ad18b4', '2024-11-25 14:26:54', '2024-11-25 06:26:55', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 30, '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\n', '558d80da61030144a1dc4bd923596486', '2024-11-25 14:31:01', '2024-11-25 06:31:02', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 31, '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\n', '558d80da61030144a1dc4bd923596486', '2024-11-26 16:32:50', '2024-11-26 08:32:51', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 32, '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: 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: zcbontiutwvebedb222\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n\n', 'a0e968dbfcc3d05bc78027d97affcbf2', '2024-11-26 16:38:38', '2024-11-26 08:38:39', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 33, '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: 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\n', 'cd065e3fc9105b380ebcd04ed8948ca6', '2024-11-26 16:43:39', '2024-11-26 08:43:39', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 34, '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: 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\n', '41532b98404c08bf58541b2542fec3c6', '2024-11-26 16:48:38', '2024-11-26 08:48:38', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 35, '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: 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\n', 'cd065e3fc9105b380ebcd04ed8948ca6', '2024-11-26 16:53:58', '2024-11-26 08:53:59', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (28, 36, '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: zcbontiutwvebedb\n # 使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。\n starttlsEnable: true\n # 使用SSL安全连接\n sslEnable: true\n # SMTP超时时长,单位毫秒,缺省值不超时\n timeout: 0\n # Socket连接超时值,单位毫秒,缺省值不超时\n connectionTimeout: 0\n\n\n', '8afcc3f6369708c25a266692aec90741', '2024-11-26 17:01:57', '2024-11-26 09:01:57', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 37, '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', '608ce56158de930df0781e75998db251', '2024-11-26 17:02:20', '2024-11-26 09:02:20', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 38, 'wfc-system-cyc.yml', 'DEFAULT_GROUP', '', '# spring配置\nspring:\n redis:\n host: localhost2\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', 'f6d2c756a2208e945fcc953e440a1a98', '2024-11-26 17:02:40', '2024-11-26 09:02:41', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 39, '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', '608ce56158de930df0781e75998db251', '2024-11-26 17:09:30', '2024-11-26 09:09:31', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 40, '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\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', '971ec49889f0f593983fbf7b7379df5f', '2024-11-26 17:10:10', '2024-11-26 09:10:11', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 41, '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', 'b90deb93340436b8f297c6a8031492e6', '2024-11-26 17:11:41', '2024-11-26 09:11:42', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 42, '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.agrandtech.com\n port: 465\n # 是否需要用户名密码验证\n auth: false\n # 发送方,遵循RFC-822标准\n from: caiyuchao@agrandtech.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: caiyuchao@agrandtech.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', 'c889a5713dff2c5149776586fe9c72f5', '2024-11-26 17:12:28', '2024-11-26 09:12:28', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 43, '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.agrandtech.com\n port: 465\n # 是否需要用户名密码验证\n auth: false\n # 发送方,遵循RFC-822标准\n from: caiyuchao@agrandtech.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: caiyuchao@agrandtech.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', 'c889a5713dff2c5149776586fe9c72f5', '2024-11-26 17:13:17', '2024-11-26 09:13:17', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 44, '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: false\n host: smtp.agrandtech.com\n port: 465\n # 是否需要用户名密码验证\n auth: false\n # 发送方,遵循RFC-822标准\n from: caiyuchao@agrandtech.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: caiyuchao@agrandtech.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', '607e9c3c61b9f41cc4e2940d1adacd18', '2024-11-26 17:15:01', '2024-11-26 09:15:01', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 45, '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.agrandtech.com\n port: 465\n # 是否需要用户名密码验证\n auth: false\n # 发送方,遵循RFC-822标准\n from: caiyuchao@agrandtech.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: caiyuchao@agrandtech.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', 'c889a5713dff2c5149776586fe9c72f5', '2024-11-26 17:15:35', '2024-11-26 09:15:36', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 46, '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.agrandtech.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: caiyuchao@agrandtech.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: caiyuchao@agrandtech.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', '256279d2afb49651b33bf755d763cebe', '2024-11-26 17:16:09', '2024-11-26 09:16:10', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 47, '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.agrandtech.com\n port: 465\n # 是否需要用户名密码验证\n auth: true\n # 发送方,遵循RFC-822标准\n from: 707821112@qq.com\n # 用户名(注意:如果使用foxmail邮箱,此处user为qq号)\n user: caiyuchao@agrandtech.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', '7b3267e0286ed09b3ab8411c8a89b701', '2024-11-26 17:16:43', '2024-11-26 09:16:44', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 48, '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: caiyuchao@agrandtech.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', '14b3cdbdbf922f3402ad0d99f6e4995a', '2024-11-26 17:17:40', '2024-11-26 09:17:41', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 49, '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: caiyuchao@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', '914885a92040ffceb11fee6dce7499d4', '2024-11-26 17:19:30', '2024-11-26 09:19:31', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 50, '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', '5b18a20bc7c0197ef39e85df4ecbd165', '2024-11-26 17:22:14', '2024-11-26 09:22:14', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 51, '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', '5b18a20bc7c0197ef39e85df4ecbd165', '2024-11-26 17:22:26', '2024-11-26 09:22:27', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 52, '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', 'b90deb93340436b8f297c6a8031492e6', '2024-11-26 17:22:36', '2024-11-26 09:22:36', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 53, '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', '5b18a20bc7c0197ef39e85df4ecbd165', '2024-11-26 17:34:09', '2024-11-26 09:34:09', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
INSERT INTO `his_config_info` VALUES (32, 54, '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.agrandtech.com\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', '4eecf894e24b6c77a2dbe23cd83cdc75', '2024-11-26 17:35:14', '2024-11-26 09:35:15', NULL, '192.168.88.14', 'U', 'wfc-cyc', '');
|
|
||||||
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', '');
|
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for permissions
|
-- Table structure for permissions
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `permissions`;
|
DROP TABLE IF EXISTS `permissions`;
|
||||||
CREATE TABLE `permissions` (
|
CREATE TABLE `permissions` (
|
||||||
`role` varchar(50) 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(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
`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,
|
`action` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'action',
|
||||||
UNIQUE INDEX `uk_role_permission`(`role` ASC, `resource` ASC, `action` ASC) USING BTREE
|
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
|
-- Records of permissions
|
||||||
@@ -351,10 +297,10 @@ CREATE TABLE `permissions` (
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `roles`;
|
DROP TABLE IF EXISTS `roles`;
|
||||||
CREATE TABLE `roles` (
|
CREATE TABLE `roles` (
|
||||||
`username` 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,
|
`role` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'role',
|
||||||
UNIQUE INDEX `idx_user_role`(`username` ASC, `role` ASC) USING BTREE
|
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
|
-- Records of roles
|
||||||
@@ -366,19 +312,19 @@ INSERT INTO `roles` VALUES ('nacos', 'ROLE_ADMIN');
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `tenant_capacity`;
|
DROP TABLE IF EXISTS `tenant_capacity`;
|
||||||
CREATE TABLE `tenant_capacity` (
|
CREATE TABLE `tenant_capacity` (
|
||||||
`id` bigint UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
||||||
`tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL DEFAULT '' COMMENT 'Tenant ID',
|
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Tenant ID',
|
||||||
`quota` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '配额,0表示使用默认值',
|
`quota` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '配额,0表示使用默认值',
|
||||||
`usage` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '使用量',
|
`usage` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '使用量',
|
||||||
`max_size` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个配置大小上限,单位为字节,0表示使用默认值',
|
`max_size` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个配置大小上限,单位为字节,0表示使用默认值',
|
||||||
`max_aggr_count` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '聚合子配置最大个数',
|
`max_aggr_count` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '聚合子配置最大个数',
|
||||||
`max_aggr_size` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个聚合数据的子配置大小上限,单位为字节,0表示使用默认值',
|
`max_aggr_size` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个聚合数据的子配置大小上限,单位为字节,0表示使用默认值',
|
||||||
`max_history_count` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '最大变更历史数量',
|
`max_history_count` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最大变更历史数量',
|
||||||
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
UNIQUE INDEX `uk_tenant_id`(`tenant_id` ASC) USING BTREE
|
UNIQUE INDEX `uk_tenant_id`(`tenant_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_bin COMMENT = '租户容量信息表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '租户容量信息表' ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of tenant_capacity
|
-- Records of tenant_capacity
|
||||||
@@ -389,36 +335,36 @@ CREATE TABLE `tenant_capacity` (
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `tenant_info`;
|
DROP TABLE IF EXISTS `tenant_info`;
|
||||||
CREATE TABLE `tenant_info` (
|
CREATE TABLE `tenant_info` (
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||||
`kp` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT 'kp',
|
`kp` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'kp',
|
||||||
`tenant_id` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT '' COMMENT 'tenant_id',
|
`tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_id',
|
||||||
`tenant_name` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT '' COMMENT 'tenant_name',
|
`tenant_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_name',
|
||||||
`tenant_desc` varchar(256) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'tenant_desc',
|
`tenant_desc` varchar(256) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'tenant_desc',
|
||||||
`create_source` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NULL DEFAULT NULL COMMENT 'create_source',
|
`create_source` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'create_source',
|
||||||
`gmt_create` bigint NOT NULL COMMENT '创建时间',
|
`gmt_create` bigint(20) NOT NULL COMMENT '创建时间',
|
||||||
`gmt_modified` bigint NOT NULL COMMENT '修改时间',
|
`gmt_modified` bigint(20) NOT NULL COMMENT '修改时间',
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
UNIQUE INDEX `uk_tenant_info_kptenantid`(`kp` ASC, `tenant_id` ASC) USING BTREE,
|
UNIQUE INDEX `uk_tenant_info_kptenantid`(`kp`, `tenant_id`) USING BTREE,
|
||||||
INDEX `idx_tenant_id`(`tenant_id` ASC) USING BTREE
|
INDEX `idx_tenant_id`(`tenant_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_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
|
-- Records of tenant_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
INSERT INTO `tenant_info` VALUES (1, '1', 'wfc-dev', 'wfc-dev', '开发环境命名空间', 'nacos', 1731924580008, 1731924580008);
|
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', '测试环境命名空间', 'nacos', 1731924616218, 1731924616218);
|
INSERT INTO `tenant_info` VALUES (2, '1', 'wfc-test', 'wfc-test', 'Test environment namespace', 'nacos', 1731924616218, 1735414361709);
|
||||||
INSERT INTO `tenant_info` VALUES (3, '1', 'wfc-cyc', 'wfc-cyc', 'cyc个人空间', 'nacos', 1732181897066, 1732181897066);
|
INSERT INTO `tenant_info` VALUES (4, '1', 'wfc-prod', 'wfc-prod', 'Production environment namespace', 'nacos', 1734061909181, 1735414409806);
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for users
|
-- Table structure for users
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `users`;
|
DROP TABLE IF EXISTS `users`;
|
||||||
CREATE TABLE `users` (
|
CREATE TABLE `users` (
|
||||||
`username` 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',
|
||||||
`password` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
`password` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'password',
|
||||||
`enabled` tinyint(1) NOT NULL,
|
`enabled` tinyint(1) NOT NULL COMMENT 'enabled',
|
||||||
PRIMARY KEY (`username`) USING BTREE
|
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
|
-- Records of users
|
||||||
|
|||||||
@@ -1,20 +1,19 @@
|
|||||||
/*
|
/*
|
||||||
Navicat Premium Data Transfer
|
Navicat Premium Data Transfer
|
||||||
|
|
||||||
Source Server : 192.168.9.58_13306
|
Source Server : root@192.168.2.248-docker
|
||||||
Source Server Type : MySQL
|
Source Server Type : MySQL
|
||||||
Source Server Version : 80039 (8.0.39)
|
Source Server Version : 50744 (5.7.44)
|
||||||
Source Host : 192.168.9.58:13306
|
Source Host : 192.168.2.248:3306
|
||||||
Source Schema : wfc_system_db
|
Source Schema : wfc_system_db
|
||||||
|
|
||||||
Target Server Type : MySQL
|
Target Server Type : MySQL
|
||||||
Target Server Version : 80039 (8.0.39)
|
Target Server Version : 50744 (5.7.44)
|
||||||
File Encoding : 65001
|
File Encoding : 65001
|
||||||
|
|
||||||
Date: 03/12/2024 16:40:04
|
Date: 24/12/2024 20:37:17
|
||||||
*/
|
*/
|
||||||
|
|
||||||
-- DROP DATABASE IF EXISTS `wfc_system_db`;
|
|
||||||
CREATE DATABASE IF NOT EXISTS `wfc_system_db` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
|
CREATE DATABASE IF NOT EXISTS `wfc_system_db` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
|
||||||
|
|
||||||
SET NAMES utf8mb4;
|
SET NAMES utf8mb4;
|
||||||
@@ -27,7 +26,7 @@ USE wfc_system_db;
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_config`;
|
DROP TABLE IF EXISTS `sys_config`;
|
||||||
CREATE TABLE `sys_config` (
|
CREATE TABLE `sys_config` (
|
||||||
`config_id` int NOT NULL AUTO_INCREMENT COMMENT '参数主键',
|
`config_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '参数主键',
|
||||||
`config_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '参数名称',
|
`config_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '参数名称',
|
||||||
`config_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '参数键名',
|
`config_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '参数键名',
|
||||||
`config_value` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '参数键值',
|
`config_value` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '参数键值',
|
||||||
@@ -38,25 +37,25 @@ CREATE TABLE `sys_config` (
|
|||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||||
PRIMARY KEY (`config_id`) USING BTREE
|
PRIMARY KEY (`config_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 100 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '参数配置表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '参数配置表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of 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 (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, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 'admin', '2024-05-08 21:50:55', '', NULL, '是否开启注册用户功能(true开启,false关闭)');
|
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, '用户登录-黑名单列表', 'sys.login.blackIPList', '', 'Y', 'admin', '2024-05-08 21:50:55', '', NULL, '设置登录IP黑名单限制,多个匹配项以;分隔,支持匹配(*通配、网段)');
|
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
|
-- Table structure for sys_dept
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_dept`;
|
DROP TABLE IF EXISTS `sys_dept`;
|
||||||
CREATE TABLE `sys_dept` (
|
CREATE TABLE `sys_dept` (
|
||||||
`dept_id` bigint NOT NULL AUTO_INCREMENT COMMENT '部门id',
|
`dept_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门id',
|
||||||
`parent_id` bigint NULL DEFAULT 0 COMMENT '父部门id',
|
`parent_id` bigint(20) NULL DEFAULT 0 COMMENT '父部门id',
|
||||||
`ancestors` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '祖级列表',
|
`ancestors` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '祖级列表',
|
||||||
`dept_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '部门名称',
|
`dept_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '部门名称',
|
||||||
`order_num` int NULL DEFAULT 0 COMMENT '显示顺序',
|
`order_num` int(11) NULL DEFAULT 0 COMMENT '显示顺序',
|
||||||
`leader` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '负责人',
|
`leader` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '负责人',
|
||||||
`phone` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系电话',
|
`phone` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系电话',
|
||||||
`email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮箱',
|
`email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮箱',
|
||||||
@@ -68,7 +67,7 @@ CREATE TABLE `sys_dept` (
|
|||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||||
PRIMARY KEY (`dept_id`) USING BTREE
|
PRIMARY KEY (`dept_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 200 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '部门表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 102 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '部门表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_dept
|
-- Records of sys_dept
|
||||||
@@ -76,13 +75,52 @@ 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 (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);
|
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
|
-- Table structure for sys_dict_data
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_dict_data`;
|
DROP TABLE IF EXISTS `sys_dict_data`;
|
||||||
CREATE TABLE `sys_dict_data` (
|
CREATE TABLE `sys_dict_data` (
|
||||||
`dict_code` bigint NOT NULL AUTO_INCREMENT COMMENT '字典编码',
|
`dict_code` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典编码',
|
||||||
`dict_sort` int NULL DEFAULT 0 COMMENT '字典排序',
|
`dict_sort` int(11) NULL DEFAULT 0 COMMENT '字典排序',
|
||||||
`dict_label` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典标签',
|
`dict_label` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典标签',
|
||||||
`dict_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典键值',
|
`dict_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典键值',
|
||||||
`dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典类型',
|
`dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典类型',
|
||||||
@@ -96,43 +134,43 @@ CREATE TABLE `sys_dict_data` (
|
|||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||||
PRIMARY KEY (`dict_code`) USING BTREE
|
PRIMARY KEY (`dict_code`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 100 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典数据表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 26 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典数据表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of 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 (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, '女', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '性别女');
|
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, '未知', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '性别未知');
|
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, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '显示菜单');
|
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, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '隐藏菜单');
|
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, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '正常状态');
|
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, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '停用状态');
|
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, '正常', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '正常状态');
|
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, '暂停', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '停用状态');
|
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', 'sys_job_group', '', '', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '默认分组');
|
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', 'sys_job_group', '', '', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '系统分组');
|
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, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '系统默认是');
|
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, '否', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '系统默认否');
|
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, '其他', '0', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '其他操作');
|
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, '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '新增操作');
|
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, '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '修改操作');
|
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, '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '删除操作');
|
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, '授权', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '授权操作');
|
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, '导出', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '导出操作');
|
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, '导入', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '导入操作');
|
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, '强退', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '强退操作');
|
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, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '生成操作');
|
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, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '清空操作');
|
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, '成功', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '正常状态');
|
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, '失败', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '停用状态');
|
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
|
-- Table structure for sys_dict_type
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_dict_type`;
|
DROP TABLE IF EXISTS `sys_dict_type`;
|
||||||
CREATE TABLE `sys_dict_type` (
|
CREATE TABLE `sys_dict_type` (
|
||||||
`dict_id` bigint NOT NULL AUTO_INCREMENT COMMENT '字典主键',
|
`dict_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典主键',
|
||||||
`dict_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典名称',
|
`dict_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典名称',
|
||||||
`dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典类型',
|
`dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典类型',
|
||||||
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '状态(0正常 1停用)',
|
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '状态(0正常 1停用)',
|
||||||
@@ -142,27 +180,27 @@ CREATE TABLE `sys_dict_type` (
|
|||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||||
PRIMARY KEY (`dict_id`) USING BTREE,
|
PRIMARY KEY (`dict_id`) USING BTREE,
|
||||||
UNIQUE INDEX `dict_type`(`dict_type` ASC) USING BTREE
|
UNIQUE INDEX `dict_type`(`dict_type`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典类型表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典类型表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of 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 (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, '菜单状态', 'sys_show_hide', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '菜单状态列表');
|
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, '系统开关', 'sys_normal_disable', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '系统开关列表');
|
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, '任务状态', 'sys_job_status', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '任务状态列表');
|
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, '任务分组', 'sys_job_group', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '任务分组列表');
|
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, '系统是否', 'sys_yes_no', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '系统是否列表');
|
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, '操作类型', 'sys_oper_type', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '操作类型列表');
|
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, '系统状态', 'sys_common_status', '0', 'admin', '2024-05-08 21:50:55', '', NULL, '登录状态列表');
|
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
|
-- Table structure for sys_job
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_job`;
|
DROP TABLE IF EXISTS `sys_job`;
|
||||||
CREATE TABLE `sys_job` (
|
CREATE TABLE `sys_job` (
|
||||||
`job_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务ID',
|
`job_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务ID',
|
||||||
`job_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '任务名称',
|
`job_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '任务名称',
|
||||||
`job_group` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
|
`job_group` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
|
||||||
`invoke_target` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串',
|
`invoke_target` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串',
|
||||||
@@ -176,21 +214,20 @@ CREATE TABLE `sys_job` (
|
|||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '备注信息',
|
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '备注信息',
|
||||||
PRIMARY KEY (`job_id`, `job_name`, `job_group`) USING BTREE
|
PRIMARY KEY (`job_id`, `job_name`, `job_group`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 100 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
|
-- 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 (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, '系统默认(有参)', 'DEFAULT', 'ryTask.ryParams(\'ry\')', '0/15 * * * * ?', '3', '1', '1', '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, '');
|
||||||
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, '');
|
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for sys_job_log
|
-- Table structure for sys_job_log
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_job_log`;
|
DROP TABLE IF EXISTS `sys_job_log`;
|
||||||
CREATE TABLE `sys_job_log` (
|
CREATE TABLE `sys_job_log` (
|
||||||
`job_log_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务日志ID',
|
`job_log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务日志ID',
|
||||||
`job_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称',
|
`job_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称',
|
||||||
`job_group` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务组名',
|
`job_group` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务组名',
|
||||||
`invoke_target` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串',
|
`invoke_target` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串',
|
||||||
@@ -210,16 +247,16 @@ CREATE TABLE `sys_job_log` (
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_logininfor`;
|
DROP TABLE IF EXISTS `sys_logininfor`;
|
||||||
CREATE TABLE `sys_logininfor` (
|
CREATE TABLE `sys_logininfor` (
|
||||||
`info_id` bigint NOT NULL AUTO_INCREMENT COMMENT '访问ID',
|
`info_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '访问ID',
|
||||||
`user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '用户账号',
|
`user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '用户账号',
|
||||||
`ipaddr` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '登录IP地址',
|
`ipaddr` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '登录IP地址',
|
||||||
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '登录状态(0成功 1失败)',
|
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '登录状态(0成功 1失败)',
|
||||||
`msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '提示信息',
|
`msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '提示信息',
|
||||||
`access_time` datetime NULL DEFAULT NULL COMMENT '访问时间',
|
`access_time` datetime NULL DEFAULT NULL COMMENT '访问时间',
|
||||||
PRIMARY KEY (`info_id`) USING BTREE,
|
PRIMARY KEY (`info_id`) USING BTREE,
|
||||||
INDEX `idx_sys_logininfor_s`(`status` ASC) USING BTREE,
|
INDEX `idx_sys_logininfor_s`(`status`) USING BTREE,
|
||||||
INDEX `idx_sys_logininfor_lt`(`access_time` ASC) USING BTREE
|
INDEX `idx_sys_logininfor_lt`(`access_time`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 270 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统访问记录' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 357 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统访问记录' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_logininfor
|
-- Records of sys_logininfor
|
||||||
@@ -230,15 +267,15 @@ CREATE TABLE `sys_logininfor` (
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_menu`;
|
DROP TABLE IF EXISTS `sys_menu`;
|
||||||
CREATE TABLE `sys_menu` (
|
CREATE TABLE `sys_menu` (
|
||||||
`menu_id` bigint NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
|
`menu_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
|
||||||
`menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单名称',
|
`menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单名称',
|
||||||
`parent_id` bigint NULL DEFAULT 0 COMMENT '父菜单ID',
|
`parent_id` bigint(20) NULL DEFAULT 0 COMMENT '父菜单ID',
|
||||||
`order_num` int NULL DEFAULT 0 COMMENT '显示顺序',
|
`order_num` int(11) NULL DEFAULT 0 COMMENT '显示顺序',
|
||||||
`path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '路由地址',
|
`path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '路由地址',
|
||||||
`component` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '组件路径',
|
`component` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '组件路径',
|
||||||
`query` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路由参数',
|
`query` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路由参数',
|
||||||
`is_frame` int NULL DEFAULT 1 COMMENT '是否为外链(0是 1否)',
|
`is_frame` int(11) NULL DEFAULT 1 COMMENT '是否为外链(0是 1否)',
|
||||||
`is_cache` int NULL DEFAULT 0 COMMENT '是否缓存(0缓存 1不缓存)',
|
`is_cache` int(11) NULL DEFAULT 0 COMMENT '是否缓存(0缓存 1不缓存)',
|
||||||
`menu_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '菜单类型(M目录 C菜单 F按钮)',
|
`menu_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '菜单类型(M目录 C菜单 F按钮)',
|
||||||
`visible` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '菜单状态(0显示 1隐藏)',
|
`visible` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '菜单状态(0显示 1隐藏)',
|
||||||
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '菜单状态(0正常 1停用)',
|
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '菜单状态(0正常 1停用)',
|
||||||
@@ -251,70 +288,48 @@ CREATE TABLE `sys_menu` (
|
|||||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '备注',
|
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '备注',
|
||||||
`name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单key',
|
`name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单key',
|
||||||
PRIMARY KEY (`menu_id`) USING BTREE
|
PRIMARY KEY (`menu_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 2010 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '菜单权限表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 2031 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '菜单权限表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of 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 (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 (3, '系统工具', 0, 1003, '/tool', NULL, '', 1, 0, 'M', '0', '0', '', 'carbon:user-role', 'admin', '2024-05-08 21:50:55', 'admin', '2024-05-12 23:46:57', '系统工具目录', 'tool');
|
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 (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-05-12 23:50:31', '用户管理菜单', '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 (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, '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 (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, '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 (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-05-30 23:17:41', '部门管理菜单', '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 (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', '', NULL, '', '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 (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 (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 (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 (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 (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 (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 (1000, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 'admin', '2024-05-08 21:50:55', '', NULL, '', NULL);
|
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 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);
|
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for sys_oper_log
|
-- Table structure for sys_oper_log
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_oper_log`;
|
DROP TABLE IF EXISTS `sys_oper_log`;
|
||||||
CREATE TABLE `sys_oper_log` (
|
CREATE TABLE `sys_oper_log` (
|
||||||
`oper_id` bigint NOT NULL AUTO_INCREMENT COMMENT '日志主键',
|
`oper_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志主键',
|
||||||
`title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '模块标题',
|
`title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '模块标题',
|
||||||
`business_type` int NULL DEFAULT 0 COMMENT '业务类型(0其它 1新增 2修改 3删除)',
|
`business_type` int(11) NULL DEFAULT 0 COMMENT '业务类型(0其它 1新增 2修改 3删除)',
|
||||||
`method` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '方法名称',
|
`method` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '方法名称',
|
||||||
`request_method` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '请求方式',
|
`request_method` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '请求方式',
|
||||||
`operator_type` int NULL DEFAULT 0 COMMENT '操作类别(0其它 1后台用户 2手机端用户)',
|
`operator_type` int(11) NULL DEFAULT 0 COMMENT '操作类别(0其它 1后台用户 2手机端用户)',
|
||||||
`oper_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '操作人员',
|
`oper_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '操作人员',
|
||||||
`dept_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '部门名称',
|
`dept_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '部门名称',
|
||||||
`oper_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '请求URL',
|
`oper_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '请求URL',
|
||||||
@@ -322,15 +337,15 @@ CREATE TABLE `sys_oper_log` (
|
|||||||
`oper_location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '操作地点',
|
`oper_location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '操作地点',
|
||||||
`oper_param` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '请求参数',
|
`oper_param` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '请求参数',
|
||||||
`json_result` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '返回参数',
|
`json_result` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '返回参数',
|
||||||
`status` int NULL DEFAULT 0 COMMENT '操作状态(0正常 1异常)',
|
`status` int(11) NULL DEFAULT 0 COMMENT '操作状态(0正常 1异常)',
|
||||||
`error_msg` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '错误消息',
|
`error_msg` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '错误消息',
|
||||||
`oper_time` datetime NULL DEFAULT NULL COMMENT '操作时间',
|
`oper_time` datetime NULL DEFAULT NULL COMMENT '操作时间',
|
||||||
`cost_time` bigint NULL DEFAULT 0 COMMENT '消耗时间',
|
`cost_time` bigint(20) NULL DEFAULT 0 COMMENT '消耗时间',
|
||||||
PRIMARY KEY (`oper_id`) USING BTREE,
|
PRIMARY KEY (`oper_id`) USING BTREE,
|
||||||
INDEX `idx_sys_oper_log_bt`(`business_type` ASC) USING BTREE,
|
INDEX `idx_sys_oper_log_bt`(`business_type`) USING BTREE,
|
||||||
INDEX `idx_sys_oper_log_s`(`status` ASC) USING BTREE,
|
INDEX `idx_sys_oper_log_s`(`status`) USING BTREE,
|
||||||
INDEX `idx_sys_oper_log_ot`(`oper_time` ASC) USING BTREE
|
INDEX `idx_sys_oper_log_ot`(`oper_time`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 221 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '操作日志记录' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 290 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '操作日志记录' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_oper_log
|
-- Records of sys_oper_log
|
||||||
@@ -341,10 +356,10 @@ CREATE TABLE `sys_oper_log` (
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_post`;
|
DROP TABLE IF EXISTS `sys_post`;
|
||||||
CREATE TABLE `sys_post` (
|
CREATE TABLE `sys_post` (
|
||||||
`post_id` bigint NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
|
`post_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
|
||||||
`post_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位编码',
|
`post_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位编码',
|
||||||
`post_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位名称',
|
`post_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位名称',
|
||||||
`post_sort` int NOT NULL COMMENT '显示顺序',
|
`post_sort` int(11) NOT NULL COMMENT '显示顺序',
|
||||||
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '状态(0正常 1停用)',
|
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '状态(0正常 1停用)',
|
||||||
`create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者',
|
`create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||||
@@ -352,25 +367,25 @@ CREATE TABLE `sys_post` (
|
|||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||||
PRIMARY KEY (`post_id`) USING BTREE
|
PRIMARY KEY (`post_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '岗位信息表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '岗位信息表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of 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 (1, 'admin', 'administrator', 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 (2, 'se', 'manager', 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 (3, 'hr', '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 (4, 'user', 'user', 4, '0', 'admin', '2024-05-08 21:50:54', '', '2024-06-10 11:45:33', '');
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for sys_role
|
-- Table structure for sys_role
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_role`;
|
DROP TABLE IF EXISTS `sys_role`;
|
||||||
CREATE TABLE `sys_role` (
|
CREATE TABLE `sys_role` (
|
||||||
`role_id` bigint NOT NULL AUTO_INCREMENT COMMENT '角色ID',
|
`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_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_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色权限字符串',
|
||||||
`role_sort` int 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:本部门及以下数据权限)',
|
`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 '菜单树选择项是否关联显示',
|
`menu_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '菜单树选择项是否关联显示',
|
||||||
`dept_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '部门树选择项是否关联显示',
|
`dept_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '部门树选择项是否关联显示',
|
||||||
@@ -382,22 +397,22 @@ CREATE TABLE `sys_role` (
|
|||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||||
PRIMARY KEY (`role_id`) USING BTREE
|
PRIMARY KEY (`role_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 106 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色信息表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色信息表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of 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 (1, 'Supervisor', 'super', 1, '1', 1, 1, '0', '0', 'admin', '2024-05-08 21:50:54', '', NULL, 'Supervisor');
|
||||||
INSERT INTO `sys_role` VALUES (2, '管理员', 'admin', 2, '2', 1, 1, '0', '0', 'admin', '2024-05-08 21:50:54', 'super', '2024-12-03 16:38:27', '管理员');
|
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, '普通角色', '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 (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
|
-- Table structure for sys_role_dept
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_role_dept`;
|
DROP TABLE IF EXISTS `sys_role_dept`;
|
||||||
CREATE TABLE `sys_role_dept` (
|
CREATE TABLE `sys_role_dept` (
|
||||||
`role_id` bigint NOT NULL COMMENT '角色ID',
|
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
|
||||||
`dept_id` bigint NOT NULL COMMENT '部门ID',
|
`dept_id` bigint(20) NOT NULL COMMENT '部门ID',
|
||||||
PRIMARY KEY (`role_id`, `dept_id`) USING BTREE
|
PRIMARY KEY (`role_id`, `dept_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色和部门关联表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色和部门关联表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
@@ -410,8 +425,8 @@ CREATE TABLE `sys_role_dept` (
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_role_menu`;
|
DROP TABLE IF EXISTS `sys_role_menu`;
|
||||||
CREATE TABLE `sys_role_menu` (
|
CREATE TABLE `sys_role_menu` (
|
||||||
`role_id` bigint NOT NULL COMMENT '角色ID',
|
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
|
||||||
`menu_id` bigint NOT NULL COMMENT '菜单ID',
|
`menu_id` bigint(20) NOT NULL COMMENT '菜单ID',
|
||||||
PRIMARY KEY (`role_id`, `menu_id`) USING BTREE
|
PRIMARY KEY (`role_id`, `menu_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色和菜单关联表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色和菜单关联表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
@@ -421,6 +436,7 @@ CREATE TABLE `sys_role_menu` (
|
|||||||
INSERT INTO `sys_role_menu` VALUES (2, 1);
|
INSERT INTO `sys_role_menu` VALUES (2, 1);
|
||||||
INSERT INTO `sys_role_menu` VALUES (2, 100);
|
INSERT INTO `sys_role_menu` VALUES (2, 100);
|
||||||
INSERT INTO `sys_role_menu` VALUES (2, 101);
|
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, 105);
|
||||||
INSERT INTO `sys_role_menu` VALUES (2, 1000);
|
INSERT INTO `sys_role_menu` VALUES (2, 1000);
|
||||||
INSERT INTO `sys_role_menu` VALUES (2, 1001);
|
INSERT INTO `sys_role_menu` VALUES (2, 1001);
|
||||||
@@ -434,19 +450,49 @@ INSERT INTO `sys_role_menu` VALUES (2, 1008);
|
|||||||
INSERT INTO `sys_role_menu` VALUES (2, 1009);
|
INSERT INTO `sys_role_menu` VALUES (2, 1009);
|
||||||
INSERT INTO `sys_role_menu` VALUES (2, 1010);
|
INSERT INTO `sys_role_menu` VALUES (2, 1010);
|
||||||
INSERT INTO `sys_role_menu` VALUES (2, 1011);
|
INSERT INTO `sys_role_menu` VALUES (2, 1011);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 1012);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 1013);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 1014);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 1015);
|
||||||
INSERT INTO `sys_role_menu` VALUES (2, 1025);
|
INSERT INTO `sys_role_menu` VALUES (2, 1025);
|
||||||
INSERT INTO `sys_role_menu` VALUES (2, 1026);
|
INSERT INTO `sys_role_menu` VALUES (2, 1026);
|
||||||
INSERT INTO `sys_role_menu` VALUES (2, 1027);
|
INSERT INTO `sys_role_menu` VALUES (2, 1027);
|
||||||
INSERT INTO `sys_role_menu` VALUES (2, 1028);
|
INSERT INTO `sys_role_menu` VALUES (2, 1028);
|
||||||
INSERT INTO `sys_role_menu` VALUES (2, 1029);
|
INSERT INTO `sys_role_menu` VALUES (2, 1029);
|
||||||
|
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);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 2018);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 2019);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 2020);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 2021);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 2022);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 2023);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 2024);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 2025);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 2026);
|
||||||
|
INSERT INTO `sys_role_menu` VALUES (2, 2027);
|
||||||
|
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
|
-- Table structure for sys_user
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_user`;
|
DROP TABLE IF EXISTS `sys_user`;
|
||||||
CREATE TABLE `sys_user` (
|
CREATE TABLE `sys_user` (
|
||||||
`user_id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',
|
`user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
|
||||||
`dept_id` bigint NULL DEFAULT NULL COMMENT '部门ID',
|
`dept_id` bigint(20) NULL DEFAULT NULL COMMENT '部门ID',
|
||||||
`user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户账号',
|
`user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户账号',
|
||||||
`nick_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户昵称',
|
`nick_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户昵称',
|
||||||
`user_type` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '00' COMMENT '用户类型(00系统用户)',
|
`user_type` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '00' COMMENT '用户类型(00系统用户)',
|
||||||
@@ -465,21 +511,21 @@ CREATE TABLE `sys_user` (
|
|||||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||||
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||||
PRIMARY KEY (`user_id`) USING BTREE
|
PRIMARY KEY (`user_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 102 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_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', '127.0.0.1', '2024-12-03 16:38:58', 'admin', '2024-05-08 21:50:54', '', '2024-12-03 16:38:57', '管理员');
|
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', '管理员', '00', 'admin@mail.com', '1234567', '1', '', '$2a$10$VFx30iRGMEt86FsCZnMSX.LUIjOLwiMzOA1a2VasyKr53pO0vZwdG', '0', '0', '127.0.0.1', '2024-12-03 16:39:40', 'admin', '2024-05-08 21:50:54', 'super', '2024-12-03 16:39:39', '管理员');
|
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
|
-- Table structure for sys_user_post
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_user_post`;
|
DROP TABLE IF EXISTS `sys_user_post`;
|
||||||
CREATE TABLE `sys_user_post` (
|
CREATE TABLE `sys_user_post` (
|
||||||
`user_id` bigint NOT NULL COMMENT '用户ID',
|
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
|
||||||
`post_id` bigint NOT NULL COMMENT '岗位ID',
|
`post_id` bigint(20) NOT NULL COMMENT '岗位ID',
|
||||||
PRIMARY KEY (`user_id`, `post_id`) USING BTREE
|
PRIMARY KEY (`user_id`, `post_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户与岗位关联表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户与岗位关联表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
@@ -494,8 +540,8 @@ INSERT INTO `sys_user_post` VALUES (2, 1);
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sys_user_role`;
|
DROP TABLE IF EXISTS `sys_user_role`;
|
||||||
CREATE TABLE `sys_user_role` (
|
CREATE TABLE `sys_user_role` (
|
||||||
`user_id` bigint NOT NULL COMMENT '用户ID',
|
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
|
||||||
`role_id` bigint NOT NULL COMMENT '角色ID',
|
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
|
||||||
PRIMARY KEY (`user_id`, `role_id`) USING BTREE
|
PRIMARY KEY (`user_id`, `role_id`) USING BTREE
|
||||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户和角色关联表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户和角色关联表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
|
|||||||
@@ -11,10 +11,9 @@
|
|||||||
Target Server Version : 50744 (5.7.44)
|
Target Server Version : 50744 (5.7.44)
|
||||||
File Encoding : 65001
|
File Encoding : 65001
|
||||||
|
|
||||||
Date: 06/12/2024 15:31:06
|
Date: 24/12/2024 20:36:50
|
||||||
*/
|
*/
|
||||||
|
|
||||||
-- DROP DATABASE IF EXISTS `wfc_user_db`;
|
|
||||||
CREATE DATABASE IF NOT EXISTS `wfc_user_db` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
|
CREATE DATABASE IF NOT EXISTS `wfc_user_db` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
|
||||||
|
|
||||||
SET NAMES utf8mb4;
|
SET NAMES utf8mb4;
|
||||||
@@ -22,27 +21,136 @@ SET FOREIGN_KEY_CHECKS = 0;
|
|||||||
|
|
||||||
USE wfc_user_db;
|
USE wfc_user_db;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for u_account
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `u_account`;
|
||||||
|
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 '流量是否限制',
|
||||||
|
`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 '上行限速启用',
|
||||||
|
`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_package
|
||||||
|
-- ----------------------------
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for u_bill
|
-- Table structure for u_bill
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `u_bill`;
|
DROP TABLE IF EXISTS `u_bill`;
|
||||||
CREATE TABLE `u_bill` (
|
CREATE TABLE `u_bill` (
|
||||||
`bill_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'Bill ID',
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||||
`user_id` bigint(20) NULL DEFAULT NULL COMMENT 'User ID link to u_user',
|
`user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户ID',
|
||||||
`fee` double NULL DEFAULT NULL,
|
`cdr_history_id` bigint(20) NULL DEFAULT NULL COMMENT '话单记录ID',
|
||||||
`billing_begin` datetime NULL DEFAULT NULL,
|
`type` tinyint(4) NULL DEFAULT NULL COMMENT '类型',
|
||||||
`billing_end` datetime NULL DEFAULT NULL,
|
`amount` decimal(18, 4) NULL DEFAULT NULL COMMENT '金额',
|
||||||
`status` enum('unpaid','paid') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'unpaid',
|
`status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
|
||||||
`create_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT 'create name ',
|
`invoice_number` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '发票编号',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
`invoice_file` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '发票文件',
|
||||||
PRIMARY KEY (`bill_id`) USING BTREE,
|
`invoice_file_path` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '发票文件路径',
|
||||||
INDEX `fk_user_id`(`user_id`) USING BTREE,
|
`invoice_time` datetime NULL DEFAULT NULL COMMENT '发票时间',
|
||||||
CONSTRAINT `u_bill_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `u_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
`del_flag` tinyint(1) NULL DEFAULT 0 COMMENT '删除标志(0存在 1删除)',
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_用户信息表' ROW_FORMAT = DYNAMIC;
|
`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
|
-- Table structure for u_cdr
|
||||||
@@ -63,6 +171,7 @@ CREATE TABLE `u_cdr` (
|
|||||||
`rate_limit_profile_id` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Rate limit profile ID. ',
|
`rate_limit_profile_id` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Rate limit profile ID. ',
|
||||||
`up_time` bigint(20) NULL DEFAULT NULL COMMENT 'Up time (unit: s).',
|
`up_time` bigint(20) NULL DEFAULT NULL COMMENT 'Up time (unit: s).',
|
||||||
`last_seen_time` bigint(20) NULL DEFAULT NULL COMMENT 'Last found time, timestamp (ms). ',
|
`last_seen_time` bigint(20) NULL DEFAULT NULL COMMENT 'Last found time, timestamp (ms). ',
|
||||||
|
`activity` bigint(20) NULL DEFAULT NULL COMMENT 'Activity download speed (Bytes/s)',
|
||||||
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT 'delete flag',
|
`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_by` bigint(20) NULL DEFAULT NULL COMMENT 'creater',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
||||||
@@ -71,14 +180,10 @@ CREATE TABLE `u_cdr` (
|
|||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `fk_user_id`(`user_id`) USING BTREE,
|
INDEX `fk_user_id`(`user_id`) USING BTREE,
|
||||||
INDEX `fk_client_id`(`client_id`) USING BTREE
|
INDEX `fk_client_id`(`client_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_用户话单表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_用户话单表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of u_cdr
|
-- Table structure for u_cdr_history
|
||||||
-- ----------------------------
|
|
||||||
|
|
||||||
-- ----------------------------
|
|
||||||
-- Table structure for u_cdr_detail
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `u_cdr_history`;
|
DROP TABLE IF EXISTS `u_cdr_history`;
|
||||||
CREATE TABLE `u_cdr_history` (
|
CREATE TABLE `u_cdr_history` (
|
||||||
@@ -89,6 +194,8 @@ CREATE TABLE `u_cdr_history` (
|
|||||||
`start_time` bigint(20) NULL DEFAULT NULL COMMENT 'Start time',
|
`start_time` bigint(20) NULL DEFAULT NULL COMMENT 'Start time',
|
||||||
`end_time` bigint(20) NULL DEFAULT NULL COMMENT 'End time',
|
`end_time` bigint(20) NULL DEFAULT NULL COMMENT 'End time',
|
||||||
`duration` bigint(20) NULL DEFAULT NULL COMMENT 'Duration(s)',
|
`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',
|
`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_by` bigint(20) NULL DEFAULT NULL COMMENT 'creater',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
||||||
@@ -97,6 +204,10 @@ CREATE TABLE `u_cdr_history` (
|
|||||||
PRIMARY KEY (`id`) USING BTREE
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_话单历史表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_话单历史表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Records of u_cdr_history
|
||||||
|
-- ----------------------------
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for u_client
|
-- Table structure for u_client
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
@@ -104,9 +215,13 @@ DROP TABLE IF EXISTS `u_client`;
|
|||||||
CREATE TABLE `u_client` (
|
CREATE TABLE `u_client` (
|
||||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'Client ID',
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'Client ID',
|
||||||
`user_id` bigint(20) NULL DEFAULT NULL COMMENT 'User ID link to u_user',
|
`user_id` bigint(20) NULL DEFAULT NULL COMMENT 'User ID link to u_user',
|
||||||
|
`site_id` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Site ID',
|
||||||
`client_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Client Name',
|
`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_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',
|
`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',
|
`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_by` bigint(20) NULL DEFAULT NULL COMMENT 'creater',
|
||||||
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
`create_time` datetime NULL DEFAULT NULL COMMENT 'create time',
|
||||||
@@ -114,11 +229,7 @@ CREATE TABLE `u_client` (
|
|||||||
`update_time` datetime NULL DEFAULT NULL COMMENT 'update time',
|
`update_time` datetime NULL DEFAULT NULL COMMENT 'update time',
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `fk_user_id`(`user_id`) USING BTREE
|
INDEX `fk_user_id`(`user_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_用户设备表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 33 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_用户设备表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
|
||||||
-- Records of u_client
|
|
||||||
-- ----------------------------
|
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for u_config
|
-- Table structure for u_config
|
||||||
@@ -180,6 +291,7 @@ INSERT INTO `u_dept` VALUES (101, 100, '0,100', 'No.1', 1, 'system', '123456', '
|
|||||||
DROP TABLE IF EXISTS `u_device`;
|
DROP TABLE IF EXISTS `u_device`;
|
||||||
CREATE TABLE `u_device` (
|
CREATE TABLE `u_device` (
|
||||||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'Device ID',
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'Device ID',
|
||||||
|
`user_id` bigint(20) NULL DEFAULT NULL COMMENT 'User ID link to u_user',
|
||||||
`device_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Device Name',
|
`device_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Device Name',
|
||||||
`device_ip` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Device ip',
|
`device_ip` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Device ip',
|
||||||
`device_mac` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Device mac',
|
`device_mac` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'Device mac',
|
||||||
@@ -191,7 +303,11 @@ CREATE TABLE `u_device` (
|
|||||||
`update_time` datetime NULL DEFAULT NULL COMMENT 'update time',
|
`update_time` datetime NULL DEFAULT NULL COMMENT 'update time',
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
INDEX `fk_user_id`(`user_id`) USING BTREE
|
INDEX `fk_user_id`(`user_id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_AP设备表' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户平台_AP设备表' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Records of u_device
|
||||||
|
-- ----------------------------
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for u_dict_data
|
-- Table structure for u_dict_data
|
||||||
@@ -282,58 +398,7 @@ CREATE TABLE `u_logininfor` (
|
|||||||
PRIMARY KEY (`info_id`) USING BTREE,
|
PRIMARY KEY (`info_id`) USING BTREE,
|
||||||
INDEX `idx_u_logininfor_s`(`status`) USING BTREE,
|
INDEX `idx_u_logininfor_s`(`status`) USING BTREE,
|
||||||
INDEX `idx_u_logininfor_lt`(`access_time`) USING BTREE
|
INDEX `idx_u_logininfor_lt`(`access_time`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 48 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户平台_系统访问记录' ROW_FORMAT = DYNAMIC;
|
) ENGINE = InnoDB AUTO_INCREMENT = 76 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户平台_系统访问记录' ROW_FORMAT = DYNAMIC;
|
||||||
|
|
||||||
-- ----------------------------
|
|
||||||
-- Records of u_logininfor
|
|
||||||
-- ----------------------------
|
|
||||||
INSERT INTO `u_logininfor` VALUES (1, '123456', '192.168.5.58', '0', '登录成功', '2024-12-03 18:00:38');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (2, 'super', '192.168.5.58', '0', '登录成功', '2024-12-03 18:01:03');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (3, '123456', '192.168.88.14', '0', '登录成功', '2024-12-03 18:01:07');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (4, '123456', '192.168.88.14', '0', '登录成功', '2024-12-03 18:03:15');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (5, 'super', '192.168.5.58', '0', '登录成功', '2024-12-03 18:04:23');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (6, '123456', '192.168.5.58', '0', '登录成功', '2024-12-03 18:05:29');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (7, '123456', '192.168.88.14', '0', '登录成功', '2024-12-03 18:21:16');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (8, '123456', '192.168.2.158', '0', '登录成功', '2024-12-03 18:48:16');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (9, '123456', '192.168.2.158', '0', '登录成功', '2024-12-03 18:48:38');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (10, '123456', '192.168.88.14', '0', '登录成功', '2024-12-03 18:52:35');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (11, '123456', '192.168.88.14', '0', '登录成功', '2024-12-03 19:27:12');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (12, '123456', '192.168.2.157', '0', '登录成功', '2024-12-04 09:42:25');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (13, '123456', '192.168.2.116', '0', '登录成功', '2024-12-04 09:54:20');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (14, '123456', '192.168.2.157', '0', '登录成功', '2024-12-04 14:48:14');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (15, 'superueser', '192.168.2.157', '1', '登录用户不存在', '2024-12-04 19:05:14');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (16, 'superueser', '192.168.2.157', '1', '登录用户不存在', '2024-12-04 19:05:21');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (17, 'surperueser', '192.168.2.157', '1', '登录用户不存在', '2024-12-04 19:05:29');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (18, 'surperuser', '192.168.2.157', '1', '登录用户不存在', '2024-12-04 19:05:37');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (19, 'superuser', '192.168.2.157', '1', '登录用户不存在', '2024-12-04 19:05:45');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (20, 'superuser', '192.168.2.157', '1', '登录用户不存在', '2024-12-04 19:06:00');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (21, '123456', '192.168.2.157', '0', '登录成功', '2024-12-04 19:06:11');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (22, '123456', '192.168.88.14', '0', '登录成功', '2024-12-05 09:42:18');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (23, '123456', '192.168.2.116', '0', '登录成功', '2024-12-05 11:07:40');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (24, '123456', '192.168.88.14', '0', '登录成功', '2024-12-05 16:17:05');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (25, '123456', '172.19.0.1', '1', '登录用户不存在', '2024-12-05 18:02:29');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (26, '123456', '192.168.2.158', '1', '登录用户不存在', '2024-12-05 18:24:23');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (27, 'admin', '192.168.2.158', '1', '登录用户不存在', '2024-12-05 18:32:59');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (28, '123456', '192.168.88.14', '0', '登录成功', '2024-12-05 18:33:53');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (29, '123456', '192.168.2.224', '0', '登录成功', '2024-12-05 20:18:31');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (30, '123456', '192.168.2.224', '0', '登录成功', '2024-12-05 20:29:24');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (31, '123456', '192.168.88.14', '0', '登录成功', '2024-12-06 08:38:47');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (32, '123456', '192.168.88.14', '0', '登录成功', '2024-12-06 09:18:42');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (33, '123456', '192.168.88.14', '0', '登录成功', '2024-12-06 09:45:04');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (34, '123456', '192.168.2.224', '0', '登录成功', '2024-12-06 09:54:36');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (35, '123456', '192.168.2.224', '0', '登录成功', '2024-12-06 09:57:22');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (36, 'surperuser', '192.168.88.14', '1', '登录用户不存在', '2024-12-06 10:20:01');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (37, 'surperuser', '192.168.88.14', '1', '登录用户不存在', '2024-12-06 10:21:41');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (38, 'superuser', '192.168.88.14', '1', '登录用户不存在', '2024-12-06 10:21:47');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (39, 'super', '192.168.88.14', '0', '登录成功', '2024-12-06 10:22:29');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (40, '123456', '192.168.88.14', '0', '登录成功', '2024-12-06 10:24:15');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (41, 'super', '192.168.88.14', '0', '登录成功', '2024-12-06 10:28:46');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (42, '123456', '192.168.88.14', '0', '登录成功', '2024-12-06 10:35:26');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (43, 'super', '192.168.88.14', '0', '登录成功', '2024-12-06 10:35:43');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (44, '123456', '192.168.88.14', '0', '登录成功', '2024-12-06 10:35:54');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (45, 'super', '192.168.88.14', '0', '登录成功', '2024-12-06 10:36:35');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (46, '123456', '192.168.88.14', '0', '登录成功', '2024-12-06 10:36:44');
|
|
||||||
INSERT INTO `u_logininfor` VALUES (47, '123456', '192.168.88.14', '0', '登录成功', '2024-12-06 10:38:02');
|
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for u_menu
|
-- Table structure for u_menu
|
||||||
@@ -441,6 +506,88 @@ CREATE TABLE `u_oper_log` (
|
|||||||
-- Records of u_oper_log
|
-- Records of u_oper_log
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for u_order
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `u_order`;
|
||||||
|
CREATE TABLE `u_order` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||||
|
`user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户ID',
|
||||||
|
`package_id` bigint(20) NULL DEFAULT NULL COMMENT '套餐ID',
|
||||||
|
`payment_id` bigint(20) NULL DEFAULT NULL COMMENT '支付ID',
|
||||||
|
`order_no` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '订单编号',
|
||||||
|
`type` tinyint(4) NULL DEFAULT NULL COMMENT '订单类型(0套餐 1充值)',
|
||||||
|
`order_amount` decimal(18, 4) NULL DEFAULT NULL COMMENT '订单金额',
|
||||||
|
`status` tinyint(4) NULL DEFAULT NULL COMMENT '订单状态(0待支付 1已支付 2已取消)',
|
||||||
|
`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_order
|
||||||
|
-- ----------------------------
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for u_package
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `u_package`;
|
||||||
|
CREATE TABLE `u_package` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||||
|
`rate_limit_id` bigint(20) NULL DEFAULT NULL COMMENT '带宽限速ID',
|
||||||
|
`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 '价格',
|
||||||
|
`traffic` bigint(20) NULL DEFAULT NULL COMMENT '流量',
|
||||||
|
`duration` bigint(20) NULL DEFAULT NULL COMMENT '时长',
|
||||||
|
`client_num` int(11) 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 '在线设备数是否限制',
|
||||||
|
`package_enable` tinyint(1) NULL DEFAULT 0 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_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
|
-- Table structure for u_post
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
@@ -463,6 +610,29 @@ CREATE TABLE `u_post` (
|
|||||||
-- Records of u_post
|
-- Records of u_post
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for u_rate_limit
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `u_rate_limit`;
|
||||||
|
CREATE TABLE `u_rate_limit` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT 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 '上行限速启用',
|
||||||
|
`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_rate_limit
|
||||||
|
-- ----------------------------
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for u_recharge
|
-- Table structure for u_recharge
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
@@ -491,7 +661,7 @@ CREATE TABLE `u_role` (
|
|||||||
`role_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
|
`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_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_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:本部门及以下数据权限)',
|
`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 '菜单树选择项是否关联显示',
|
`menu_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '菜单树选择项是否关联显示',
|
||||||
`dept_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '部门树选择项是否关联显示',
|
`dept_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '部门树选择项是否关联显示',
|
||||||
@@ -556,11 +726,12 @@ CREATE TABLE `u_user` (
|
|||||||
`full_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户姓名',
|
`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系统用户)',
|
`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 '用户邮箱',
|
`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未知)',
|
`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 '头像地址',
|
`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 '密码',
|
`password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '密码',
|
||||||
`age` int(11) NULL DEFAULT NULL 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 '地址',
|
`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停用)',
|
`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代表删除)',
|
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
|
||||||
@@ -577,8 +748,8 @@ CREATE TABLE `u_user` (
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of u_user
|
-- 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 (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, '123456', '普通用户', '普通用户', '00', '123456@mail.com', '123456', '1', '', '$2a$10$XF99QEWn2MjEE3pbFVvHuOyMi/YVIrQbdenEleJN5dYxAfgXFaaqG', 1, '', '0', '0', '192.168.88.14', '2024-12-06 10:38:02', 'system', '2024-05-08 21:50:54', '', '2024-12-06 10:38:02', '');
|
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
|
-- Table structure for u_user_post
|
||||||
@@ -608,6 +779,29 @@ CREATE TABLE `u_user_role` (
|
|||||||
-- Records of u_user_role
|
-- Records of u_user_role
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
INSERT INTO `u_user_role` VALUES (1, 1);
|
INSERT INTO `u_user_role` VALUES (1, 1);
|
||||||
INSERT INTO `u_user_role` VALUES (2, 2);
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- 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;
|
SET FOREIGN_KEY_CHECKS = 1;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.wfc</groupId>
|
<groupId>org.wfc</groupId>
|
||||||
<artifactId>wfc</artifactId>
|
<artifactId>wfc</artifactId>
|
||||||
<version>1.0.2</version>
|
<version>1.0.19</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.wfc</groupId>
|
<groupId>org.wfc</groupId>
|
||||||
<artifactId>wfc-api</artifactId>
|
<artifactId>wfc-api</artifactId>
|
||||||
<version>1.0.2</version>
|
<version>1.0.19</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
@@ -32,6 +32,5 @@
|
|||||||
<artifactId>swagger-annotations</artifactId>
|
<artifactId>swagger-annotations</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</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 ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -21,7 +21,6 @@ import org.wfc.omada.api.account.model.OperationResponseGridVoIdpMetadataDetailO
|
|||||||
import org.wfc.omada.api.account.model.OperationResponseResponseIdVo;
|
import org.wfc.omada.api.account.model.OperationResponseResponseIdVo;
|
||||||
import org.wfc.omada.api.account.model.OperationResponseWithoutResult;
|
import org.wfc.omada.api.account.model.OperationResponseWithoutResult;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaSso", description = "the OmadaSso API")
|
@Api(value = "OmadaSso", description = "the OmadaSso API")
|
||||||
@FeignClient(name="OmadaSsoApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaSsoApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaSsoApi {
|
public interface OmadaSsoApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ import org.wfc.omada.api.account.model.OperationResponseObject;
|
|||||||
import org.wfc.omada.api.account.model.OperationResponseUserDetailVo;
|
import org.wfc.omada.api.account.model.OperationResponseUserDetailVo;
|
||||||
import org.wfc.omada.api.account.model.OperationResponseWithoutResult;
|
import org.wfc.omada.api.account.model.OperationResponseWithoutResult;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
@@ -34,7 +33,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaUserAndRole", description = "the OmadaUserAndRole API")
|
@Api(value = "OmadaUserAndRole", description = "the OmadaUserAndRole API")
|
||||||
@FeignClient(name="OmadaUserAndRoleApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaUserAndRoleApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaUserAndRoleApi {
|
public interface OmadaUserAndRoleApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,14 +14,13 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|||||||
import org.wfc.omada.api.batch.model.BatchRequestEntity;
|
import org.wfc.omada.api.batch.model.BatchRequestEntity;
|
||||||
import org.wfc.omada.api.batch.model.OperationResponseBatchResponseEntity;
|
import org.wfc.omada.api.batch.model.OperationResponseBatchResponseEntity;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:47:27.319+08:00[Asia/Shanghai]")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:47:27.319+08:00[Asia/Shanghai]")
|
||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaBatchOpenApi", description = "the OmadaBatchOpenApi API")
|
@Api(value = "OmadaBatchOpenApi", description = "the OmadaBatchOpenApi API")
|
||||||
@FeignClient(name="OmadaBatchOpenApiApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaBatchOpenApiApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaBatchOpenApiApi {
|
public interface OmadaBatchOpenApiApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ import org.wfc.omada.api.client.model.OperationResponseClientDetail;
|
|||||||
import org.wfc.omada.api.client.model.OperationResponseClientGridVoClientInfo;
|
import org.wfc.omada.api.client.model.OperationResponseClientGridVoClientInfo;
|
||||||
import org.wfc.omada.api.client.model.OperationResponseWithoutResult;
|
import org.wfc.omada.api.client.model.OperationResponseWithoutResult;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaClient", description = "the OmadaClient API")
|
@Api(value = "OmadaClient", description = "the OmadaClient API")
|
||||||
@FeignClient(name="OmadaClientApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaClientApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaClientApi {
|
public interface OmadaClientApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -99,6 +98,11 @@ public interface OmadaClientApi {
|
|||||||
method = RequestMethod.GET)
|
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);
|
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
|
* POST /openapi/v1/{omadacId}/sites/{siteId}/clients/{clientMac}/reconnect : Reconnect the client
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.api.client.model.OperationResponseGridVoClientHistoryInfo;
|
import org.wfc.omada.api.client.model.OperationResponseGridVoClientHistoryInfo;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
@@ -22,7 +21,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaClientInsight", description = "the OmadaClientInsight API")
|
@Api(value = "OmadaClientInsight", description = "the OmadaClientInsight API")
|
||||||
@FeignClient(value = "OmadaClientInsightApi",url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(value = "OmadaClientInsightApi",url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaClientInsightApi {
|
public interface OmadaClientInsightApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -51,6 +50,6 @@ public interface OmadaClientInsightApi {
|
|||||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/insight/past-connection",
|
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/insight/past-connection",
|
||||||
produces = "*/*",
|
produces = "*/*",
|
||||||
method = RequestMethod.GET)
|
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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.device.model.ApBridgeConfig;
|
import org.wfc.omada.api.device.model.ApBridgeConfig;
|
||||||
import org.wfc.omada.api.device.model.ApGeneralConfig;
|
import org.wfc.omada.api.device.model.ApGeneralConfig;
|
||||||
import org.wfc.omada.api.device.model.ApIpSetting;
|
import org.wfc.omada.api.device.model.ApIpSetting;
|
||||||
@@ -47,7 +46,7 @@ import javax.validation.Valid;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaAp", description = "the OmadaAp API")
|
@Api(value = "OmadaAp", description = "the OmadaAp API")
|
||||||
@FeignClient(name="OmadaApApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaApApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaApApi {
|
public interface OmadaApApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.device.model.ActiveDeviceMultiSiteOpenApiVo;
|
import org.wfc.omada.api.device.model.ActiveDeviceMultiSiteOpenApiVo;
|
||||||
import org.wfc.omada.api.device.model.ActiveDeviceOpenApiVo;
|
import org.wfc.omada.api.device.model.ActiveDeviceOpenApiVo;
|
||||||
import org.wfc.omada.api.device.model.ActiveDeviceRespVo;
|
import org.wfc.omada.api.device.model.ActiveDeviceRespVo;
|
||||||
@@ -65,7 +64,7 @@ import java.util.List;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaDevice", description = "the OmadaDevice API")
|
@Api(value = "OmadaDevice", description = "the OmadaDevice API")
|
||||||
@FeignClient(name="OmadaDeviceApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaDeviceApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaDeviceApi {
|
public interface OmadaDeviceApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -411,6 +410,11 @@ public interface OmadaDeviceApi {
|
|||||||
method = RequestMethod.GET)
|
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);
|
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
|
* GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/latest-firmware-info : Get the latest firmware info of the device
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.device.model.AutoCheckUpgradeCreateInfo;
|
import org.wfc.omada.api.device.model.AutoCheckUpgradeCreateInfo;
|
||||||
import org.wfc.omada.api.device.model.InlineObject;
|
import org.wfc.omada.api.device.model.InlineObject;
|
||||||
import org.wfc.omada.api.device.model.ModelFwReleaseNoteReqInfo;
|
import org.wfc.omada.api.device.model.ModelFwReleaseNoteReqInfo;
|
||||||
@@ -51,7 +50,7 @@ import java.util.List;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaFirmware", description = "the OmadaFirmware API")
|
@Api(value = "OmadaFirmware", description = "the OmadaFirmware API")
|
||||||
@FeignClient(name="OmadaFirmwareApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaFirmwareApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaFirmwareApi {
|
public interface OmadaFirmwareApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.device.model.GatewayGeneralConfig;
|
import org.wfc.omada.api.device.model.GatewayGeneralConfig;
|
||||||
import org.wfc.omada.api.device.model.GatewayPortSettingConfig;
|
import org.wfc.omada.api.device.model.GatewayPortSettingConfig;
|
||||||
import org.wfc.omada.api.device.model.GatewayPortsConfigEntity;
|
import org.wfc.omada.api.device.model.GatewayPortsConfigEntity;
|
||||||
@@ -31,7 +30,7 @@ import javax.validation.Valid;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaGateway", description = "the OmadaGateway API")
|
@Api(value = "OmadaGateway", description = "the OmadaGateway API")
|
||||||
@FeignClient(name="OmadaGatewayApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaGatewayApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaGatewayApi {
|
public interface OmadaGatewayApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.device.model.BatchProfileOverride;
|
import org.wfc.omada.api.device.model.BatchProfileOverride;
|
||||||
import org.wfc.omada.api.device.model.EasyManagedSwitchGeneralConfig;
|
import org.wfc.omada.api.device.model.EasyManagedSwitchGeneralConfig;
|
||||||
import org.wfc.omada.api.device.model.OperationResponseEasyManageOverviewInfo;
|
import org.wfc.omada.api.device.model.OperationResponseEasyManageOverviewInfo;
|
||||||
@@ -37,7 +36,7 @@ import javax.validation.Valid;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaSwitch", description = "the OmadaSwitch API")
|
@Api(value = "OmadaSwitch", description = "the OmadaSwitch API")
|
||||||
@FeignClient(name="OmadaSwitchApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaSwitchApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaSwitchApi {
|
public interface OmadaSwitchApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.globalsetting.model.DeviceAccessManagementSetting;
|
import org.wfc.omada.api.globalsetting.model.DeviceAccessManagementSetting;
|
||||||
import org.wfc.omada.api.globalsetting.model.OperationResponseDeviceAccessManagementSetting;
|
import org.wfc.omada.api.globalsetting.model.OperationResponseDeviceAccessManagementSetting;
|
||||||
import org.wfc.omada.api.globalsetting.model.OperationResponseWithoutResult;
|
import org.wfc.omada.api.globalsetting.model.OperationResponseWithoutResult;
|
||||||
@@ -23,7 +22,7 @@ import javax.validation.Valid;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaDeviceManagementSetting", description = "the OmadaDeviceManagementSetting API")
|
@Api(value = "OmadaDeviceManagementSetting", description = "the OmadaDeviceManagementSetting API")
|
||||||
@FeignClient(name="OmadaDeviceManagementSettingApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaDeviceManagementSettingApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaDeviceManagementSettingApi {
|
public interface OmadaDeviceManagementSettingApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.globalsetting.model.LicenseAutoActiveOpenApiVo;
|
import org.wfc.omada.api.globalsetting.model.LicenseAutoActiveOpenApiVo;
|
||||||
import org.wfc.omada.api.globalsetting.model.LicenseAutoRenewOpenApiVo;
|
import org.wfc.omada.api.globalsetting.model.LicenseAutoRenewOpenApiVo;
|
||||||
import org.wfc.omada.api.globalsetting.model.LicenseBindAvailableNumOpenApiVo;
|
import org.wfc.omada.api.globalsetting.model.LicenseBindAvailableNumOpenApiVo;
|
||||||
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaLicense", description = "the OmadaLicense API")
|
@Api(value = "OmadaLicense", description = "the OmadaLicense API")
|
||||||
@FeignClient(name="OmadaLicenseApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaLicenseApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaLicenseApi {
|
public interface OmadaLicenseApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingAddVo;
|
import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingAddVo;
|
||||||
import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingEditVo;
|
import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingEditVo;
|
||||||
import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingTestVo;
|
import org.wfc.omada.api.globalsetting.model.OpenApiWebhookSettingTestVo;
|
||||||
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaWebhookSetting", description = "the OmadaWebhookSetting API")
|
@Api(value = "OmadaWebhookSetting", description = "the OmadaWebhookSetting API")
|
||||||
@FeignClient(name="OmadaWebhookSettingApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaWebhookSettingApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaWebhookSettingApi {
|
public interface OmadaWebhookSettingApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,11 +13,10 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.hotspot.model.ExtendOpenApiVo;
|
import org.wfc.omada.api.hotspot.model.ExtendOpenApiVo;
|
||||||
import org.wfc.omada.api.hotspot.model.OperationResponseGridVoAuthClientOpenApiVo;
|
import org.wfc.omada.api.hotspot.model.OperationResponseGridVoAuthClientOpenApiVo;
|
||||||
import org.wfc.omada.api.hotspot.model.OperationResponseWithoutResult;
|
import org.wfc.omada.api.hotspot.model.OperationResponseWithoutResult;
|
||||||
|
import org.wfc.omada.config.FeignConfig;
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
@@ -25,7 +24,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaAuthorizedClient", description = "the OmadaAuthorizedClient API")
|
@Api(value = "OmadaAuthorizedClient", description = "the OmadaAuthorizedClient API")
|
||||||
@FeignClient(name="OmadaAuthorizedClientApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaAuthorizedClientApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaAuthorizedClientApi {
|
public interface OmadaAuthorizedClientApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -114,4 +113,12 @@ public interface OmadaAuthorizedClientApi {
|
|||||||
method = RequestMethod.GET)
|
method = RequestMethod.GET)
|
||||||
ResponseEntity<OperationResponseGridVoAuthClientOpenApiVo> getHotspotAuthedClients(@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 = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.name", required = false) String sortsName,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.mac", required = false) String sortsMac,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.ip", required = false) String sortsIp,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.authType", required = false) String sortsAuthType,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.ssidOrNetwork", required = false) String sortsSsidOrNetwork,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.download", required = false) String sortsDownload,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.upload", required = false) String sortsUpload,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.status", required = false) String sortsStatus,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.start", required = false) String sortsStart,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.end", required = false) String sortsEnd,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.duration", required = false) String sortsDuration,@ApiParam(value = "Fuzzy query parameters, support field client_mac,client_name,voucher.code,local_user.user_name,form_name,auth_admin,ssid_name,network_name") @Valid @RequestParam(value = "searchKey", required = false) String searchKey);
|
ResponseEntity<OperationResponseGridVoAuthClientOpenApiVo> getHotspotAuthedClients(@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 = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.name", required = false) String sortsName,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.mac", required = false) String sortsMac,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.ip", required = false) String sortsIp,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.authType", required = false) String sortsAuthType,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.ssidOrNetwork", required = false) String sortsSsidOrNetwork,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.download", required = false) String sortsDownload,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.upload", required = false) String sortsUpload,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.status", required = false) String sortsStatus,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.start", required = false) String sortsStart,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.end", required = false) String sortsEnd,@ApiParam(value = "Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect") @Valid @RequestParam(value = "sorts.duration", required = false) String sortsDuration,@ApiParam(value = "Fuzzy query parameters, support field client_mac,client_name,voucher.code,local_user.user_name,form_name,auth_admin,ssid_name,network_name") @Valid @RequestParam(value = "searchKey", required = false) String searchKey);
|
||||||
|
|
||||||
|
@ApiOperation(value = "Get authentication record list", nickname = "getHotspotAuthedClients", notes = "Get all authentication records in a site with the given omadacId, siteId.<br/><br/>The interface requires one of the permissions: <br/>Site Hotspot Manager View Only<br/>Site Insight 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/>-1005 - Operation forbidden.", response = OperationResponseGridVoAuthClientOpenApiVo.class, tags={ "Omada/Authorized Client","Authorized Client", })
|
||||||
|
@ApiResponses(value = {
|
||||||
|
@ApiResponse(code = 200, message = "OK", response = OperationResponseGridVoAuthClientOpenApiVo.class) })
|
||||||
|
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/hotspot/authed-records",
|
||||||
|
produces = "*/*",
|
||||||
|
method = RequestMethod.GET)
|
||||||
|
ResponseEntity<OperationResponseGridVoAuthClientOpenApiVo> getHotspotAuthedClients(@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 client_mac,client_name,voucher.code,local_user.user_name,form_name,auth_admin,ssid_name,network_name") @Valid @RequestParam(value = "searchKey", required = false) String searchKey);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.hotspot.model.CreateFormAuthOpenApiVo;
|
import org.wfc.omada.api.hotspot.model.CreateFormAuthOpenApiVo;
|
||||||
import org.wfc.omada.api.hotspot.model.OperationResponseCreatedResIdOpenApiVo;
|
import org.wfc.omada.api.hotspot.model.OperationResponseCreatedResIdOpenApiVo;
|
||||||
import org.wfc.omada.api.hotspot.model.OperationResponseFormAuthOpenApiVo;
|
import org.wfc.omada.api.hotspot.model.OperationResponseFormAuthOpenApiVo;
|
||||||
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaFormAuthData", description = "the OmadaFormAuthData API")
|
@Api(value = "OmadaFormAuthData", description = "the OmadaFormAuthData API")
|
||||||
@FeignClient(name="OmadaFormAuthDataApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaFormAuthDataApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaFormAuthDataApi {
|
public interface OmadaFormAuthDataApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.hotspot.model.CreateLocalUserOpenApiVo;
|
import org.wfc.omada.api.hotspot.model.CreateLocalUserOpenApiVo;
|
||||||
import org.wfc.omada.api.hotspot.model.OperationResponseCreatedResIdOpenApiVo;
|
import org.wfc.omada.api.hotspot.model.OperationResponseCreatedResIdOpenApiVo;
|
||||||
import org.wfc.omada.api.hotspot.model.OperationResponseGridVoLocalUserOpenApiVo;
|
import org.wfc.omada.api.hotspot.model.OperationResponseGridVoLocalUserOpenApiVo;
|
||||||
@@ -27,7 +26,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaLocalUser", description = "the OmadaLocalUser API")
|
@Api(value = "OmadaLocalUser", description = "the OmadaLocalUser API")
|
||||||
@FeignClient(name="OmadaLocalUserApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaLocalUserApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaLocalUserApi {
|
public interface OmadaLocalUserApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.hotspot.model.CreateVoucherGroupOpenApiVo;
|
import org.wfc.omada.api.hotspot.model.CreateVoucherGroupOpenApiVo;
|
||||||
import org.wfc.omada.api.hotspot.model.HotspotSiteSettingOpenApiVo;
|
import org.wfc.omada.api.hotspot.model.HotspotSiteSettingOpenApiVo;
|
||||||
import org.wfc.omada.api.hotspot.model.OperationResponseAllTimeVoucherSummaryOpenApiVo;
|
import org.wfc.omada.api.hotspot.model.OperationResponseAllTimeVoucherSummaryOpenApiVo;
|
||||||
@@ -37,7 +36,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaVoucher", description = "the OmadaVoucher API")
|
@Api(value = "OmadaVoucher", description = "the OmadaVoucher API")
|
||||||
@FeignClient(name="OmadaVoucherApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaVoucherApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaVoucherApi {
|
public interface OmadaVoucherApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.insight.model.DeleteIpsThreat;
|
import org.wfc.omada.api.insight.model.DeleteIpsThreat;
|
||||||
import org.wfc.omada.api.insight.model.IpsOperateThreat;
|
import org.wfc.omada.api.insight.model.IpsOperateThreat;
|
||||||
import org.wfc.omada.api.insight.model.OperationResponseGetIpsThreatDetail;
|
import org.wfc.omada.api.insight.model.OperationResponseGetIpsThreatDetail;
|
||||||
@@ -27,7 +26,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaThreatManagement", description = "the OmadaThreatManagement API")
|
@Api(value = "OmadaThreatManagement", description = "the OmadaThreatManagement API")
|
||||||
@FeignClient(name="OmadaThreatManagementApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaThreatManagementApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaThreatManagementApi {
|
public interface OmadaThreatManagementApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -10,53 +10,187 @@ import org.springframework.http.ResponseEntity;
|
|||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
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.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.log.model.AuditLogNotificationSettingEditOpenApiVo;
|
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.LogNotificationSettingEditOpenApiV2Vo;
|
||||||
import org.wfc.omada.api.log.model.LogNotificationSettingEditOpenApiVo;
|
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.OperationResponseAuditLogNotificationSettingOpenApiVo;
|
||||||
|
import org.wfc.omada.api.log.model.OperationResponseEventLogGridVoEventLogOpenApiVo;
|
||||||
import org.wfc.omada.api.log.model.OperationResponseGridVoAuditLogOpenApiVo;
|
import org.wfc.omada.api.log.model.OperationResponseGridVoAuditLogOpenApiVo;
|
||||||
import org.wfc.omada.api.log.model.OperationResponseLogNotificationSettingOpenApiVo;
|
import org.wfc.omada.api.log.model.OperationResponseLogNotificationSettingOpenApiVo;
|
||||||
import org.wfc.omada.api.log.model.OperationResponseWithoutResult;
|
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.Valid;
|
||||||
import javax.validation.constraints.NotNull;
|
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
|
@Validated
|
||||||
@Api(value = "OmadaLog", description = "the OmadaLog API")
|
@Api(value = "OmadaLog", description = "the OmadaLog API")
|
||||||
@FeignClient(name="OmadaLogApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaLogApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaLogApi {
|
public interface OmadaLogApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GET /openapi/v1/{omadacId}/audit-notification : Get global audit log notification
|
* DELETE /openapi/v1/${omada.omadac-id}/logs/alerts/delete : Delete global alert log
|
||||||
* 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 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 omadacId Omada ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
|
* @param deleteGlobalAlertLogListOpenApiVo (optional)
|
||||||
* @return OK (status code 200)
|
* @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 = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseAuditLogNotificationSettingOpenApiVo.class) })
|
@ApiResponse(code = 200, message = "OK", response = OperationResponseAuditLogNotificationSettingOpenApiVo.class) })
|
||||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/audit-notification",
|
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/audit-notification",
|
||||||
produces = "*/*",
|
produces = "*/*",
|
||||||
method = RequestMethod.GET)
|
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 /openapi/v1/${omada.omadac-id}/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 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 omadacId Omada ID (required)
|
||||||
* @param siteId Site ID (required)
|
* @param siteId Site ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @return OK (status code 200)
|
* @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 = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseAuditLogNotificationSettingOpenApiVo.class) })
|
@ApiResponse(code = 200, message = "OK", response = OperationResponseAuditLogNotificationSettingOpenApiVo.class) })
|
||||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/site/audit-notification",
|
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/site/audit-notification",
|
||||||
@@ -66,8 +200,8 @@ public interface OmadaLogApi {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GET /openapi/v1/{omadacId}/audit-logs : Get global audit log list
|
* GET /openapi/v1/${omada.omadac-id}/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 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 omadacId Omada ID (required)
|
||||||
* @param page Start page number. Start from 1. (required)
|
* @param page Start page number. Start from 1. (required)
|
||||||
@@ -78,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 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 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 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)
|
* @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 = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseGridVoAuditLogOpenApiVo.class) })
|
@ApiResponse(code = 200, message = "OK", response = OperationResponseGridVoAuditLogOpenApiVo.class) })
|
||||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/audit-logs",
|
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/audit-logs",
|
||||||
@@ -90,8 +225,8 @@ public interface OmadaLogApi {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GET /openapi/v1/{omadacId}/sites/{siteId}/audit-logs : Get site audit log list
|
* GET /openapi/v1/${omada.omadac-id}/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 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 omadacId Omada ID (required)
|
||||||
* @param siteId Site ID (required)
|
* @param siteId Site ID (required)
|
||||||
@@ -103,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 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 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 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)
|
* @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 = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseGridVoAuditLogOpenApiVo.class) })
|
@ApiResponse(code = 200, message = "OK", response = OperationResponseGridVoAuditLogOpenApiVo.class) })
|
||||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/audit-logs",
|
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/audit-logs",
|
||||||
@@ -115,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
|
* 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 omadacId Omada ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @return OK (status code 200)
|
* @return OK (status code 200)
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
@@ -128,31 +310,33 @@ public interface OmadaLogApi {
|
|||||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/log-notification",
|
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/log-notification",
|
||||||
produces = "*/*",
|
produces = "*/*",
|
||||||
method = RequestMethod.GET)
|
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
|
* 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 omadacId Omada ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @return OK (status code 200)
|
* @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", })
|
@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 = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseLogNotificationSettingOpenApiVo.class) })
|
@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 = "*/*",
|
produces = "*/*",
|
||||||
method = RequestMethod.GET)
|
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
|
* 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 omadacId Omada ID (required)
|
||||||
* @param siteId Site ID (required)
|
* @param siteId Site ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @return OK (status code 200)
|
* @return OK (status code 200)
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
@@ -166,67 +350,53 @@ public interface OmadaLogApi {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GET /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification : Get site template log notification
|
* GET /openapi/v2/${omada.omadac-id}/sites/{siteId}/site/log-notification : Get site 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 site log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager View Only
|
* 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 omadacId Omada ID (required)
|
||||||
* @param siteId Site ID (required)
|
* @param siteId Site ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @return OK (status code 200)
|
* @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", })
|
@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 = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseLogNotificationSettingOpenApiVo.class) })
|
@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 = "*/*",
|
produces = "*/*",
|
||||||
method = RequestMethod.GET)
|
method = RequestMethod.GET)
|
||||||
ResponseEntity<OperationResponseLogNotificationSettingOpenApiVo> getLogSettingForSiteV2(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId);
|
ResponseEntity<OperationResponseLogNotificationSettingOpenApiVo> getLogSettingForSiteV2(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PATCH /openapi/v1/{omadacId}/audit-notification : Modify global audit log notification
|
* PATCH /openapi/v1/${omada.omadac-id}/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
|
* 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 omadacId Omada ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @param auditLogNotificationSettingEditOpenApiVo (optional)
|
* @param auditLogNotificationSettingEditOpenApiVo (optional)
|
||||||
* @return OK (status code 200)
|
* @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 = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/audit-notification",
|
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/audit-notification",
|
||||||
produces = "*/*",
|
produces = "*/*",
|
||||||
consumes = "application/json",
|
consumes = "application/json",
|
||||||
method = RequestMethod.PATCH)
|
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
|
* PATCH /openapi/v1/${omada.omadac-id}/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
|
* 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 omadacId Omada ID (required)
|
||||||
* @param siteId Site ID (required)
|
* @param siteId Site ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @param auditLogNotificationSettingEditOpenApiVo (optional)
|
* @param auditLogNotificationSettingEditOpenApiVo (optional)
|
||||||
* @return OK (status code 200)
|
* @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 = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
||||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/site/audit-notification",
|
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/site/audit-notification",
|
||||||
@@ -237,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
|
* 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 omadacId Omada ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @param logNotificationSettingEditOpenApiVo (optional)
|
* @param logNotificationSettingEditOpenApiVo (optional)
|
||||||
* @return OK (status code 200)
|
* @return OK (status code 200)
|
||||||
* @deprecated
|
* @deprecated
|
||||||
@@ -252,33 +423,35 @@ public interface OmadaLogApi {
|
|||||||
produces = "*/*",
|
produces = "*/*",
|
||||||
consumes = "application/json",
|
consumes = "application/json",
|
||||||
method = RequestMethod.PATCH)
|
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
|
* 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 omadacId Omada ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @param logNotificationSettingEditOpenApiV2Vo (optional)
|
* @param logNotificationSettingEditOpenApiV2Vo (optional)
|
||||||
* @return OK (status code 200)
|
* @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", })
|
@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 = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
@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 = "*/*",
|
produces = "*/*",
|
||||||
consumes = "application/json",
|
consumes = "application/json",
|
||||||
method = RequestMethod.PATCH)
|
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
|
* 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 omadacId Omada ID (required)
|
||||||
* @param siteId Site ID (required)
|
* @param siteId Site ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @param logNotificationSettingEditOpenApiVo (optional)
|
* @param logNotificationSettingEditOpenApiVo (optional)
|
||||||
* @return OK (status code 200)
|
* @return OK (status code 200)
|
||||||
* @deprecated
|
* @deprecated
|
||||||
@@ -294,37 +467,19 @@ public interface OmadaLogApi {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PATCH /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/log-notification : Modify site template log notification
|
* PATCH /openapi/v2/${omada.omadac-id}/sites/{siteId}/site/log-notification : Modify site 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
|
|
||||||
* Modify site log notification.<br/><br/>The interface requires one of the permissions: <br/>Site Log & Audit Log Manager Modify
|
* 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 omadacId Omada ID (required)
|
||||||
* @param siteId Site ID (required)
|
* @param siteId Site ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @param logNotificationSettingEditOpenApiV2Vo (optional)
|
* @param logNotificationSettingEditOpenApiV2Vo (optional)
|
||||||
* @return OK (status code 200)
|
* @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", })
|
@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 = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
@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 = "*/*",
|
produces = "*/*",
|
||||||
consumes = "application/json",
|
consumes = "application/json",
|
||||||
method = RequestMethod.PATCH)
|
method = RequestMethod.PATCH)
|
||||||
@@ -332,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
|
* 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 omadacId Omada ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @return OK (status code 200)
|
* @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", })
|
@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", })
|
||||||
@@ -344,15 +500,16 @@ public interface OmadaLogApi {
|
|||||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/reset/log-notification",
|
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/reset/log-notification",
|
||||||
produces = "*/*",
|
produces = "*/*",
|
||||||
method = RequestMethod.POST)
|
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
|
* 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 omadacId Omada ID (required)
|
||||||
* @param siteId Site ID (required)
|
* @param siteId Site ID (required)
|
||||||
|
* @param authorization (optional, default to "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VyX2tleSI6ImUzNjFmYzQ2LTk5YjMtNDJhZC04MjJmLTM2MjY0OGU3OWY1MyIsInBsYXRmb3JtIjoic3lzdGVtIiwidXNlcm5hbWUiOiJhZG1pbiJ9.5Aup-9z6TzIZgsqqOiILunx-U3KTKeWxkeDWty8f9rnQLsKRJ5yTMkVC4pFLORY2DQl4rANDVYYJrSW_pRnzOw")
|
||||||
* @return OK (status code 200)
|
* @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", })
|
@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", })
|
||||||
@@ -365,19 +522,22 @@ public interface OmadaLogApi {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* POST /openapi/v1/{omadacId}/sitetemplates/{siteTemplateId}/site/reset/log-notification : Reset site template log notification
|
* POST /openapi/v1/${omada.omadac-id}/sites/{siteId}/logs/alerts/resolve : Resolve site alert log
|
||||||
* 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
|
* 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 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)
|
* @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 = {
|
@ApiResponses(value = {
|
||||||
@ApiResponse(code = 200, message = "OK", response = OperationResponseWithoutResult.class) })
|
@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 = "*/*",
|
produces = "*/*",
|
||||||
|
consumes = "application/json",
|
||||||
method = RequestMethod.POST)
|
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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.log.model.AuditLogNotificationSettingEditOpenApiVo;
|
import org.wfc.omada.api.log.model.AuditLogNotificationSettingEditOpenApiVo;
|
||||||
import org.wfc.omada.api.log.model.OperationResponseAuditLogNotificationSettingOpenApiVo;
|
import org.wfc.omada.api.log.model.OperationResponseAuditLogNotificationSettingOpenApiVo;
|
||||||
import org.wfc.omada.api.log.model.OperationResponseWithoutResult;
|
import org.wfc.omada.api.log.model.OperationResponseWithoutResult;
|
||||||
@@ -23,7 +22,7 @@ import javax.validation.Valid;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaLogTemplate", description = "the OmadaLogTemplate API")
|
@Api(value = "OmadaLogTemplate", description = "the OmadaLogTemplate API")
|
||||||
@FeignClient(name="OmadaLogTemplateApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaLogTemplateApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaLogTemplateApi {
|
public interface OmadaLogTemplateApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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
|
* Audit Log Notification List
|
||||||
*/
|
*/
|
||||||
@ApiModel(description = "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 {
|
public class AuditLogNotificationEditOpenApiVo {
|
||||||
@JsonProperty("key")
|
@JsonProperty("key")
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import java.util.Objects;
|
|||||||
* Audit Log Notification List
|
* Audit Log Notification List
|
||||||
*/
|
*/
|
||||||
@ApiModel(description = "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 {
|
public class AuditLogNotificationOpenApiVo {
|
||||||
@JsonProperty("key")
|
@JsonProperty("key")
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import java.util.Objects;
|
|||||||
/**
|
/**
|
||||||
* AuditLogNotificationSettingEditOpenApiVo
|
* 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 {
|
public class AuditLogNotificationSettingEditOpenApiVo {
|
||||||
@JsonProperty("webhookConfig")
|
@JsonProperty("webhookConfig")
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
|||||||
/**
|
/**
|
||||||
* AuditLogNotificationSettingOpenApiVo
|
* 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 {
|
public class AuditLogNotificationSettingOpenApiVo {
|
||||||
@JsonProperty("webhookConfig")
|
@JsonProperty("webhookConfig")
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import java.util.Objects;
|
|||||||
/**
|
/**
|
||||||
* AuditLogOpenApiVo
|
* 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 {
|
public class AuditLogOpenApiVo {
|
||||||
@JsonProperty("time")
|
@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
|
* 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 {
|
public class GridVoAuditLogOpenApiVo {
|
||||||
@JsonProperty("totalRows")
|
@JsonProperty("totalRows")
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import java.util.Objects;
|
|||||||
* Log Event Email (This config applies to the log site view)
|
* Log Event Email (This config applies to the log site view)
|
||||||
*/
|
*/
|
||||||
@ApiModel(description = "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 {
|
public class LogAlertEmailOpenApiVo {
|
||||||
@JsonProperty("alertEmailEnable")
|
@JsonProperty("alertEmailEnable")
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
|||||||
* Event Notification List
|
* Event Notification List
|
||||||
*/
|
*/
|
||||||
@ApiModel(description = "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 {
|
public class LogNotificationEditOpenApiV2Vo {
|
||||||
@JsonProperty("key")
|
@JsonProperty("key")
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
|||||||
* Log Notification List
|
* Log Notification List
|
||||||
*/
|
*/
|
||||||
@ApiModel(description = "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 {
|
public class LogNotificationEditOpenApiVo {
|
||||||
@JsonProperty("key")
|
@JsonProperty("key")
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import java.util.Objects;
|
|||||||
* Log Notification List
|
* Log Notification List
|
||||||
*/
|
*/
|
||||||
@ApiModel(description = "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 {
|
public class LogNotificationOpenApiVo {
|
||||||
@JsonProperty("key")
|
@JsonProperty("key")
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
|||||||
/**
|
/**
|
||||||
* LogNotificationSettingEditOpenApiV2Vo
|
* 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 {
|
public class LogNotificationSettingEditOpenApiV2Vo {
|
||||||
@JsonProperty("webhookConfig")
|
@JsonProperty("webhookConfig")
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import java.util.Objects;
|
|||||||
/**
|
/**
|
||||||
* LogNotificationSettingEditOpenApiVo
|
* 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 {
|
public class LogNotificationSettingEditOpenApiVo {
|
||||||
@JsonProperty("webhookConfig")
|
@JsonProperty("webhookConfig")
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import java.util.Objects;
|
|||||||
/**
|
/**
|
||||||
* LogNotificationSettingOpenApiVo
|
* 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 {
|
public class LogNotificationSettingOpenApiVo {
|
||||||
@JsonProperty("webhookConfig")
|
@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
|
* 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 {
|
public class OperationResponseAuditLogNotificationSettingOpenApiVo {
|
||||||
@JsonProperty("errorCode")
|
@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
|
* 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 {
|
public class OperationResponseGridVoAuditLogOpenApiVo {
|
||||||
@JsonProperty("errorCode")
|
@JsonProperty("errorCode")
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import java.util.Objects;
|
|||||||
/**
|
/**
|
||||||
* OperationResponseLogNotificationSettingOpenApiVo
|
* 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 {
|
public class OperationResponseLogNotificationSettingOpenApiVo {
|
||||||
@JsonProperty("errorCode")
|
@JsonProperty("errorCode")
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import java.util.Objects;
|
|||||||
/**
|
/**
|
||||||
* OperationResponseWithoutResult
|
* 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 {
|
public class OperationResponseWithoutResult {
|
||||||
@JsonProperty("errorCode")
|
@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)
|
* 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)")
|
@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 {
|
public class WebhookConfigEditOpenApiVo {
|
||||||
@JsonProperty("webhookEnable")
|
@JsonProperty("webhookEnable")
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import java.util.Objects;
|
|||||||
* Log Notification Webhook Config (This config applies to the Omada Pro Controller only)
|
* 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)")
|
@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 {
|
public class WebhookConfigOpenApiVo {
|
||||||
@JsonProperty("webhookEnable")
|
@JsonProperty("webhookEnable")
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.maintenance.model.BackupFileListVo;
|
import org.wfc.omada.api.maintenance.model.BackupFileListVo;
|
||||||
import org.wfc.omada.api.maintenance.model.BackupResultOpenApiVo;
|
import org.wfc.omada.api.maintenance.model.BackupResultOpenApiVo;
|
||||||
import org.wfc.omada.api.maintenance.model.BatchSiteBackupVo;
|
import org.wfc.omada.api.maintenance.model.BatchSiteBackupVo;
|
||||||
@@ -32,7 +31,7 @@ import javax.validation.Valid;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaBackupAndRestore", description = "the OmadaBackupAndRestore API")
|
@Api(value = "OmadaBackupAndRestore", description = "the OmadaBackupAndRestore API")
|
||||||
@FeignClient(name="OmadaBackupAndRestoreApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaBackupAndRestoreApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaBackupAndRestoreApi {
|
public interface OmadaBackupAndRestoreApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -8,22 +8,20 @@ import io.swagger.annotations.ApiResponses;
|
|||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.validation.annotation.Validated;
|
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.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.maintenance.model.ModifyHistoryRetentionOpenApiVo;
|
import org.wfc.omada.api.maintenance.model.ModifyHistoryRetentionOpenApiVo;
|
||||||
import org.wfc.omada.api.maintenance.model.OperationResponseHistoryRetentionOpenApiVo;
|
import org.wfc.omada.api.maintenance.model.OperationResponseHistoryRetentionOpenApiVo;
|
||||||
import org.wfc.omada.api.maintenance.model.OperationResponseWithoutResult;
|
import org.wfc.omada.api.maintenance.model.OperationResponseWithoutResult;
|
||||||
|
import org.wfc.omada.config.FeignConfig;
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:40:03.102+08:00[Asia/Shanghai]")
|
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-04T11:40:03.102+08:00[Asia/Shanghai]")
|
||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaHistoryDataRetention", description = "the OmadaHistoryDataRetention API")
|
@Api(value = "OmadaHistoryDataRetention", description = "the OmadaHistoryDataRetention API")
|
||||||
@FeignClient(name="OmadaHistoryDataRetentionApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaHistoryDataRetentionApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaHistoryDataRetentionApi {
|
public interface OmadaHistoryDataRetentionApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -39,7 +37,7 @@ public interface OmadaHistoryDataRetentionApi {
|
|||||||
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/retention",
|
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/retention",
|
||||||
produces = "*/*",
|
produces = "*/*",
|
||||||
method = RequestMethod.GET)
|
method = RequestMethod.GET)
|
||||||
ResponseEntity<OperationResponseHistoryRetentionOpenApiVo> getDataRetention(@ApiParam(value = "Omada ID",required=true) @PathVariable("omadacId") String omadacId);
|
ResponseEntity<OperationResponseHistoryRetentionOpenApiVo> getDataRetention();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.monitor.model.BatchEditTabs;
|
import org.wfc.omada.api.monitor.model.BatchEditTabs;
|
||||||
import org.wfc.omada.api.monitor.model.CreateTabOpenApiVo;
|
import org.wfc.omada.api.monitor.model.CreateTabOpenApiVo;
|
||||||
import org.wfc.omada.api.monitor.model.OperationResponseApChannelStats;
|
import org.wfc.omada.api.monitor.model.OperationResponseApChannelStats;
|
||||||
@@ -42,7 +41,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaDashboard", description = "the OmadaDashboard API")
|
@Api(value = "OmadaDashboard", description = "the OmadaDashboard API")
|
||||||
@FeignClient(name="OmadaDashboardApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaDashboardApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaDashboardApi {
|
public interface OmadaDashboardApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.msp.model.CustomerOpenApiVo;
|
import org.wfc.omada.api.msp.model.CustomerOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.OperationResponseCreateCustomerOmadacVo;
|
import org.wfc.omada.api.msp.model.OperationResponseCreateCustomerOmadacVo;
|
||||||
import org.wfc.omada.api.msp.model.OperationResponseCustomerInfoOpenApiVo;
|
import org.wfc.omada.api.msp.model.OperationResponseCustomerInfoOpenApiVo;
|
||||||
@@ -28,7 +27,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaCustomer", description = "the OmadaCustomer API")
|
@Api(value = "OmadaCustomer", description = "the OmadaCustomer API")
|
||||||
@FeignClient(name="OmadaCustomerApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaCustomerApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaCustomerApi {
|
public interface OmadaCustomerApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.msp.model.BatchRequestEntity;
|
import org.wfc.omada.api.msp.model.BatchRequestEntity;
|
||||||
import org.wfc.omada.api.msp.model.OperationResponseBatchResponseEntity;
|
import org.wfc.omada.api.msp.model.OperationResponseBatchResponseEntity;
|
||||||
|
|
||||||
@@ -22,7 +21,7 @@ import javax.validation.Valid;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaMspBatchOpenApi", description = "the OmadaMspBatchOpenApi API")
|
@Api(value = "OmadaMspBatchOpenApi", description = "the OmadaMspBatchOpenApi API")
|
||||||
@FeignClient(name="OmadaMspBatchOpenApiApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaMspBatchOpenApiApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaMspBatchOpenApiApi {
|
public interface OmadaMspBatchOpenApiApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.msp.model.OperationResponseGridVoMspKnownDeviceOpenApiVo;
|
import org.wfc.omada.api.msp.model.OperationResponseGridVoMspKnownDeviceOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.OperationResponseGridVoMspUnknownDeviceOpenApiVo;
|
import org.wfc.omada.api.msp.model.OperationResponseGridVoMspUnknownDeviceOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.OperationResponseListTagRespOpenApiVo;
|
import org.wfc.omada.api.msp.model.OperationResponseListTagRespOpenApiVo;
|
||||||
@@ -24,7 +23,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaMspDevice", description = "the OmadaMspDevice API")
|
@Api(value = "OmadaMspDevice", description = "the OmadaMspDevice API")
|
||||||
@FeignClient(name="OmadaMspDeviceApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaMspDeviceApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaMspDeviceApi {
|
public interface OmadaMspDeviceApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.msp.model.ModifyHistoryRetentionOpenApiVo;
|
import org.wfc.omada.api.msp.model.ModifyHistoryRetentionOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.OperationResponseHistoryRetentionOpenApiVo;
|
import org.wfc.omada.api.msp.model.OperationResponseHistoryRetentionOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.OperationResponseWithoutResult;
|
import org.wfc.omada.api.msp.model.OperationResponseWithoutResult;
|
||||||
@@ -23,7 +22,7 @@ import javax.validation.Valid;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaMspHistoryDataRetention", description = "the OmadaMspHistoryDataRetention API")
|
@Api(value = "OmadaMspHistoryDataRetention", description = "the OmadaMspHistoryDataRetention API")
|
||||||
@FeignClient(name="OmadaMspHistoryDataRetentionApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaMspHistoryDataRetentionApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaMspHistoryDataRetentionApi {
|
public interface OmadaMspHistoryDataRetentionApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.msp.model.GridVoUsedLicenseDetailOpenApiVo;
|
import org.wfc.omada.api.msp.model.GridVoUsedLicenseDetailOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.LicenseAssignmentOpenApiVo;
|
import org.wfc.omada.api.msp.model.LicenseAssignmentOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.LicenseAutoActiveOpenApiVo;
|
import org.wfc.omada.api.msp.model.LicenseAutoActiveOpenApiVo;
|
||||||
@@ -30,7 +29,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaMspLicense", description = "the OmadaMspLicense API")
|
@Api(value = "OmadaMspLicense", description = "the OmadaMspLicense API")
|
||||||
@FeignClient(name="OmadaMspLicenseApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaMspLicenseApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaMspLicenseApi {
|
public interface OmadaMspLicenseApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.msp.model.AuditLogNotificationSettingEditOpenApiVo;
|
import org.wfc.omada.api.msp.model.AuditLogNotificationSettingEditOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.LogNotificationSettingEditOpenApiV2Vo;
|
import org.wfc.omada.api.msp.model.LogNotificationSettingEditOpenApiV2Vo;
|
||||||
import org.wfc.omada.api.msp.model.LogNotificationSettingEditOpenApiVo;
|
import org.wfc.omada.api.msp.model.LogNotificationSettingEditOpenApiVo;
|
||||||
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaMspLog", description = "the OmadaMspLog API")
|
@Api(value = "OmadaMspLog", description = "the OmadaMspLog API")
|
||||||
@FeignClient(name="OmadaMspLogApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaMspLogApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaMspLogApi {
|
public interface OmadaMspLogApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.msp.model.ModifyMspGeneralSettingOpenApiVo;
|
import org.wfc.omada.api.msp.model.ModifyMspGeneralSettingOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.MspUiInterfaceOpenApiVo;
|
import org.wfc.omada.api.msp.model.MspUiInterfaceOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.OperationResponseMspGeneralSettingOpenApiVo;
|
import org.wfc.omada.api.msp.model.OperationResponseMspGeneralSettingOpenApiVo;
|
||||||
@@ -25,7 +24,7 @@ import javax.validation.Valid;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaMspSetting", description = "the OmadaMspSetting API")
|
@Api(value = "OmadaMspSetting", description = "the OmadaMspSetting API")
|
||||||
@FeignClient(name="OmadaMspSettingApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaMspSettingApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaMspSettingApi {
|
public interface OmadaMspSettingApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.msp.model.OperationResponseGridVoSiteSummaryInfo;
|
import org.wfc.omada.api.msp.model.OperationResponseGridVoSiteSummaryInfo;
|
||||||
import org.wfc.omada.api.msp.model.SiteTag;
|
import org.wfc.omada.api.msp.model.SiteTag;
|
||||||
|
|
||||||
@@ -24,7 +23,7 @@ import java.util.List;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaMspSite", description = "the OmadaMspSite API")
|
@Api(value = "OmadaMspSite", description = "the OmadaMspSite API")
|
||||||
@FeignClient(name="OmadaMspSiteApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaMspSiteApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaMspSiteApi {
|
public interface OmadaMspSiteApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.wfc.omada.config.FeignConfig;
|
import org.wfc.omada.config.FeignConfig;
|
||||||
import org.wfc.omada.config.FeignHttpsConfig;
|
|
||||||
import org.wfc.omada.api.msp.model.IdpMetadataOpenApiVo;
|
import org.wfc.omada.api.msp.model.IdpMetadataOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.MspExternalUserGroupOpenApiVo;
|
import org.wfc.omada.api.msp.model.MspExternalUserGroupOpenApiVo;
|
||||||
import org.wfc.omada.api.msp.model.OperationResponseGridVoIdpMetadataDetailOpenApiVo;
|
import org.wfc.omada.api.msp.model.OperationResponseGridVoIdpMetadataDetailOpenApiVo;
|
||||||
@@ -29,7 +28,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
|
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "OmadaMspSso", description = "the OmadaMspSso API")
|
@Api(value = "OmadaMspSso", description = "the OmadaMspSso API")
|
||||||
@FeignClient(name="OmadaMspSsoApi", url = "${omada.omada-url}", configuration = {FeignConfig.class, FeignHttpsConfig.class})
|
@FeignClient(name="OmadaMspSsoApi", url = "${omada.omada-url}", configuration = FeignConfig.class)
|
||||||
public interface OmadaMspSsoApi {
|
public interface OmadaMspSsoApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user