application.yml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. spring:
  2. application.name: duty-service
  3. # profiles.active: local
  4. profiles.active: dev
  5. # profiles.active: prod
  6. servlet:
  7. multipart:
  8. # 单个文件大小
  9. max-file-size: 200MB
  10. # 设置总上传的文件大小
  11. max-request-size: 200MB
  12. # 上传文件临时目录自定义
  13. location: /home/duty/upload_tmp
  14. #文件上传根路径
  15. file:
  16. # path: D:/upload/
  17. path: /home/duty/upload/
  18. # MyBatis配置
  19. mybatis-plus:
  20. # 搜索指定包别名
  21. typeAliasesPackage: cn.com.taiji.**.model
  22. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  23. mapperLocations: classpath*:mapper/**/*Mapper.xml
  24. # mapperLocations: classpath*:cn/com/taiji/video/mapper/mapping/*Mapping.xml
  25. # 加载全局的配置文件
  26. # configLocation: classpath:mybatis/mybatis-config.xml
  27. configuration:
  28. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  29. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  30. # 返回类型为Map,显示null对应的字段
  31. call-setters-on-nulls: true
  32. global-config:
  33. db-config:
  34. # 全局逻辑删除的实体字段名(since 3.3.0,配置后可以忽略不配置步骤2)
  35. logic-delete-field: delFlag
  36. # 逻辑已删除值(默认为 1)
  37. logic-delete-value: 1
  38. # 逻辑未删除值(默认为 0)
  39. logic-not-delete-value: 0
  40. id-type: assign_id
  41. update-strategy: not_empty
  42. banner: false # 不打印banner
  43. # PageHelper分页插件
  44. pagehelper:
  45. helperDialect: mysql
  46. reasonable: true
  47. supportMethodsArguments: true
  48. offsetAsPageNum: true
  49. rowBoundsWithCount: true
  50. params: count=countSql
  51. logging:
  52. # 本地开发环境通过level控制
  53. level:
  54. root: info
  55. cn.com.taiji: debug
  56. org.springframework.web: debug
  57. taiji:
  58. # clientId: 5f1bf9b33df94328a559dfed33bf3605
  59. # clientSecret: 970f78a3c2704aa2be402933e558f371
  60. clientId: d0773cd26f6349eeb7af8d0f47d81d9a
  61. clientSecret: 0a7445624cac4bbdb1361ee3a6635327
  62. url: 10.110.33.6:443
  63. ak: 27335616
  64. sk: KZTwnMbtnKHCyNju0eur
  65. faceTaskId: 0db384d3bbdd432aba457d64e347d369
  66. carTaskId: 4ef6713e9b894c35b572800f30fd8eba
  67. #### 获取本门用户数据 ####
  68. idaas-info:
  69. url-prefix: http://10.110.32.9
  70. param:
  71. role-zby: 60f6d0e4a0510e6832ca4269508a26bfFvIMvcGatwS
  72. role-zbgl: 8bdaaf47a6d5e8debe52bd29f3f4a967ocOR4jgbxaR
  73. clientId: 4e7f3d75485906dca0154b9958a1b3c9OlZgW37BIDv
  74. clientSecret: qYfCPtemZwXZZACrVhGRirsV3azj9NXWCkwjIJJNJD
  75. username: zbxtsync
  76. password: Sync@2023!
  77. psId: b984743dac2a867036287fd67608b223HXnPVEvjMhv
  78. api-url:
  79. login: /public/enduser/login
  80. role-accounts: /api/bff/v1.2/ps/authorization/role/relation/accounts
  81. userInfo: /api/bff/v1.2/ud/account/routine/lookup
  82. org: /api/bff/v1.2/ud/ou/routine/lookup/
  83. ###### 系统参数配置 ######
  84. sys:
  85. ssoToken:
  86. limit_expiresIn: 9000
  87. ##### idaas相关配置 #####
  88. idaas:
  89. url-prefix: http://10.110.32.9 #政务外网-正式环境接口前缀
  90. param:
  91. # 应用相关参数
  92. # 互联网版本
  93. # appId: hainanplugin_jwt1
  94. # appKey: 1855e6e4fd5b8020ac0b96554216226buEUkeN3H1sO
  95. # appSecret: JhD4tbLcUcDVxPWPYfq7xJeS6JKK918aFsGBIxpfhu
  96. # appPublicKey: "{\"kty\":\"RSA\",\"kid\":\"9138876566787373938\",\"alg\":\"RS256\",\"n\":\"hkJICc09AjB5iJyT2Hm1Gp49dS22MWNcwmGQ6qwdGikz1191t37yjPadYoI49PDFAFxVgQkTlPeNMry2gTd5K1KyBIL6FOJIOhc0u5wA1gCQ4CV7PNvJUGIOIjcUlHE9CywFWVqLJoKvF2_viGt5qNTz4dUi2Pl1vhCW39uBdEATUCSQn9EESG5_gtXbTBU_banfPNn4Gce1rznJDKDOgPapMC_yZHfr9yslZMcrlvQj6LFsVmYhpasP8-5pxhiVIcDOgQfQIk7nMjQfuT7hZnQcvnx_GJfRySfSpsvdJM-6RRog06JNcfV_fVW2qZCUsnIEg0rsMczffJE1tf5FUw\",\"e\":\"AQAB\"}"
  97. #政务外网测试版本
  98. # appId: hainanplugin_jwt1
  99. # appKey: 61915cbcff454e32d30df5f945004b8042F4HJL3A93
  100. # appSecret: iW6clZGTRcT73kkkl8TdPvaPOCrswiUGpm93qzNH2u
  101. # appPublicKey: "{\"kty\":\"RSA\",\"kid\":\"6473708589709253395\",\"alg\":\"RS256\",\"n\":\"mhv3TFdv1hnvJGaej4KVuvV6ah_DMNENBUN2QiTKQR-w5lLC7gP_V-i8Ar_68cFjt4JXaILtwzARx-cVGkkt9Hgr8HAKgW4goQvwvpljzEuohcWnt_Xg3_uj8Z7uxI9PgDMh6DoMkYXH7BtEtKwgS1FptAXGwDmfym-_sEFC7xJc_SWJrbB20XawvnNFxmtmVHnyO4hW1SxtMp7dDoF9m9_8wCMdmI7jH9hRVdl2A3cYwZQf8vrDtcPEnDUoGzd8tYJAM1lD1jiqVj1gDdntEnb99h4qqEVhktI3-XJoVcVvJoZDnpjWdgRMKpo4NfLRVy_ZiK5LlOQkDgqcytVMCw\",\"e\":\"AQAB\"}"
  102. #政务外网正式版本
  103. appId: hnidaasplugin_jwt
  104. appKey: fbd315d4a5088bbbdeba75a1fb5520b7QVjroXW5NNi
  105. appSecret: bq7Cf0P5T7zvgFcCV3Ww3tJSllXKBpFuigd6v86y6a
  106. #appPublicKey:
  107. #权限系统相关参数
  108. # 互联网网版本
  109. # psId: 4vIbA1RF3U
  110. # psAppKey: 07e08f43552ca9a25710ad4c5e7b2211lTfSCBTMQ6M
  111. # psAppSecret: vJSU4GjGbR0WTcb2lheyXd26xrx8PtuSRV6fauF5uX
  112. # 政务外网测试版本
  113. # psId: EuEEtvDcMc
  114. # psAppKey: 9066f9c9024cd3b9c36ef88a88ffc1b177U9bjhz4RM
  115. # psAppSecret: y3M42SdgVbpWl99f29r0MOCEJZN6w68VlcKgB6LWv0
  116. # 政务外网正式版本
  117. psId: MgTWAT1YeH
  118. psAppKey: 34867bec3e27c71315813af4257018e9XrahxHh1kf2
  119. psAppSecret: N40W73L8b3juN6u2akDy7aXn9qk6ybD75vNn1lyPTG
  120. sso-api: #需要SSOToken调用的接口
  121. # 登录
  122. login: /public/enduser/login
  123. # 登出
  124. logout: /api/bff/v1.2/commons/logout
  125. # token有效性验证
  126. tokenValidation: /api/public/bff/oauth/token_validation
  127. # 获取登录用户信息
  128. userInfo: /api/bff/v1.2/enduser/portal/user_info
  129. # 免密登录
  130. loginByUsername: /api/bff/v1.2/developer/scim/account/login_by_username
  131. app-api: # 需要使用APPToken调用的接口
  132. # 获取应用token/政务外网正式
  133. appToken: /oauth/token?client_id=fbd315d4a5088bbbdeba75a1fb5520b7QVjroXW5NNi&client_secret=bq7Cf0P5T7zvgFcCV3Ww3tJSllXKBpFuigd6v86y6a&grant_type=client_credentials&scope=read
  134. # 获取应用token/政务外网测试
  135. #appToken: /oauth/token?client_id=61915cbcff454e32d30df5f945004b8042F4HJL3A93&client_secret=iW6clZGTRcT73kkkl8TdPvaPOCrswiUGpm93qzNH2u&grant_type=client_credentials&scope=read
  136. # 获取应用token/互联网
  137. #appToken: /oauth/token?client_id=1855e6e4fd5b8020ac0b96554216226buEUkeN3H1sO&client_secret=JhD4tbLcUcDVxPWPYfq7xJeS6JKK918aFsGBIxpfhu&grant_type=client_credentials&scope=read
  138. # 账号相关接口
  139. account:
  140. # 账号详情
  141. detail: /api/bff/v1.2/developer/scim/account/detail
  142. # 账号列表
  143. enterpriselistAll: /api/bff/v1.2/developer/scim/account/enterprise/list_all
  144. # 账号推送(sp->idaas)
  145. create: /api/bff/v1.2/developer/scim/account/create
  146. # 删除账户(sp->idaas),传参形式:?externalId=xx
  147. delete: /api/bff/v1.2/developer/scim/account/delete
  148. # 账号修改(sp->idaas) PUT
  149. update: /api/bff/v1.2/developer/scim/account/update
  150. #组织机构相关接口
  151. orga:
  152. # 组织机构列表
  153. list: /api/bff/v1.2/developer/scim/organization/list
  154. # 组织机构详情
  155. detail: /api/bff/v1.2/developer/scim/organization/detail
  156. ps-api: #需要PSToken调用的接口
  157. # 获取权限系统token/政务外网正式
  158. psToken: /oauth/token?client_id=34867bec3e27c71315813af4257018e9XrahxHh1kf2&client_secret=N40W73L8b3juN6u2akDy7aXn9qk6ybD75vNn1lyPTG&grant_type=client_credentials&scope=read
  159. # 获取权限系统token/政务外网测试
  160. #psToken: /oauth/token?client_id=9066f9c9024cd3b9c36ef88a88ffc1b177U9bjhz4RM&client_secret=y3M42SdgVbpWl99f29r0MOCEJZN6w68VlcKgB6LWv0&grant_type=client_credentials&scope=read
  161. # 获取权限系统token/互联网
  162. #psToken: /oauth/token?client_id=07e08f43552ca9a25710ad4c5e7b2211lTfSCBTMQ6M&client_secret=vJSU4GjGbR0WTcb2lheyXd26xrx8PtuSRV6fauF5uX&grant_type=client_credentials&scope=read
  163. # 获取用户所有角色、权限列表
  164. userRolePermissions: /api/bff/v1.2/developer/ps/user_role_permissions
  165. # 获取所有角色列表
  166. allRoleList: /api/bff/v1.2/developer/ps/all_roles/
  167. # 用户权限值鉴权
  168. isUserHasPermission: /api/bff/v1.2/developer/ps/isUserHasPermission
  169. # 获取角色已授权用户列表(分页)
  170. roleUserList: /api/bff/v1.2/developer/ps/role_users
  171. # 获取指定权限节点下,用户已授权的权限 POST
  172. listSubLevelPermissions: /api/bff/v1.2/developer/ps/listSubLevelPermissions
  173. # 用户批量设置权限
  174. user:
  175. modifyPermission: /api/bff/v1.2/developer/ps/user/modify_permissions