Browse Source

修改测试配置文件

tags/24082201
WendyYang 1 year ago
parent
commit
828bf93332
3 changed files with 21 additions and 2 deletions
  1. +7
    -0
      hz-pm-api/pom.xml
  2. +2
    -2
      hz-pm-api/src/main/resources/application-test.yml
  3. +12
    -0
      hz-pm-api/src/main/resources/integration/zwdd-test.yml

+ 7
- 0
hz-pm-api/pom.xml View File

@@ -274,6 +274,13 @@
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>test</id>
<properties>
<!--使用${environment}获取值-->
<environment>test</environment>
</properties>
</profile>
<profile>
<id>prod</id> <id>prod</id>
<properties> <properties>
<environment>prod</environment> <environment>prod</environment>


+ 2
- 2
hz-pm-api/src/main/resources/application-test.yml View File

@@ -1,7 +1,7 @@
server: server:
port: 8004 port: 8004
servlet: servlet:
context-path: /hzpm
context-path: /test/hzpm
#最大并发数,默认200 #最大并发数,默认200
tomcat: tomcat:
threads: threads:
@@ -91,7 +91,7 @@ nd:
serializerType: ProtoStuff serializerType: ProtoStuff
cacheNullVal: true cacheNullVal: true
def: def:
keyPrefix: pm
keyPrefix: hzpm
log: log:
enabled: true enabled: true
type: DB type: DB


+ 12
- 0
hz-pm-api/src/main/resources/integration/zwdd-test.yml View File

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

Loading…
Cancel
Save