Bladeren bron

单点登录接口

master
CMM 7 maanden geleden
bovenliggende
commit
834fd9eca6
28 gewijzigde bestanden met toevoegingen van 871 en 2 verwijderingen
  1. +2
    -0
      .idea/checkstyle-idea.xml
  2. BIN
      kqapi/target/kqapi.jar
  3. BIN
      kqapi/target/kqapi.jar.original
  4. +5
    -0
      kqapi/target/maven-archiver/pom.properties
  5. +2
    -1
      kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
  6. +2
    -1
      kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
  7. +6
    -0
      kqapi/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
  8. +5
    -0
      kqapi/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
  9. +123
    -0
      kqapi/target/test-classes/application-dev.yml
  10. +121
    -0
      kqapi/target/test-classes/application-pre.yml
  11. +123
    -0
      kqapi/target/test-classes/application-prod.yml
  12. +3
    -0
      kqapi/target/test-classes/application.yml
  13. BIN
      kqapi/target/test-classes/com/ningdatech/kqapi/AppTests.class
  14. BIN
      kqapi/target/test-classes/com/ningdatech/kqapi/menu/DuplicationTest.class
  15. BIN
      kqapi/target/test-classes/com/ningdatech/kqapi/menu/ExcelSplitMergedCells$1.class
  16. BIN
      kqapi/target/test-classes/com/ningdatech/kqapi/menu/ExcelSplitMergedCells.class
  17. BIN
      kqapi/target/test-classes/com/ningdatech/kqapi/menu/MenuTest.class
  18. BIN
      kqapi/target/test-classes/com/ningdatech/kqapi/menu/PolicyTest.class
  19. +12
    -0
      kqapi/target/test-classes/integration/zwdd-dev.yml
  20. +12
    -0
      kqapi/target/test-classes/integration/zwdd-prod.yml
  21. +68
    -0
      kqapi/target/test-classes/logback-spring.xml
  22. +68
    -0
      kqapi/target/test-classes/security/auth-dev.yml
  23. +68
    -0
      kqapi/target/test-classes/security/auth-prod.yml
  24. +120
    -0
      kqapi/target/test-classes/wsdl-prod.xml
  25. +120
    -0
      kqapi/target/test-classes/wsdl.xml
  26. +6
    -0
      logs/info.log
  27. +5
    -0
      ningda-generator/target/maven-archiver/pom.properties
  28. BIN
      ningda-generator/target/ningda-generator-1.0.0.jar

+ 2
- 0
.idea/checkstyle-idea.xml Bestand weergeven

@@ -4,6 +4,8 @@
<checkstyleVersion>10.5.0</checkstyleVersion>
<scanScope>JavaOnly</scanScope>
<copyLibs>true</copyLibs>
<option name="thirdPartyClasspath" />
<option name="activeLocationIds" />
<option name="locations">
<list>
<ConfigurationLocation id="bundled-sun-checks" type="BUNDLED" scope="All" description="Sun Checks">(bundled)</ConfigurationLocation>


BIN
kqapi/target/kqapi.jar Bestand weergeven


BIN
kqapi/target/kqapi.jar.original Bestand weergeven


+ 5
- 0
kqapi/target/maven-archiver/pom.properties Bestand weergeven

@@ -0,0 +1,5 @@
#Generated by Maven
#Sun Apr 07 20:35:57 CST 2024
version=1.0.0
groupId=com.ningdatech
artifactId=kqapi

+ 2
- 1
kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst Bestand weergeven

@@ -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


+ 2
- 1
kqapi/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst Bestand weergeven

@@ -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


+ 6
- 0
kqapi/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst Bestand weergeven

@@ -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

+ 5
- 0
kqapi/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst Bestand weergeven

@@ -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

+ 123
- 0
kqapi/target/test-classes/application-dev.yml Bestand weergeven

@@ -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



+ 121
- 0
kqapi/target/test-classes/application-pre.yml Bestand weergeven

@@ -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

+ 123
- 0
kqapi/target/test-classes/application-prod.yml Bestand weergeven

@@ -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



+ 3
- 0
kqapi/target/test-classes/application.yml Bestand weergeven

@@ -0,0 +1,3 @@
spring:
profiles:
active: prod

BIN
kqapi/target/test-classes/com/ningdatech/kqapi/AppTests.class Bestand weergeven


BIN
kqapi/target/test-classes/com/ningdatech/kqapi/menu/DuplicationTest.class Bestand weergeven


BIN
kqapi/target/test-classes/com/ningdatech/kqapi/menu/ExcelSplitMergedCells$1.class Bestand weergeven


BIN
kqapi/target/test-classes/com/ningdatech/kqapi/menu/ExcelSplitMergedCells.class Bestand weergeven


BIN
kqapi/target/test-classes/com/ningdatech/kqapi/menu/MenuTest.class Bestand weergeven


BIN
kqapi/target/test-classes/com/ningdatech/kqapi/menu/PolicyTest.class Bestand weergeven


+ 12
- 0
kqapi/target/test-classes/integration/zwdd-dev.yml Bestand weergeven

@@ -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

+ 12
- 0
kqapi/target/test-classes/integration/zwdd-prod.yml Bestand weergeven

@@ -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

+ 68
- 0
kqapi/target/test-classes/logback-spring.xml Bestand weergeven

@@ -0,0 +1,68 @@
<configuration scan="true" scanPeriod="10 seconds">
<springProperty name="logPath" scope="context" source="log.path" defaultValue="./logs"/>
<springProperty name="infoFileSize" scope="context" source="log.info.file-size"/>
<springProperty name="infoMaxSize" scope="context" source="log.info.max-size"/>
<springProperty name="infoTotalSize" scope="context" source="log.info.total-size"/>
<springProperty name="errorFileSize" scope="context" source="log.error.file-size"/>
<springProperty name="errorMaxSize" scope="context" source="log.error.max-size"/>
<springProperty name="errorTotalSize" scope="context" source="log.error.total-size"/>

<appender name="INFO_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>${logPath}/info.log</File>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${logPath}/info-%d{yyyyMMdd}-%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>${infoFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>${infoMaxSize}</maxHistory>
<totalSizeCap>${infoTotalSize}</totalSizeCap>
</rollingPolicy>
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<layout class="ch.qos.logback.classic.PatternLayout">
<Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} -%msg%n
</Pattern>
</layout>
<charset>UTF-8</charset>
</encoder>
</appender>

<appender name="ERROR_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>ERROR</level>
</filter>
<File>${logPath}/error.log</File>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${logPath}/error-%d{yyyyMMdd}-%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>${errorFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>${errorMaxSize}</maxHistory>
<totalSizeCap>${errorTotalSize}</totalSizeCap>
</rollingPolicy>
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<layout class="ch.qos.logback.classic.PatternLayout">
<Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} -%msg%n
</Pattern>
</layout>
<charset>UTF-8</charset>
</encoder>
</appender>

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>
%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} -%msg%n
</pattern>
<charset>UTF-8</charset>
</encoder>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>DEBUG</level>
</filter>
</appender>

<root level="INFO">
<appender-ref ref="INFO_FILE"/>
<appender-ref ref="ERROR_FILE"/>
<appender-ref ref="STDOUT"/>
</root>
</configuration>

+ 68
- 0
kqapi/target/test-classes/security/auth-dev.yml Bestand weergeven

@@ -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

+ 68
- 0
kqapi/target/test-classes/security/auth-prod.yml Bestand weergeven

@@ -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

+ 120
- 0
kqapi/target/test-classes/wsdl-prod.xml Bestand weergeven

@@ -0,0 +1,120 @@
<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://impl.v1.ws.api.service.yxt.gooben.com/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns2="http://schemas.xmlsoap.org/soap/http" xmlns:ns1="http://v1.ws.api.service.yxt.gooben.com/" name="WsItfTask" targetNamespace="http://impl.v1.ws.api.service.yxt.gooben.com/">
<wsdl:import location="http://60.188.225.145:9501/ws/v1?wsdl=WsItfTask.wsdl" namespace="http://v1.ws.api.service.yxt.gooben.com/">
</wsdl:import>
<wsdl:binding name="WsItfTaskSoapBinding" type="ns1:WsItfTask">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getSentResultCall">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSentResultCall">
<soap:header message="ns1:getSentResultCall" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSentResultCallResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSubmitResult">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSubmitResult">
<soap:header message="ns1:getSubmitResult" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSubmitResultResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addFile">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="addFile">
<soap:header message="ns1:addFile" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="addFileResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="submitMCLZTask">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="submitMCLZTask">
<soap:header message="ns1:submitMCLZTask" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="submitMCLZTaskResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSentTaskResultCall">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSentTaskResultCall">
<soap:header message="ns1:getSentTaskResultCall" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSentTaskResultCallResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSentTaskResultSms">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSentTaskResultSms">
<soap:header message="ns1:getSentTaskResultSms" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSentTaskResultSmsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="submitTask">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="submitTask">
<soap:header message="ns1:submitTask" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="submitTaskResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSentResultSms">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSentResultSms">
<soap:header message="ns1:getSentResultSms" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSentResultSmsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="authorization">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="authorization">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="authorizationResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSmsReceive">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSmsReceive">
<soap:header message="ns1:getSmsReceive" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSmsReceiveResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WsItfTask">
<wsdl:port binding="tns:WsItfTaskSoapBinding" name="WsItfTaskImplPort">
<soap:address location="http://60.188.225.145:9501/ws/v1"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

+ 120
- 0
kqapi/target/test-classes/wsdl.xml Bestand weergeven

@@ -0,0 +1,120 @@
<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://impl.v1.ws.api.service.yxt.gooben.com/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns2="http://schemas.xmlsoap.org/soap/http" xmlns:ns1="http://v1.ws.api.service.yxt.gooben.com/" name="WsItfTask" targetNamespace="http://impl.v1.ws.api.service.yxt.gooben.com/">
<wsdl:import location="http://120.26.44.207:9501/ws/v1?wsdl=WsItfTask.wsdl" namespace="http://v1.ws.api.service.yxt.gooben.com/">
</wsdl:import>
<wsdl:binding name="WsItfTaskSoapBinding" type="ns1:WsItfTask">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getSentResultCall">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSentResultCall">
<soap:header message="ns1:getSentResultCall" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSentResultCallResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSubmitResult">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSubmitResult">
<soap:header message="ns1:getSubmitResult" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSubmitResultResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addFile">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="addFile">
<soap:header message="ns1:addFile" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="addFileResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="submitMCLZTask">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="submitMCLZTask">
<soap:header message="ns1:submitMCLZTask" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="submitMCLZTaskResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSentTaskResultCall">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSentTaskResultCall">
<soap:header message="ns1:getSentTaskResultCall" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSentTaskResultCallResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSentTaskResultSms">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSentTaskResultSms">
<soap:header message="ns1:getSentTaskResultSms" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSentTaskResultSmsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="submitTask">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="submitTask">
<soap:header message="ns1:submitTask" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="submitTaskResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSentResultSms">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSentResultSms">
<soap:header message="ns1:getSentResultSms" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSentResultSmsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="authorization">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="authorization">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="authorizationResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getSmsReceive">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getSmsReceive">
<soap:header message="ns1:getSmsReceive" part="token" use="literal">
</soap:header>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output name="getSmsReceiveResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WsItfTask">
<wsdl:port binding="tns:WsItfTaskSoapBinding" name="WsItfTaskImplPort">
<soap:address location="http://120.26.44.207:9501/ws/v1"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

+ 6
- 0
logs/info.log Bestand weergeven

@@ -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"]

+ 5
- 0
ningda-generator/target/maven-archiver/pom.properties Bestand weergeven

@@ -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

BIN
ningda-generator/target/ningda-generator-1.0.0.jar Bestand weergeven


Laden…
Annuleren
Opslaan