diff --git a/.idea/checkstyle-idea.xml b/.idea/checkstyle-idea.xml index 0508403..c370431 100644 --- a/.idea/checkstyle-idea.xml +++ b/.idea/checkstyle-idea.xml @@ -4,6 +4,8 @@ 10.5.0 JavaOnly true + + (bundled) diff --git a/kqapi/target/kqapi.jar b/kqapi/target/kqapi.jar new file mode 100644 index 0000000..1a62315 Binary files /dev/null and b/kqapi/target/kqapi.jar differ diff --git a/kqapi/target/kqapi.jar.original b/kqapi/target/kqapi.jar.original new file mode 100644 index 0000000..aa587bc Binary files /dev/null and b/kqapi/target/kqapi.jar.original differ diff --git a/kqapi/target/maven-archiver/pom.properties b/kqapi/target/maven-archiver/pom.properties new file mode 100644 index 0000000..d33a6ff --- /dev/null +++ b/kqapi/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Sun Apr 07 20:35:57 CST 2024 +version=1.0.0 +groupId=com.ningdatech +artifactId=kqapi diff --git a/kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst index 33d2556..676a78b 100644 --- a/kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +++ b/kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -53,9 +53,9 @@ com\ningdatech\kqapi\common\constant\ProjectDeclareConst.class com\ningdatech\kqapi\common\util\NdJacksonModule.class com\ningdatech\kqapi\zzsfw\controller\NdKqZzsfwMenuController.class com\ningdatech\kqapi\scheduler\utils\DateUtil.class -com\ningdatech\kqapi\sso\model\dto\ReqTokenDTO.class com\ningdatech\kqapi\common\converter\String2LocalTimeConverter.class com\ningdatech\kqapi\scheduler\task\CheckMattersUrlTask.class +com\ningdatech\kqapi\sso\model\dto\ReqSsoDTO.class com\ningdatech\kqapi\zzsfw\entity\vo\MattersVO.class com\ningdatech\kqapi\common\util\RefreshKeyUtil.class com\ningdatech\kqapi\scheduler\controller\TaskController.class @@ -90,6 +90,7 @@ com\ningdatech\kqapi\zzsfw\entity\entity\DscSxAdsShareItemQltQlsxCommonIDVKq.cla com\ningdatech\kqapi\common\enumeration\ProjectProcessStageEnum.class com\ningdatech\kqapi\common\config\BeanConfig.class com\ningdatech\kqapi\common\util\SpringUtils$SpringUtilsHolder.class +com\ningdatech\kqapi\sso\model\vo\SsoUserInfoVO.class com\ningdatech\kqapi\common\constant\ProjectDeclareConst$BasicInformation.class com\ningdatech\kqapi\scheduler\model\CommonLog.class com\ningdatech\kqapi\common\model\entity\Item.class diff --git a/kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst index 846075c..dd4b1c5 100644 --- a/kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ b/kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -5,6 +5,8 @@ D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqa D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\App.java D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\common\constant\BizConst.java D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\common\exception\BaseCheckedException.java +D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\sso\model\dto\ReqSsoDTO.java +D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\sso\model\vo\SsoUserInfoVO.java D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\zzsfw\service\impl\ComponentsMatterEliminateServiceImpl.java D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\zzsfw\service\INdKqZzsfwMatterDeduplicateService.java D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\zzsfw\service\ComponentsMatterEliminateService.java @@ -81,7 +83,6 @@ D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqa D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\zzsfw\entity\vo\MatterTopVO.java D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\common\exception\ExportException.java D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\scheduler\task\RemoveMattersTask.java -D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\sso\model\dto\ReqTokenDTO.java D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\common\constant\DefValConst.java D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\scheduler\model\CommonLog.java D:\work\zengzhishi\kq-value-added-project\kqapi\src\main\java\com\ningdatech\kqapi\common\model\ApiStatus.java diff --git a/kqapi/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/kqapi/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000..9e724a3 --- /dev/null +++ b/kqapi/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst @@ -0,0 +1,6 @@ +com\ningdatech\kqapi\menu\MenuTest.class +com\ningdatech\kqapi\AppTests.class +com\ningdatech\kqapi\menu\ExcelSplitMergedCells.class +com\ningdatech\kqapi\menu\PolicyTest.class +com\ningdatech\kqapi\menu\ExcelSplitMergedCells$1.class +com\ningdatech\kqapi\menu\DuplicationTest.class diff --git a/kqapi/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/kqapi/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000..3bd3e8e --- /dev/null +++ b/kqapi/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -0,0 +1,5 @@ +D:\work\zengzhishi\kq-value-added-project\kqapi\src\test\java\com\ningdatech\kqapi\menu\PolicyTest.java +D:\work\zengzhishi\kq-value-added-project\kqapi\src\test\java\com\ningdatech\kqapi\menu\ExcelSplitMergedCells.java +D:\work\zengzhishi\kq-value-added-project\kqapi\src\test\java\com\ningdatech\kqapi\menu\MenuTest.java +D:\work\zengzhishi\kq-value-added-project\kqapi\src\test\java\com\ningdatech\kqapi\AppTests.java +D:\work\zengzhishi\kq-value-added-project\kqapi\src\test\java\com\ningdatech\kqapi\menu\DuplicationTest.java diff --git a/kqapi/target/test-classes/application-dev.yml b/kqapi/target/test-classes/application-dev.yml new file mode 100644 index 0000000..0bb9896 --- /dev/null +++ b/kqapi/target/test-classes/application-dev.yml @@ -0,0 +1,123 @@ +server: + port: 33060 + servlet: + context-path: /kq + +spring: + mvc: + pathmatch: + matching-strategy: ant_path_matcher + session: + store-type: redis + redis: + namespace: "spring:session" + timeout: 864000 + redis: + timeout: 5000 + host: 47.98.125.47 + port: 26379 + database: 7 + password: Ndkj1234 + jedis: + pool: + max-active: 200 + max-idle: 500 + min-idle: 8 + max-wait: 10000 + application: + name: kq + jackson: + default-property-inclusion: non_null + time-zone: GMT+8 + date-format: yyyy-MM-dd HH:mm:ss + jpa: + properties: + hibernate: + default_schema: PUBLIC + hbm2ddl: + auto: update + show_sql: true + show-sql: true + hibernate: + ddl-auto: update + datasource: + type: com.zaxxer.hikari.HikariDataSource + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://47.98.125.47:3306/kqzzsfw?serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowPublicKeyRetrieval=true&useSSL=false + username: root + password: NingdaKeji123! + # 数据源 + hikari: + # 是客户端等待连接池连接的最大毫秒数 + connection-timeout: 30000 + # 是允许连接在连接池中空闲的最长时间 + minimum-idle: 5 + # 配置最大池大小 + maximum-pool-size: 300 + # 是允许连接在连接池中空闲的最长时间(以毫秒为单位) + idle-timeout: 60000 + # 池中连接关闭后的最长生命周期(以毫秒为单位) + max-lifetime: 600000 + # 配置从池返回的连接的默认自动提交行为。默认值为true。 + auto-commit: true + # 开启连接监测泄露 + leak-detection-threshold: 10000 + # 测试连接数据库 + connection-test-query: SELECT 1 + #设置上传 单个文件的大小 + servlet: + multipart: + max-file-size: 100MB + max-request-size: 150MB +mybatis-plus: + configuration: + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + global-config: + db-config: + logic-delete-value: true + logic-not-delete-value: false +logging: + config: classpath:logback-spring.xml + #日志配置 + level: + root: info + file: + path: logs +nd: + cache: + type: REDIS + serializerType: ProtoStuff + cacheNullVal: true + def: + keyPrefix: kq + log: + enabled: true + type: DB + # 文件存储 + file: + storage-type: ALI_OSS + ali: + protocol: https:// + bucket: devplat + urlPrefix: oss-cn-hangzhou.aliyuncs.com + endpoint: oss-cn-hangzhou.aliyuncs.com + accessKeyId: LTAI4GL7uypycnBjiRn55rMG + accessKeySecret: qwYC7bW9bkStsko7qkLVnToAzj0Y98 +# 日志文件配置 +log: + path: ./logs + info: + file-size: 50MB + max-size: 5 + total-size: 200MB + error: + file-size: 10MB + max-size: 5 + total-size: 50MB + +swagger: + enabled: true + +hostname: iZbp13nwyvib53j4j1p2xoZ + + diff --git a/kqapi/target/test-classes/application-pre.yml b/kqapi/target/test-classes/application-pre.yml new file mode 100644 index 0000000..908d625 --- /dev/null +++ b/kqapi/target/test-classes/application-pre.yml @@ -0,0 +1,121 @@ +server: + port: 33060 + servlet: + context-path: /kq + +spring: + mvc: + pathmatch: + matching-strategy: ant_path_matcher + session: + store-type: redis + redis: + namespace: "spring:session" + timeout: 864000 + redis: + timeout: 5000 + host: 47.98.125.47 + port: 26379 + database: 7 + password: Ndkj1234 + jedis: + pool: + max-active: 200 + max-idle: 500 + min-idle: 8 + max-wait: 10000 + application: + name: kq + jackson: + default-property-inclusion: non_null + time-zone: GMT+8 + date-format: yyyy-MM-dd HH:mm:ss + jpa: + properties: + hibernate: + default_schema: PUBLIC + hbm2ddl: + auto: update + show_sql: true + show-sql: true + hibernate: + ddl-auto: update + datasource: + type: com.zaxxer.hikari.HikariDataSource + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://47.98.125.47:3306/kqzzsfw?serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowPublicKeyRetrieval=true&useSSL=false + username: root + password: NingdaKeji123! + # 数据源 + hikari: + # 是客户端等待连接池连接的最大毫秒数 + connection-timeout: 30000 + # 是允许连接在连接池中空闲的最长时间 + minimum-idle: 5 + # 配置最大池大小 + maximum-pool-size: 300 + # 是允许连接在连接池中空闲的最长时间(以毫秒为单位) + idle-timeout: 60000 + # 池中连接关闭后的最长生命周期(以毫秒为单位) + max-lifetime: 600000 + # 配置从池返回的连接的默认自动提交行为。默认值为true。 + auto-commit: true + # 开启连接监测泄露 + leak-detection-threshold: 5000 + # 测试连接数据库 + connection-test-query: SELECT 1 + #设置上传 单个文件的大小 + servlet: + multipart: + max-file-size: 100MB + max-request-size: 150MB +mybatis-plus: + configuration: + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + global-config: + db-config: + logic-delete-value: true + logic-not-delete-value: false +logging: + config: classpath:logback-spring.xml + #日志配置 + level: + root: info + file: + path: logs +nd: + cache: + type: REDIS + serializerType: ProtoStuff + cacheNullVal: true + def: + keyPrefix: kq + log: + enabled: true + type: DB + # 文件存储 + file: + storage-type: ALI_OSS + ali: + protocol: https:// + bucket: devplat + urlPrefix: oss-cn-hangzhou.aliyuncs.com + endpoint: oss-cn-hangzhou.aliyuncs.com + accessKeyId: LTAI4GL7uypycnBjiRn55rMG + accessKeySecret: qwYC7bW9bkStsko7qkLVnToAzj0Y98 +# 日志文件配置 +log: + path: ./logs + info: + file-size: 50MB + max-size: 5 + total-size: 200MB + error: + file-size: 10MB + max-size: 5 + total-size: 50MB + +swagger: + enabled: true + +hostname: iZbp13nwyvib53j4j1p2xoZ \ No newline at end of file diff --git a/kqapi/target/test-classes/application-prod.yml b/kqapi/target/test-classes/application-prod.yml new file mode 100644 index 0000000..68d6de2 --- /dev/null +++ b/kqapi/target/test-classes/application-prod.yml @@ -0,0 +1,123 @@ +server: + port: 33060 + servlet: + context-path: /kq + +spring: + mvc: + pathmatch: + matching-strategy: ant_path_matcher + session: + store-type: redis + redis: + namespace: "spring:session" + timeout: 864000 + redis: + timeout: 5000 + host: 47.98.125.47 + port: 26379 + database: 7 + password: Ndkj1234 + jedis: + pool: + max-active: 200 + max-idle: 500 + min-idle: 8 + max-wait: 10000 + application: + name: kq + jackson: + default-property-inclusion: non_null + time-zone: GMT+8 + date-format: yyyy-MM-dd HH:mm:ss + jpa: + properties: + hibernate: + default_schema: PUBLIC + hbm2ddl: + auto: update + show_sql: true + show-sql: true + hibernate: + ddl-auto: update + datasource: + type: com.zaxxer.hikari.HikariDataSource + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://10.42.248.27:3306/kqzzsfw?serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowPublicKeyRetrieval=true&useSSL=false + username: root + password: Nd@20231116 + # 数据源 + hikari: + # 是客户端等待连接池连接的最大毫秒数 + connection-timeout: 30000 + # 是允许连接在连接池中空闲的最长时间 + minimum-idle: 5 + # 配置最大池大小 + maximum-pool-size: 300 + # 是允许连接在连接池中空闲的最长时间(以毫秒为单位) + idle-timeout: 60000 + # 池中连接关闭后的最长生命周期(以毫秒为单位) + max-lifetime: 600000 + # 配置从池返回的连接的默认自动提交行为。默认值为true。 + auto-commit: true + # 开启连接监测泄露 + leak-detection-threshold: 500000 + # 测试连接数据库 + connection-test-query: SELECT 1 + #设置上传 单个文件的大小 + servlet: + multipart: + max-file-size: 100MB + max-request-size: 150MB +mybatis-plus: + configuration: + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + global-config: + db-config: + logic-delete-value: true + logic-not-delete-value: false +logging: + config: classpath:logback-spring.xml + #日志配置 + level: + root: info + file: + path: logs +nd: + cache: + type: REDIS + serializerType: ProtoStuff + cacheNullVal: true + def: + keyPrefix: kq + log: + enabled: true + type: DB + # 文件存储 + file: + storage-type: ALI_OSS + ali: + protocol: https:// + bucket: devplat + urlPrefix: oss-cn-hangzhou.aliyuncs.com + endpoint: oss-cn-hangzhou.aliyuncs.com + accessKeyId: LTAI4GL7uypycnBjiRn55rMG + accessKeySecret: qwYC7bW9bkStsko7qkLVnToAzj0Y98 +# 日志文件配置 +log: + path: ./logs + info: + file-size: 50MB + max-size: 5 + total-size: 200MB + error: + file-size: 10MB + max-size: 5 + total-size: 50MB + +swagger: + enabled: true + +hostname: iZut201mqskxt0mwme4tjfZ + + diff --git a/kqapi/target/test-classes/application.yml b/kqapi/target/test-classes/application.yml new file mode 100644 index 0000000..9f96606 --- /dev/null +++ b/kqapi/target/test-classes/application.yml @@ -0,0 +1,3 @@ +spring: + profiles: + active: prod diff --git a/kqapi/target/test-classes/com/ningdatech/kqapi/AppTests.class b/kqapi/target/test-classes/com/ningdatech/kqapi/AppTests.class new file mode 100644 index 0000000..97e1d56 Binary files /dev/null and b/kqapi/target/test-classes/com/ningdatech/kqapi/AppTests.class differ diff --git a/kqapi/target/test-classes/com/ningdatech/kqapi/menu/DuplicationTest.class b/kqapi/target/test-classes/com/ningdatech/kqapi/menu/DuplicationTest.class new file mode 100644 index 0000000..6b5b0cd Binary files /dev/null and b/kqapi/target/test-classes/com/ningdatech/kqapi/menu/DuplicationTest.class differ diff --git a/kqapi/target/test-classes/com/ningdatech/kqapi/menu/ExcelSplitMergedCells$1.class b/kqapi/target/test-classes/com/ningdatech/kqapi/menu/ExcelSplitMergedCells$1.class new file mode 100644 index 0000000..4d057e1 Binary files /dev/null and b/kqapi/target/test-classes/com/ningdatech/kqapi/menu/ExcelSplitMergedCells$1.class differ diff --git a/kqapi/target/test-classes/com/ningdatech/kqapi/menu/ExcelSplitMergedCells.class b/kqapi/target/test-classes/com/ningdatech/kqapi/menu/ExcelSplitMergedCells.class new file mode 100644 index 0000000..5819574 Binary files /dev/null and b/kqapi/target/test-classes/com/ningdatech/kqapi/menu/ExcelSplitMergedCells.class differ diff --git a/kqapi/target/test-classes/com/ningdatech/kqapi/menu/MenuTest.class b/kqapi/target/test-classes/com/ningdatech/kqapi/menu/MenuTest.class new file mode 100644 index 0000000..d54bc37 Binary files /dev/null and b/kqapi/target/test-classes/com/ningdatech/kqapi/menu/MenuTest.class differ diff --git a/kqapi/target/test-classes/com/ningdatech/kqapi/menu/PolicyTest.class b/kqapi/target/test-classes/com/ningdatech/kqapi/menu/PolicyTest.class new file mode 100644 index 0000000..e5d4b6c Binary files /dev/null and b/kqapi/target/test-classes/com/ningdatech/kqapi/menu/PolicyTest.class differ diff --git a/kqapi/target/test-classes/integration/zwdd-dev.yml b/kqapi/target/test-classes/integration/zwdd-dev.yml new file mode 100644 index 0000000..cc28814 --- /dev/null +++ b/kqapi/target/test-classes/integration/zwdd-dev.yml @@ -0,0 +1,12 @@ +#专有钉钉 +integration: + zwdd: + #扫码 + app-auth-key: ls-rebuild_dingoa-rgeWs3YVr26z + app-auth-secret: 37qCe6ylNMW0N8K2741z0c2b9vJP2gtuMRQQtZ9P + #免登/获取信息 + app-key: ls_rebuild-10c8n5X0707yFV7jURr + app-secret: gN8J3WazyXLMWKDuFmx6C4yaH5lFUY41x8rYLLo6 + #专有钉钉在开发管理工作台,右键查看网页源码realmId: '31141',浙政钉固定196729 + tenantId: 31141 + domain: openplatform.dg-work.cn \ No newline at end of file diff --git a/kqapi/target/test-classes/integration/zwdd-prod.yml b/kqapi/target/test-classes/integration/zwdd-prod.yml new file mode 100644 index 0000000..6b30e1b --- /dev/null +++ b/kqapi/target/test-classes/integration/zwdd-prod.yml @@ -0,0 +1,12 @@ +#浙政钉 +integration: + zwdd: + #扫码 + app-auth-key: ls_project_managment_din-b1Y3I1g7Rr94yX76KfFkpp18Uy4WHtU0b6rINJ3 + app-auth-secret: 75e8PMHv984KYF0Mcy6v4pxt480y73dbD7kB65dD + #免登/获取信息 + app-key: ls_project-c32LNu87v60UiANZVja + app-secret: R14QgbBr21751LTGml3Vt8oX9doPl4Lk1ROzZNfG + #专有钉钉在开发管理工作台,右键查看网页源码realmId: '31141',浙政钉固定196729 + tenantId: 196729 + domain: openplatform-pro.ding.zj.gov.cn \ No newline at end of file diff --git a/kqapi/target/test-classes/logback-spring.xml b/kqapi/target/test-classes/logback-spring.xml new file mode 100644 index 0000000..75f5472 --- /dev/null +++ b/kqapi/target/test-classes/logback-spring.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + ${logPath}/info.log + + ${logPath}/info-%d{yyyyMMdd}-%i.log + + ${infoFileSize} + + ${infoMaxSize} + ${infoTotalSize} + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} -%msg%n + + + UTF-8 + + + + + + ERROR + + ${logPath}/error.log + + ${logPath}/error-%d{yyyyMMdd}-%i.log + + ${errorFileSize} + + ${errorMaxSize} + ${errorTotalSize} + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} -%msg%n + + + UTF-8 + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} -%msg%n + + UTF-8 + + + DEBUG + + + + + + + + + diff --git a/kqapi/target/test-classes/security/auth-dev.yml b/kqapi/target/test-classes/security/auth-dev.yml new file mode 100644 index 0000000..53ec385 --- /dev/null +++ b/kqapi/target/test-classes/security/auth-dev.yml @@ -0,0 +1,68 @@ +security: + auth: + auth-require-url: /api/v1/user/auth/auth-require + invalid-session-url: /api/v1/user/auth/invalid-session + password-login-url: /api/v1/user/auth/login + agent-login-url: /api/v1/user/auth/agent-login + logout-url: /api/v1/user/auth/logout + common-login-url: /api/v1/user/auth/common-login + ignore-auth-urls: + - /v2/api-docs + - /swagger-ui.html + - /webjars/** + - /swagger-resources/** + - /webjars/ + - /api/v1/user/auth/register + - /api/v1/user/auth/auth-require + - /api/v1/user/auth/invalid-session + - /api/v1/user/auth/login/password + - /api/v1/user/auth/forget-password + - /api/v1/user/auth/common-login + - /doc.html + - /ok.html + - /open/api/** + - /oa/** + - /wflow/** + - /sys/** + - /api/v1/verification/** + - /api/v1/expert/registration + - /api/v1/meta/dictionary/list + - /api/v1/meta/tag + - /api/v1/organization/tree-list + - /api/v1/organization/get-child-list + - /api/v1/region/tree + ignore-csrf-urls: + - /api/v1/user/auth/** + - /v2/api-docs + - /swagger-ui.html + - /webjars/** + - /swagger-resources/** + - /webjars/ + - /doc.html + - /ok.html + - /api/v1/** + - /file/** + - /optLog/** + - /dict/** + - /oa/** + - /wflow/** + - /sys/** + - /api/v1/verification/** + - /api/v1/expert/registration + - /api/v1/meta/dictionary/list + - /api/v1/meta/tag + - /api/v1/organization/tree-list + - /api/v1/organization/get-child-list + - /api/v1/region/tree + role-map: + "engineer": + "project_manager": + - /api/v1/user-info/kick-off/** + "enterprise_admin": + "regional_general_manager": + "driver": + "super_admin": + - /api/v1/user-info/save + - /api/v1/user-info/del + - /api/v1/user-info/kick-off/** + - /api/v1/user-info/password/mod \ No newline at end of file diff --git a/kqapi/target/test-classes/security/auth-prod.yml b/kqapi/target/test-classes/security/auth-prod.yml new file mode 100644 index 0000000..53ec385 --- /dev/null +++ b/kqapi/target/test-classes/security/auth-prod.yml @@ -0,0 +1,68 @@ +security: + auth: + auth-require-url: /api/v1/user/auth/auth-require + invalid-session-url: /api/v1/user/auth/invalid-session + password-login-url: /api/v1/user/auth/login + agent-login-url: /api/v1/user/auth/agent-login + logout-url: /api/v1/user/auth/logout + common-login-url: /api/v1/user/auth/common-login + ignore-auth-urls: + - /v2/api-docs + - /swagger-ui.html + - /webjars/** + - /swagger-resources/** + - /webjars/ + - /api/v1/user/auth/register + - /api/v1/user/auth/auth-require + - /api/v1/user/auth/invalid-session + - /api/v1/user/auth/login/password + - /api/v1/user/auth/forget-password + - /api/v1/user/auth/common-login + - /doc.html + - /ok.html + - /open/api/** + - /oa/** + - /wflow/** + - /sys/** + - /api/v1/verification/** + - /api/v1/expert/registration + - /api/v1/meta/dictionary/list + - /api/v1/meta/tag + - /api/v1/organization/tree-list + - /api/v1/organization/get-child-list + - /api/v1/region/tree + ignore-csrf-urls: + - /api/v1/user/auth/** + - /v2/api-docs + - /swagger-ui.html + - /webjars/** + - /swagger-resources/** + - /webjars/ + - /doc.html + - /ok.html + - /api/v1/** + - /file/** + - /optLog/** + - /dict/** + - /oa/** + - /wflow/** + - /sys/** + - /api/v1/verification/** + - /api/v1/expert/registration + - /api/v1/meta/dictionary/list + - /api/v1/meta/tag + - /api/v1/organization/tree-list + - /api/v1/organization/get-child-list + - /api/v1/region/tree + role-map: + "engineer": + "project_manager": + - /api/v1/user-info/kick-off/** + "enterprise_admin": + "regional_general_manager": + "driver": + "super_admin": + - /api/v1/user-info/save + - /api/v1/user-info/del + - /api/v1/user-info/kick-off/** + - /api/v1/user-info/password/mod \ No newline at end of file diff --git a/kqapi/target/test-classes/wsdl-prod.xml b/kqapi/target/test-classes/wsdl-prod.xml new file mode 100644 index 0000000..0302851 --- /dev/null +++ b/kqapi/target/test-classes/wsdl-prod.xml @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/kqapi/target/test-classes/wsdl.xml b/kqapi/target/test-classes/wsdl.xml new file mode 100644 index 0000000..eed87a7 --- /dev/null +++ b/kqapi/target/test-classes/wsdl.xml @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/logs/info.log b/logs/info.log index 70625e7..92543bb 100644 --- a/logs/info.log +++ b/logs/info.log @@ -2946,3 +2946,9 @@ org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 Unauth 2024-04-07 20:26:35.680 [http-nio-33061-exec-1] INFO c.n.kqapi.sso.utils.HmacAuthUtil -params,urlStr=https://ibcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000008/uc/sso/getUserInfo,requestMethod=POST,accessKey=BCDSGA_c2494577610c90bdc33b95514601da2c,secretKey=BCDSGS_80bf0a606c0d2fd3201bd06a4f008250 2024-04-07 20:26:35.699 [http-nio-33061-exec-1] INFO c.n.kqapi.sso.utils.HmacAuthUtil -header info,{X-BG-HMAC-SIGNATURE=lvZmLpM/eQ6dj1xxWHMC2N3OieYT2LX8FgLZ7ZbTZJE=, X-BG-HMAC-ACCESS-KEY=BCDSGA_c2494577610c90bdc33b95514601da2c, X-BG-HMAC-ALGORITHM=hmac-sha256, X-BG-DATE-TIME=Sun, 07 Apr 2024 12:26:35 GMT} 2024-04-07 20:26:53.770 [http-nio-33061-exec-1] INFO c.n.kqapi.sso.manage.SsoManage -[RestTemplateTest-基于token获取用户信息] http request :SsoUserInfoVO(errorCode=null, errorMsg=null, success=true, data={userId=8a1189bc867469cb0186874b243128b3, innerUserId=7b2600f1fabd40daa45bf78421745640, userType=PERSON, personInfo={userId=8a1189bc867469cb0186874b243128b3, userName=常明明, idType=ID_CARD, idNo=41102319951003401X, phone=13290752671, email=, idnumstarttime=20200616, idnumendtime=20300616, attributes={birthday=, country=156, aliuserid=2088612178919031, officeaddress=, city=, taiwanlicense=, headpicture=, createdate=2023-02-25 14:38:14, isbindqa=0, outUserId=8a1189bc867469cb0186874b243128b3, type=1, officefax=, regtype=5, isbindalipay=1, useable=1, passport=, province=, permitlicense=, authlevel=3, nickname=, highauth=人脸识别, officerlicense=, cakey=, loginname=zjzw88628687_1, iswangge=2, mobile=13290752671, postcode=, greencard=, headStatus=2, activegbaccount=1, issiteauth=2, officephone=}, userNameEnc=*明明, idNoEnc=4****************X, phoneEnc=132****2671, emailEnc=}, attributes={midFlag=0, infoIncomplete=false, netIdLoginFlag=0}}, userType=null, personInfo=null, userId=null, userName=null, idType=null, outerIdType=null, idNo=null, attnUserType=null, phone=null, email=null, nation=null, gender=null, birthday=null, certKey=null, attributes=null, legalPersonInfo=null, name=null, unifiedSocialId=null, orgType=null, attnName=null, attnPhone=null, attnIdType=null, attnIdNo=null, principal=null, principalUserId=null, corpId=null, organizationInfoList=null, orgId=null, oid=null, parentId=null, pid=null, fullName=null, devCoding=null, leafFlag=null, orderBy=null) +2024-04-07 20:34:43.676 [File Watcher] INFO o.s.b.d.a.LocalDevToolsAutoConfiguration$RestartingClassPathChangeChangedEventListener -Restarting due to 146 class path changes (0 additions, 146 deletions, 0 modifications) +2024-04-07 20:34:44.613 [Thread-11] INFO o.a.coyote.http11.Http11NioProtocol -Pausing ProtocolHandler ["http-nio-33061"] +2024-04-07 20:34:44.613 [Thread-11] INFO o.a.catalina.core.StandardService -Stopping service [Tomcat] +2024-04-07 20:34:44.614 [Thread-11] INFO o.a.c.c.C.[Tomcat].[localhost].[/kq] -Destroying Spring FrameworkServlet 'dispatcherServlet' +2024-04-07 20:34:44.617 [Thread-11] INFO o.a.coyote.http11.Http11NioProtocol -Stopping ProtocolHandler ["http-nio-33061"] +2024-04-07 20:34:44.619 [Thread-11] INFO o.a.coyote.http11.Http11NioProtocol -Destroying ProtocolHandler ["http-nio-33061"] diff --git a/ningda-generator/target/maven-archiver/pom.properties b/ningda-generator/target/maven-archiver/pom.properties new file mode 100644 index 0000000..0e34101 --- /dev/null +++ b/ningda-generator/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Sun Apr 07 20:35:58 CST 2024 +version=1.0.0 +groupId=com.ningdatech +artifactId=ningda-generator diff --git a/ningda-generator/target/ningda-generator-1.0.0.jar b/ningda-generator/target/ningda-generator-1.0.0.jar new file mode 100644 index 0000000..7f8aeef Binary files /dev/null and b/ningda-generator/target/ningda-generator-1.0.0.jar differ