From c80644493535159f5adeac60d2d3b22d07cd9903 Mon Sep 17 00:00:00 2001 From: EnderByEndera <707475564@qq.com> Date: Sat, 27 Jan 2024 02:34:51 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=89=8D=E7=AB=AF=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=EF=BC=8C=E6=B7=BB=E5=8A=A0=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=8C=89=E9=92=AE=202.=20README=E6=9B=B4=E6=96=B0=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=90=AF=E5=8A=A8=E6=96=B9=E5=BC=8F=203.=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9Docker=E5=90=AF=E5=8A=A8=E8=84=9A=E6=9C=AC=EF=BC=8C?= =?UTF-8?q?=E4=BD=BF=E7=94=A8--privileged=E5=92=8C--host=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 + README.md | 5 + docker-nginx/Dockerfile | 9 +- docker-springboot/Dockerfile | 7 + load_nginx.sh | 4 +- load_springboot.sh | 3 +- load_springboot_multi.sh | 8 +- ...f98880.css => chunk-4571b781.7cc8f9ce.css} | 2 +- .../defense/css/chunk-e38f8216.ae946b04.css | 1 - ...3c934c.css => chunk-ed0b5ca6.199a7381.css} | 2 +- src/main/resources/nginx/defense/index.html | 137 +++++++++++++++++- .../nginx/defense/js/app.12ad6b76.js | 1 - .../nginx/defense/js/app.bd860b18.js | 1 - .../defense/js/chunk-201885d7.405cf9b6.js | 1 + .../defense/js/chunk-201885d7.8442cec0.js | 1 - .../defense/js/chunk-2b492edc.2a621865.js | 1 + .../defense/js/chunk-2b492edc.d94e75e9.js | 1 - .../defense/js/chunk-32db9202.43b104da.js | 1 - .../defense/js/chunk-3ecd8d86.ed8ab1fa.js | 1 + .../defense/js/chunk-3ecd8d86.fb22be1f.js | 1 - .../defense/js/chunk-4aed3d39.02e3d103.js | 1 - .../defense/js/chunk-e38f8216.7f04a229.js | 1 - .../defense/js/chunk-ed0b5ca6.c1f2509d.js | 1 + 23 files changed, 173 insertions(+), 19 deletions(-) rename src/main/resources/nginx/defense/css/{chunk-4aed3d39.bdf98880.css => chunk-4571b781.7cc8f9ce.css} (93%) delete mode 100644 src/main/resources/nginx/defense/css/chunk-e38f8216.ae946b04.css rename src/main/resources/nginx/defense/css/{chunk-32db9202.0d3c934c.css => chunk-ed0b5ca6.199a7381.css} (97%) delete mode 100644 src/main/resources/nginx/defense/js/app.12ad6b76.js delete mode 100644 src/main/resources/nginx/defense/js/app.bd860b18.js create mode 100644 src/main/resources/nginx/defense/js/chunk-201885d7.405cf9b6.js delete mode 100644 src/main/resources/nginx/defense/js/chunk-201885d7.8442cec0.js create mode 100644 src/main/resources/nginx/defense/js/chunk-2b492edc.2a621865.js delete mode 100644 src/main/resources/nginx/defense/js/chunk-2b492edc.d94e75e9.js delete mode 100644 src/main/resources/nginx/defense/js/chunk-32db9202.43b104da.js create mode 100644 src/main/resources/nginx/defense/js/chunk-3ecd8d86.ed8ab1fa.js delete mode 100644 src/main/resources/nginx/defense/js/chunk-3ecd8d86.fb22be1f.js delete mode 100644 src/main/resources/nginx/defense/js/chunk-4aed3d39.02e3d103.js delete mode 100644 src/main/resources/nginx/defense/js/chunk-e38f8216.7f04a229.js create mode 100644 src/main/resources/nginx/defense/js/chunk-ed0b5ca6.c1f2509d.js diff --git a/.gitignore b/.gitignore index e3ccdf1..5f95c16 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,8 @@ build/ !**/src/main/**/build/ !**/src/test/**/build/ docker-ubuntu/protection_ubuntu.tar +VSCode.zip +Writerside* ### STS ### .apt_generated diff --git a/README.md b/README.md index 25ffa24..3ac7d26 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # SSFY系统 README +若要直接运行,请使用如下指令: +```shell +./gradlew clean && ./gradlew bootRun +``` + ## 项目文件夹结构说明: 目前整体分为两大板块:**configuration**和**server** diff --git a/docker-nginx/Dockerfile b/docker-nginx/Dockerfile index 68f5a01..53f2b0c 100644 --- a/docker-nginx/Dockerfile +++ b/docker-nginx/Dockerfile @@ -3,7 +3,14 @@ LABEL authors="Endera" COPY realtime_protection realtime_protection -ENV SPRINGBOOT_FIRST_URL="172.24.100.53:8081" \ +#ENV SPRINGBOOT_FIRST_URL="10.58.72.141:8081" \ +# SPRINGBOOT_SECOND_URL="10.58.72.142:8081" \ +# SPRINGBOOT_THIRD_URL="10.58.72.143:8081" \ +# SPRINGBOOT_FOURTH_URL="10.58.72.144:8081" \ +# NGINX_PORT=8080 \ +# NGINX_SERVER_NAME="localhost" + +ENV SPRINGBOOT_FIRST_URL="192.168.107.89:8081" \ SPRINGBOOT_SECOND_URL="172.24.100.53:8082" \ SPRINGBOOT_THIRD_URL="172.24.100.53:8083" \ SPRINGBOOT_FOURTH_URL="172.24.100.53:8084" \ diff --git a/docker-springboot/Dockerfile b/docker-springboot/Dockerfile index c993f3e..b028b61 100644 --- a/docker-springboot/Dockerfile +++ b/docker-springboot/Dockerfile @@ -3,6 +3,13 @@ LABEL authors="Endera" COPY realtime_protection realtime_protection +ENV MYSQL_USERNAME="root" \ + MYSQL_PASSWD="IOmysql" \ + MYSQL_URL="10.58.72.140:3306" \ + DORIS_USERNAME="root" \ + DORIS_PASSWD="" \ + DORIS_URL="10.58.72.135:9030" + ENV MYSQL_USERNAME="root" \ MYSQL_PASSWD="aiihhbfcsy123!@#" \ MYSQL_URL="192.168.107.89:3306" \ diff --git a/load_nginx.sh b/load_nginx.sh index 104cf21..a6a7ede 100644 --- a/load_nginx.sh +++ b/load_nginx.sh @@ -17,5 +17,7 @@ docker load < realtime_protection/docker-ubuntu/protection_ubuntu.tar docker build -t protection_nginx -f realtime_protection/docker-nginx/Dockerfile . echo "============built frontend servers============" -docker run -itd --name nginx_frontend -p 8080:8080 protection_nginx +# 使用host模式进行Nginx服务器部署,方便在中心部署时不会遭遇容器内部无法访问外部网络的问题 +# 使用privileged模式,防止中心部署时无法启动Nginx服务器 +docker run --privileged --network host -itd --name nginx_frontend protection_nginx echo "============started frontend servers============" diff --git a/load_springboot.sh b/load_springboot.sh index 9211e28..81c697d 100644 --- a/load_springboot.sh +++ b/load_springboot.sh @@ -17,5 +17,6 @@ docker load < realtime_protection/docker-ubuntu/protection_ubuntu.tar docker build -t protection_springboot -f realtime_protection/docker-springboot/Dockerfile . echo "============built backend servers============" -docker run -itd --name springboot_backend -p 8081:8081 protection_springboot +# 使用privileged模式,在中心部署时不会遭遇Java内存异常错误 +docker run --privileged -itd --name springboot_backend -p 8081:8081 protection_springboot echo "============started backend servers============" \ No newline at end of file diff --git a/load_springboot_multi.sh b/load_springboot_multi.sh index 2b40eb3..4287b68 100644 --- a/load_springboot_multi.sh +++ b/load_springboot_multi.sh @@ -20,8 +20,8 @@ docker build -t protection_springboot -f realtime_protection/docker-springboot/D echo "============built backend servers============" # 尝试开启多个SpringBoot -docker run -itd --name springboot_backend_1 -p 8081:8081 protection_springboot -docker run -itd --name springboot_backend_2 -p 8082:8081 protection_springboot -docker run -itd --name springboot_backend_3 -p 8083:8081 protection_springboot -docker run -itd --name springboot_backend_4 -p 8084:8081 protection_springboot +docker run --privileged -itd --name springboot_backend_1 -p 8081:8081 protection_springboot +docker run --privileged -itd --name springboot_backend_2 -p 8082:8081 protection_springboot +docker run --privileged -itd --name springboot_backend_3 -p 8083:8081 protection_springboot +docker run --privileged -itd --name springboot_backend_4 -p 8084:8081 protection_springboot echo "============started backend servers============" \ No newline at end of file diff --git a/src/main/resources/nginx/defense/css/chunk-4aed3d39.bdf98880.css b/src/main/resources/nginx/defense/css/chunk-4571b781.7cc8f9ce.css similarity index 93% rename from src/main/resources/nginx/defense/css/chunk-4aed3d39.bdf98880.css rename to src/main/resources/nginx/defense/css/chunk-4571b781.7cc8f9ce.css index 667a3c0..5baca0b 100644 --- a/src/main/resources/nginx/defense/css/chunk-4aed3d39.bdf98880.css +++ b/src/main/resources/nginx/defense/css/chunk-4571b781.7cc8f9ce.css @@ -1 +1 @@ -#userPower{height:calc(100vh - 83px);background:#fff}#userPower .ant-card-body{padding:0!important}#userPower .ant-table-empty{border-bottom:none}#userPower .leftBox{display:inline-block;vertical-align:top;width:20%;height:100%;border:1px solid #e8e8e8;background:#fff;overflow:auto}#userPower .leftBox .search-head{position:relative;height:57px;border-bottom:1px solid #e8e8e8;padding:12px 35px 0 12px}#userPower .leftBox .search-head>i{position:absolute;right:8px;top:18px;font-size:20px;color:#1890ff;cursor:pointer}#userPower .leftBox .companyItem{position:relative;padding:3px 10px 5px 20px;cursor:pointer}#userPower .leftBox .companyItem:hover{background:#f8f8f8}#userPower .leftBox .companyItem:hover .companyDelete,#userPower .leftBox .companyItem:hover .companyEdit{display:block}#userPower .leftBox .companyItem.active{background:#1890ff}#userPower .leftBox .companyItem.active p{color:#fff}#userPower .leftBox .companyItem.active .companyDelete,#userPower .leftBox .companyItem.active .companyEdit{color:#1890ff;background:#fff}#userPower .leftBox .companyItem.active .companyIcon{background:url(../assets/company2.33b66bf6.svg) no-repeat}#userPower .leftBox .companyItem p{margin-bottom:0;width:98%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#userPower .leftBox .companyItem p:first-child{font-size:16px;font-weight:600;margin-bottom:0}#userPower .leftBox .companyItem .companyDelete,#userPower .leftBox .companyItem .companyEdit{display:none;position:absolute;width:24px;height:24px;right:10px;top:18px;font-size:14px;color:#fff;cursor:pointer;text-align:center;line-height:26px;background:#1890ff;border-radius:50%}#userPower .leftBox .companyItem .companyDelete{top:55px}#userPower .leftBox .companyItem .companyIcon{display:inline-block;width:16px;height:16px;margin-right:5px;margin-bottom:-2px;background:url(../assets/company1.b48b661f.svg) no-repeat}#userPower .leftBox .companyItem:nth-child(6n){border-bottom:none;padding:5px 10px 3px 20px}#userPower .leftBox .ant-list-item-content{margin:0}#userPower .leftBox .ant-list-pagination{margin:14px 10px 15px 0}#userPower .leftBox .ant-spin-container{border-bottom:1px solid #e8e8e8;overflow:auto}#userPower .leftBox .ant-pagination-item:not(.ant-pagination-item-active){display:none}#userPower .rightBox{display:inline-block;width:80%;height:100%}#userPower .rightBox .ant-card-bordered{border-bottom:none;border-left:none}#userPower .rightBox .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userPower .rightBox .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userPower .rightBox .ant-table-body{overflow-y:auto!important}#userPower .ant-table-thead>tr>th{color:#000}#userPower .table-page-search-wrapper .ant-form-inline .ant-form-item,#userPower .table-page-search-wrapper .table-page-search-submitButtons{margin:5px 12px 5px 12px}#userPower .ant-form-item-label{width:75px}.wwx_userType,.wwx_userType:focus,.wwx_userType:hover{text-decoration:none}.wwx_userType li{color:#5f5f5f;line-height:30px;text-align:center}.wwx_userType li:hover{background:#e6f7ff}#userShow{height:calc(100vh - 83px);background:#fff}#userShow .ant-card-body{padding:0!important}#userShow .ant-card-bordered{border-bottom:none;border-left:none}#userShow .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userShow .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userShow .ant-table-body{overflow:auto!important}#userShow .ant-table-empty{border-bottom:none}#userShow .ant-table-thead>tr>th{color:#000}.wwx_addmodal .ant-modal-body{padding:10px 15px 5px 15px}.wwx_addmodal .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}.wwx_addmodal .ant-table-body{overflow:auto!important}#userAudit{height:calc(100vh - 83px);background:#fff}#userAudit .ant-card-body{padding:0!important}#userAudit .ant-card-bordered{border-bottom:none;border-left:none;border-top:none}#userAudit .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userAudit .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userAudit .ant-table-body{overflow:auto!important}#userAudit .ant-table-empty{border-bottom:none}#userAudit .ant-table-thead>tr>th{color:#000}.spstyle{width:160px;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-v-6077b93b] .fangyu-form .ant-form-item label{display:inline-block;width:90px}[data-v-6077b93b] .addform .ant-form-item label{display:inline-block;width:100px}[data-v-6077b93b] .addform .ant-form-item{margin-left:190px}[data-v-6077b93b] .add-cofig-form .ant-form-item label{display:inline-block;width:65px}[data-v-6077b93b] .add-cofig-form .ant-form-item-control{display:inline-block;width:150px} \ No newline at end of file +#userPower{height:calc(100vh - 83px);background:#fff}#userPower .ant-card-body{padding:0!important}#userPower .ant-table-empty{border-bottom:none}#userPower .leftBox{display:inline-block;vertical-align:top;width:20%;height:100%;border:1px solid #e8e8e8;background:#fff;overflow:auto}#userPower .leftBox .search-head{position:relative;height:57px;border-bottom:1px solid #e8e8e8;padding:12px 35px 0 12px}#userPower .leftBox .search-head>i{position:absolute;right:8px;top:18px;font-size:20px;color:#1890ff;cursor:pointer}#userPower .leftBox .companyItem{position:relative;padding:3px 10px 5px 20px;cursor:pointer}#userPower .leftBox .companyItem:hover{background:#f8f8f8}#userPower .leftBox .companyItem:hover .companyDelete,#userPower .leftBox .companyItem:hover .companyEdit{display:block}#userPower .leftBox .companyItem.active{background:#1890ff}#userPower .leftBox .companyItem.active p{color:#fff}#userPower .leftBox .companyItem.active .companyDelete,#userPower .leftBox .companyItem.active .companyEdit{color:#1890ff;background:#fff}#userPower .leftBox .companyItem.active .companyIcon{background:url(../assets/company2.33b66bf6.svg) no-repeat}#userPower .leftBox .companyItem p{margin-bottom:0;width:98%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#userPower .leftBox .companyItem p:first-child{font-size:16px;font-weight:600;margin-bottom:0}#userPower .leftBox .companyItem .companyDelete,#userPower .leftBox .companyItem .companyEdit{display:none;position:absolute;width:24px;height:24px;right:10px;top:18px;font-size:14px;color:#fff;cursor:pointer;text-align:center;line-height:26px;background:#1890ff;border-radius:50%}#userPower .leftBox .companyItem .companyDelete{top:55px}#userPower .leftBox .companyItem .companyIcon{display:inline-block;width:16px;height:16px;margin-right:5px;margin-bottom:-2px;background:url(../assets/company1.b48b661f.svg) no-repeat}#userPower .leftBox .companyItem:nth-child(6n){border-bottom:none;padding:5px 10px 3px 20px}#userPower .leftBox .ant-list-item-content{margin:0}#userPower .leftBox .ant-list-pagination{margin:14px 10px 15px 0}#userPower .leftBox .ant-spin-container{border-bottom:1px solid #e8e8e8;overflow:auto}#userPower .leftBox .ant-pagination-item:not(.ant-pagination-item-active){display:none}#userPower .rightBox{display:inline-block;width:80%;height:100%}#userPower .rightBox .ant-card-bordered{border-bottom:none;border-left:none}#userPower .rightBox .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userPower .rightBox .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userPower .rightBox .ant-table-body{overflow-y:auto!important}#userPower .ant-table-thead>tr>th{color:#000}#userPower .table-page-search-wrapper .ant-form-inline .ant-form-item,#userPower .table-page-search-wrapper .table-page-search-submitButtons{margin:5px 12px 5px 12px}#userPower .ant-form-item-label{width:75px}.wwx_userType,.wwx_userType:focus,.wwx_userType:hover{text-decoration:none}.wwx_userType li{color:#5f5f5f;line-height:30px;text-align:center}.wwx_userType li:hover{background:#e6f7ff}#userShow{height:calc(100vh - 83px);background:#fff}#userShow .ant-card-body{padding:0!important}#userShow .ant-card-bordered{border-bottom:none;border-left:none}#userShow .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userShow .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userShow .ant-table-body{overflow:auto!important}#userShow .ant-table-empty{border-bottom:none}#userShow .ant-table-thead>tr>th{color:#000}.wwx_addmodal .ant-modal-body{padding:10px 15px 5px 15px}.wwx_addmodal .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}.wwx_addmodal .ant-table-body{overflow:auto!important}#userAudit{height:calc(100vh - 83px);background:#fff}#userAudit .ant-card-body{padding:0!important}#userAudit .ant-card-bordered{border-bottom:none;border-left:none;border-top:none}#userAudit .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userAudit .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userAudit .ant-table-body{overflow:auto!important}#userAudit .ant-table-empty{border-bottom:none}#userAudit .ant-table-thead>tr>th{color:#000}.spstyle{width:160px;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-v-2e7764c0] .fangyu-form .ant-form-item label{display:inline-block;width:90px}[data-v-2e7764c0] .addform .ant-form-item label{display:inline-block;width:100px}[data-v-2e7764c0] .addform .ant-form-item{margin-left:270px}[data-v-2e7764c0] .add-cofig-form .ant-form-item label{display:inline-block;width:65px}[data-v-2e7764c0] .add-cofig-form .ant-form-item-control{display:inline-block;width:150px} \ No newline at end of file diff --git a/src/main/resources/nginx/defense/css/chunk-e38f8216.ae946b04.css b/src/main/resources/nginx/defense/css/chunk-e38f8216.ae946b04.css deleted file mode 100644 index 572b85a..0000000 --- a/src/main/resources/nginx/defense/css/chunk-e38f8216.ae946b04.css +++ /dev/null @@ -1 +0,0 @@ -#userPower{height:calc(100vh - 83px);background:#fff}#userPower .ant-card-body{padding:0!important}#userPower .ant-table-empty{border-bottom:none}#userPower .leftBox{display:inline-block;vertical-align:top;width:20%;height:100%;border:1px solid #e8e8e8;background:#fff;overflow:auto}#userPower .leftBox .search-head{position:relative;height:57px;border-bottom:1px solid #e8e8e8;padding:12px 35px 0 12px}#userPower .leftBox .search-head>i{position:absolute;right:8px;top:18px;font-size:20px;color:#1890ff;cursor:pointer}#userPower .leftBox .companyItem{position:relative;padding:3px 10px 5px 20px;cursor:pointer}#userPower .leftBox .companyItem:hover{background:#f8f8f8}#userPower .leftBox .companyItem:hover .companyDelete,#userPower .leftBox .companyItem:hover .companyEdit{display:block}#userPower .leftBox .companyItem.active{background:#1890ff}#userPower .leftBox .companyItem.active p{color:#fff}#userPower .leftBox .companyItem.active .companyDelete,#userPower .leftBox .companyItem.active .companyEdit{color:#1890ff;background:#fff}#userPower .leftBox .companyItem.active .companyIcon{background:url(../assets/company2.33b66bf6.svg) no-repeat}#userPower .leftBox .companyItem p{margin-bottom:0;width:98%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#userPower .leftBox .companyItem p:first-child{font-size:16px;font-weight:600;margin-bottom:0}#userPower .leftBox .companyItem .companyDelete,#userPower .leftBox .companyItem .companyEdit{display:none;position:absolute;width:24px;height:24px;right:10px;top:18px;font-size:14px;color:#fff;cursor:pointer;text-align:center;line-height:26px;background:#1890ff;border-radius:50%}#userPower .leftBox .companyItem .companyDelete{top:55px}#userPower .leftBox .companyItem .companyIcon{display:inline-block;width:16px;height:16px;margin-right:5px;margin-bottom:-2px;background:url(../assets/company1.b48b661f.svg) no-repeat}#userPower .leftBox .companyItem:nth-child(6n){border-bottom:none;padding:5px 10px 3px 20px}#userPower .leftBox .ant-list-item-content{margin:0}#userPower .leftBox .ant-list-pagination{margin:14px 10px 15px 0}#userPower .leftBox .ant-spin-container{border-bottom:1px solid #e8e8e8;overflow:auto}#userPower .leftBox .ant-pagination-item:not(.ant-pagination-item-active){display:none}#userPower .rightBox{display:inline-block;width:80%;height:100%}#userPower .rightBox .ant-card-bordered{border-bottom:none;border-left:none}#userPower .rightBox .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userPower .rightBox .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userPower .rightBox .ant-table-body{overflow-y:auto!important}#userPower .ant-table-thead>tr>th{color:#000}#userPower .table-page-search-wrapper .ant-form-inline .ant-form-item,#userPower .table-page-search-wrapper .table-page-search-submitButtons{margin:5px 12px 5px 12px}#userPower .ant-form-item-label{width:75px}.wwx_userType,.wwx_userType:focus,.wwx_userType:hover{text-decoration:none}.wwx_userType li{color:#5f5f5f;line-height:30px;text-align:center}.wwx_userType li:hover{background:#e6f7ff}#userShow{height:calc(100vh - 83px);background:#fff}#userShow .ant-card-body{padding:0!important}#userShow .ant-card-bordered{border-bottom:none;border-left:none}#userShow .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userShow .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userShow .ant-table-body{overflow:auto!important}#userShow .ant-table-empty{border-bottom:none}#userShow .ant-table-thead>tr>th{color:#000}.wwx_addmodal .ant-modal-body{padding:10px 15px 5px 15px}.wwx_addmodal .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}.wwx_addmodal .ant-table-body{overflow:auto!important}#userAudit{height:calc(100vh - 83px);background:#fff}#userAudit .ant-card-body{padding:0!important}#userAudit .ant-card-bordered{border-bottom:none;border-left:none;border-top:none}#userAudit .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userAudit .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userAudit .ant-table-body{overflow:auto!important}#userAudit .ant-table-empty{border-bottom:none}#userAudit .ant-table-thead>tr>th{color:#000}.spstyle{width:160px;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-v-1b090de3] .fangyu-form .ant-form-item label{display:inline-block;width:90px}[data-v-1b090de3] .addform .ant-form-item label{display:inline-block;width:100px}[data-v-1b090de3] .addform .ant-form-item{margin-left:190px}[data-v-1b090de3] .add-cofig-form .ant-form-item label{display:inline-block;width:65px}[data-v-1b090de3] .add-cofig-form .ant-form-item-control{display:inline-block;width:150px} \ No newline at end of file diff --git a/src/main/resources/nginx/defense/css/chunk-32db9202.0d3c934c.css b/src/main/resources/nginx/defense/css/chunk-ed0b5ca6.199a7381.css similarity index 97% rename from src/main/resources/nginx/defense/css/chunk-32db9202.0d3c934c.css rename to src/main/resources/nginx/defense/css/chunk-ed0b5ca6.199a7381.css index d0e212d..ecebe6d 100644 --- a/src/main/resources/nginx/defense/css/chunk-32db9202.0d3c934c.css +++ b/src/main/resources/nginx/defense/css/chunk-ed0b5ca6.199a7381.css @@ -1 +1 @@ -#userPower{height:calc(100vh - 83px);background:#fff}#userPower .ant-card-body{padding:0!important}#userPower .ant-table-empty{border-bottom:none}#userPower .leftBox{display:inline-block;vertical-align:top;width:20%;height:100%;border:1px solid #e8e8e8;background:#fff;overflow:auto}#userPower .leftBox .search-head{position:relative;height:57px;border-bottom:1px solid #e8e8e8;padding:12px 35px 0 12px}#userPower .leftBox .search-head>i{position:absolute;right:8px;top:18px;font-size:20px;color:#1890ff;cursor:pointer}#userPower .leftBox .companyItem{position:relative;padding:3px 10px 5px 20px;cursor:pointer}#userPower .leftBox .companyItem:hover{background:#f8f8f8}#userPower .leftBox .companyItem:hover .companyDelete,#userPower .leftBox .companyItem:hover .companyEdit{display:block}#userPower .leftBox .companyItem.active{background:#1890ff}#userPower .leftBox .companyItem.active p{color:#fff}#userPower .leftBox .companyItem.active .companyDelete,#userPower .leftBox .companyItem.active .companyEdit{color:#1890ff;background:#fff}#userPower .leftBox .companyItem.active .companyIcon{background:url(../assets/company2.33b66bf6.svg) no-repeat}#userPower .leftBox .companyItem p{margin-bottom:0;width:98%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#userPower .leftBox .companyItem p:first-child{font-size:16px;font-weight:600;margin-bottom:0}#userPower .leftBox .companyItem .companyDelete,#userPower .leftBox .companyItem .companyEdit{display:none;position:absolute;width:24px;height:24px;right:10px;top:18px;font-size:14px;color:#fff;cursor:pointer;text-align:center;line-height:26px;background:#1890ff;border-radius:50%}#userPower .leftBox .companyItem .companyDelete{top:55px}#userPower .leftBox .companyItem .companyIcon{display:inline-block;width:16px;height:16px;margin-right:5px;margin-bottom:-2px;background:url(../assets/company1.b48b661f.svg) no-repeat}#userPower .leftBox .companyItem:nth-child(6n){border-bottom:none;padding:5px 10px 3px 20px}#userPower .leftBox .ant-list-item-content{margin:0}#userPower .leftBox .ant-list-pagination{margin:14px 10px 15px 0}#userPower .leftBox .ant-spin-container{border-bottom:1px solid #e8e8e8;overflow:auto}#userPower .leftBox .ant-pagination-item:not(.ant-pagination-item-active){display:none}#userPower .rightBox{display:inline-block;width:80%;height:100%}#userPower .rightBox .ant-card-bordered{border-bottom:none;border-left:none}#userPower .rightBox .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userPower .rightBox .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userPower .rightBox .ant-table-body{overflow-y:auto!important}#userPower .ant-table-thead>tr>th{color:#000}#userPower .table-page-search-wrapper .ant-form-inline .ant-form-item,#userPower .table-page-search-wrapper .table-page-search-submitButtons{margin:5px 12px 5px 12px}#userPower .ant-form-item-label{width:75px}.wwx_userType,.wwx_userType:focus,.wwx_userType:hover{text-decoration:none}.wwx_userType li{color:#5f5f5f;line-height:30px;text-align:center}.wwx_userType li:hover{background:#e6f7ff}#userShow{height:calc(100vh - 83px);background:#fff}#userShow .ant-card-body{padding:0!important}#userShow .ant-card-bordered{border-bottom:none;border-left:none}#userShow .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userShow .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userShow .ant-table-body{overflow:auto!important}#userShow .ant-table-empty{border-bottom:none}#userShow .ant-table-thead>tr>th{color:#000}.wwx_addmodal .ant-modal-body{padding:10px 15px 5px 15px}.wwx_addmodal .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}.wwx_addmodal .ant-table-body{overflow:auto!important}#userAudit{height:calc(100vh - 83px);background:#fff}#userAudit .ant-card-body{padding:0!important}#userAudit .ant-card-bordered{border-bottom:none;border-left:none;border-top:none}#userAudit .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userAudit .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userAudit .ant-table-body{overflow:auto!important}#userAudit .ant-table-empty{border-bottom:none}#userAudit .ant-table-thead>tr>th{color:#000}.spstyle{width:160px;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-v-7ab90e50] .fangyu-form .ant-form-item label{display:inline-block;width:90px}[data-v-7ab90e50] .addform .ant-form-item label{display:inline-block;width:95px} \ No newline at end of file +#userPower{height:calc(100vh - 83px);background:#fff}#userPower .ant-card-body{padding:0!important}#userPower .ant-table-empty{border-bottom:none}#userPower .leftBox{display:inline-block;vertical-align:top;width:20%;height:100%;border:1px solid #e8e8e8;background:#fff;overflow:auto}#userPower .leftBox .search-head{position:relative;height:57px;border-bottom:1px solid #e8e8e8;padding:12px 35px 0 12px}#userPower .leftBox .search-head>i{position:absolute;right:8px;top:18px;font-size:20px;color:#1890ff;cursor:pointer}#userPower .leftBox .companyItem{position:relative;padding:3px 10px 5px 20px;cursor:pointer}#userPower .leftBox .companyItem:hover{background:#f8f8f8}#userPower .leftBox .companyItem:hover .companyDelete,#userPower .leftBox .companyItem:hover .companyEdit{display:block}#userPower .leftBox .companyItem.active{background:#1890ff}#userPower .leftBox .companyItem.active p{color:#fff}#userPower .leftBox .companyItem.active .companyDelete,#userPower .leftBox .companyItem.active .companyEdit{color:#1890ff;background:#fff}#userPower .leftBox .companyItem.active .companyIcon{background:url(../assets/company2.33b66bf6.svg) no-repeat}#userPower .leftBox .companyItem p{margin-bottom:0;width:98%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#userPower .leftBox .companyItem p:first-child{font-size:16px;font-weight:600;margin-bottom:0}#userPower .leftBox .companyItem .companyDelete,#userPower .leftBox .companyItem .companyEdit{display:none;position:absolute;width:24px;height:24px;right:10px;top:18px;font-size:14px;color:#fff;cursor:pointer;text-align:center;line-height:26px;background:#1890ff;border-radius:50%}#userPower .leftBox .companyItem .companyDelete{top:55px}#userPower .leftBox .companyItem .companyIcon{display:inline-block;width:16px;height:16px;margin-right:5px;margin-bottom:-2px;background:url(../assets/company1.b48b661f.svg) no-repeat}#userPower .leftBox .companyItem:nth-child(6n){border-bottom:none;padding:5px 10px 3px 20px}#userPower .leftBox .ant-list-item-content{margin:0}#userPower .leftBox .ant-list-pagination{margin:14px 10px 15px 0}#userPower .leftBox .ant-spin-container{border-bottom:1px solid #e8e8e8;overflow:auto}#userPower .leftBox .ant-pagination-item:not(.ant-pagination-item-active){display:none}#userPower .rightBox{display:inline-block;width:80%;height:100%}#userPower .rightBox .ant-card-bordered{border-bottom:none;border-left:none}#userPower .rightBox .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userPower .rightBox .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userPower .rightBox .ant-table-body{overflow-y:auto!important}#userPower .ant-table-thead>tr>th{color:#000}#userPower .table-page-search-wrapper .ant-form-inline .ant-form-item,#userPower .table-page-search-wrapper .table-page-search-submitButtons{margin:5px 12px 5px 12px}#userPower .ant-form-item-label{width:75px}.wwx_userType,.wwx_userType:focus,.wwx_userType:hover{text-decoration:none}.wwx_userType li{color:#5f5f5f;line-height:30px;text-align:center}.wwx_userType li:hover{background:#e6f7ff}#userShow{height:calc(100vh - 83px);background:#fff}#userShow .ant-card-body{padding:0!important}#userShow .ant-card-bordered{border-bottom:none;border-left:none}#userShow .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userShow .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userShow .ant-table-body{overflow:auto!important}#userShow .ant-table-empty{border-bottom:none}#userShow .ant-table-thead>tr>th{color:#000}.wwx_addmodal .ant-modal-body{padding:10px 15px 5px 15px}.wwx_addmodal .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}.wwx_addmodal .ant-table-body{overflow:auto!important}#userAudit{height:calc(100vh - 83px);background:#fff}#userAudit .ant-card-body{padding:0!important}#userAudit .ant-card-bordered{border-bottom:none;border-left:none;border-top:none}#userAudit .table-page-search-wrapper .ant-form-inline>div>div{padding-left:14px!important;padding-right:14px!important}#userAudit .ant-table-fixed-header .ant-table-scroll .ant-table-header{overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important}#userAudit .ant-table-body{overflow:auto!important}#userAudit .ant-table-empty{border-bottom:none}#userAudit .ant-table-thead>tr>th{color:#000}.spstyle{width:160px;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-v-7fed68d0] .fangyu-form .ant-form-item label{display:inline-block;width:90px}[data-v-7fed68d0] .addform .ant-form-item label{display:inline-block;width:95px} \ No newline at end of file diff --git a/src/main/resources/nginx/defense/index.html b/src/main/resources/nginx/defense/index.html index 8d636f4..cb84c46 100644 --- a/src/main/resources/nginx/defense/index.html +++ b/src/main/resources/nginx/defense/index.html @@ -1 +1,136 @@ -