spring: application.name: duty-service # profiles.active: local profiles.active: dev # profiles.active: prod servlet: multipart: # 单个文件大小 max-file-size: 200MB # 设置总上传的文件大小 max-request-size: 200MB # 上传文件临时目录自定义 location: /home/duty/upload_tmp #文件上传根路径 file: # path: D:/upload/ path: /home/duty/upload/ # MyBatis配置 mybatis-plus: # 搜索指定包别名 typeAliasesPackage: cn.com.taiji.**.model # 配置mapper的扫描,找到所有的mapper.xml映射文件 mapperLocations: classpath*:mapper/**/*Mapper.xml # mapperLocations: classpath*:cn/com/taiji/video/mapper/mapping/*Mapping.xml # 加载全局的配置文件 # configLocation: classpath:mybatis/mybatis-config.xml configuration: # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用 # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 返回类型为Map,显示null对应的字段 call-setters-on-nulls: true global-config: db-config: # 全局逻辑删除的实体字段名(since 3.3.0,配置后可以忽略不配置步骤2) logic-delete-field: delFlag # 逻辑已删除值(默认为 1) logic-delete-value: 1 # 逻辑未删除值(默认为 0) logic-not-delete-value: 0 id-type: assign_id update-strategy: not_empty banner: false # 不打印banner # PageHelper分页插件 pagehelper: helperDialect: mysql reasonable: true supportMethodsArguments: true offsetAsPageNum: true rowBoundsWithCount: true params: count=countSql logging: # 本地开发环境通过level控制 level: root: info cn.com.taiji: debug org.springframework.web: debug taiji: # clientId: 5f1bf9b33df94328a559dfed33bf3605 # clientSecret: 970f78a3c2704aa2be402933e558f371 clientId: d0773cd26f6349eeb7af8d0f47d81d9a clientSecret: 0a7445624cac4bbdb1361ee3a6635327 url: 10.110.33.6:443 ak: 27335616 sk: KZTwnMbtnKHCyNju0eur faceTaskId: 0db384d3bbdd432aba457d64e347d369 carTaskId: 4ef6713e9b894c35b572800f30fd8eba #### 获取本门用户数据 #### idaas-info: url-prefix: http://10.110.32.9 param: role-zby: 60f6d0e4a0510e6832ca4269508a26bfFvIMvcGatwS role-zbgl: 8bdaaf47a6d5e8debe52bd29f3f4a967ocOR4jgbxaR clientId: 4e7f3d75485906dca0154b9958a1b3c9OlZgW37BIDv clientSecret: qYfCPtemZwXZZACrVhGRirsV3azj9NXWCkwjIJJNJD username: zbxtsync password: Sync@2023! psId: b984743dac2a867036287fd67608b223HXnPVEvjMhv api-url: login: /public/enduser/login role-accounts: /api/bff/v1.2/ps/authorization/role/relation/accounts userInfo: /api/bff/v1.2/ud/account/routine/lookup org: /api/bff/v1.2/ud/ou/routine/lookup/ ###### 系统参数配置 ###### sys: ssoToken: limit_expiresIn: 9000 ##### idaas相关配置 ##### idaas: url-prefix: http://10.110.32.9 #政务外网-正式环境接口前缀 param: # 应用相关参数 # 互联网版本 # appId: hainanplugin_jwt1 # appKey: 1855e6e4fd5b8020ac0b96554216226buEUkeN3H1sO # appSecret: JhD4tbLcUcDVxPWPYfq7xJeS6JKK918aFsGBIxpfhu # appPublicKey: "{\"kty\":\"RSA\",\"kid\":\"9138876566787373938\",\"alg\":\"RS256\",\"n\":\"hkJICc09AjB5iJyT2Hm1Gp49dS22MWNcwmGQ6qwdGikz1191t37yjPadYoI49PDFAFxVgQkTlPeNMry2gTd5K1KyBIL6FOJIOhc0u5wA1gCQ4CV7PNvJUGIOIjcUlHE9CywFWVqLJoKvF2_viGt5qNTz4dUi2Pl1vhCW39uBdEATUCSQn9EESG5_gtXbTBU_banfPNn4Gce1rznJDKDOgPapMC_yZHfr9yslZMcrlvQj6LFsVmYhpasP8-5pxhiVIcDOgQfQIk7nMjQfuT7hZnQcvnx_GJfRySfSpsvdJM-6RRog06JNcfV_fVW2qZCUsnIEg0rsMczffJE1tf5FUw\",\"e\":\"AQAB\"}" #政务外网测试版本 # appId: hainanplugin_jwt1 # appKey: 61915cbcff454e32d30df5f945004b8042F4HJL3A93 # appSecret: iW6clZGTRcT73kkkl8TdPvaPOCrswiUGpm93qzNH2u # appPublicKey: "{\"kty\":\"RSA\",\"kid\":\"6473708589709253395\",\"alg\":\"RS256\",\"n\":\"mhv3TFdv1hnvJGaej4KVuvV6ah_DMNENBUN2QiTKQR-w5lLC7gP_V-i8Ar_68cFjt4JXaILtwzARx-cVGkkt9Hgr8HAKgW4goQvwvpljzEuohcWnt_Xg3_uj8Z7uxI9PgDMh6DoMkYXH7BtEtKwgS1FptAXGwDmfym-_sEFC7xJc_SWJrbB20XawvnNFxmtmVHnyO4hW1SxtMp7dDoF9m9_8wCMdmI7jH9hRVdl2A3cYwZQf8vrDtcPEnDUoGzd8tYJAM1lD1jiqVj1gDdntEnb99h4qqEVhktI3-XJoVcVvJoZDnpjWdgRMKpo4NfLRVy_ZiK5LlOQkDgqcytVMCw\",\"e\":\"AQAB\"}" #政务外网正式版本 appId: hnidaasplugin_jwt appKey: fbd315d4a5088bbbdeba75a1fb5520b7QVjroXW5NNi appSecret: bq7Cf0P5T7zvgFcCV3Ww3tJSllXKBpFuigd6v86y6a #appPublicKey: #权限系统相关参数 # 互联网网版本 # psId: 4vIbA1RF3U # psAppKey: 07e08f43552ca9a25710ad4c5e7b2211lTfSCBTMQ6M # psAppSecret: vJSU4GjGbR0WTcb2lheyXd26xrx8PtuSRV6fauF5uX # 政务外网测试版本 # psId: EuEEtvDcMc # psAppKey: 9066f9c9024cd3b9c36ef88a88ffc1b177U9bjhz4RM # psAppSecret: y3M42SdgVbpWl99f29r0MOCEJZN6w68VlcKgB6LWv0 # 政务外网正式版本 psId: MgTWAT1YeH psAppKey: 34867bec3e27c71315813af4257018e9XrahxHh1kf2 psAppSecret: N40W73L8b3juN6u2akDy7aXn9qk6ybD75vNn1lyPTG sso-api: #需要SSOToken调用的接口 # 登录 login: /public/enduser/login # 登出 logout: /api/bff/v1.2/commons/logout # token有效性验证 tokenValidation: /api/public/bff/oauth/token_validation # 获取登录用户信息 userInfo: /api/bff/v1.2/enduser/portal/user_info # 免密登录 loginByUsername: /api/bff/v1.2/developer/scim/account/login_by_username app-api: # 需要使用APPToken调用的接口 # 获取应用token/政务外网正式 appToken: /oauth/token?client_id=fbd315d4a5088bbbdeba75a1fb5520b7QVjroXW5NNi&client_secret=bq7Cf0P5T7zvgFcCV3Ww3tJSllXKBpFuigd6v86y6a&grant_type=client_credentials&scope=read # 获取应用token/政务外网测试 #appToken: /oauth/token?client_id=61915cbcff454e32d30df5f945004b8042F4HJL3A93&client_secret=iW6clZGTRcT73kkkl8TdPvaPOCrswiUGpm93qzNH2u&grant_type=client_credentials&scope=read # 获取应用token/互联网 #appToken: /oauth/token?client_id=1855e6e4fd5b8020ac0b96554216226buEUkeN3H1sO&client_secret=JhD4tbLcUcDVxPWPYfq7xJeS6JKK918aFsGBIxpfhu&grant_type=client_credentials&scope=read # 账号相关接口 account: # 账号详情 detail: /api/bff/v1.2/developer/scim/account/detail # 账号列表 enterpriselistAll: /api/bff/v1.2/developer/scim/account/enterprise/list_all # 账号推送(sp->idaas) create: /api/bff/v1.2/developer/scim/account/create # 删除账户(sp->idaas),传参形式:?externalId=xx delete: /api/bff/v1.2/developer/scim/account/delete # 账号修改(sp->idaas) PUT update: /api/bff/v1.2/developer/scim/account/update #组织机构相关接口 orga: # 组织机构列表 list: /api/bff/v1.2/developer/scim/organization/list # 组织机构详情 detail: /api/bff/v1.2/developer/scim/organization/detail ps-api: #需要PSToken调用的接口 # 获取权限系统token/政务外网正式 psToken: /oauth/token?client_id=34867bec3e27c71315813af4257018e9XrahxHh1kf2&client_secret=N40W73L8b3juN6u2akDy7aXn9qk6ybD75vNn1lyPTG&grant_type=client_credentials&scope=read # 获取权限系统token/政务外网测试 #psToken: /oauth/token?client_id=9066f9c9024cd3b9c36ef88a88ffc1b177U9bjhz4RM&client_secret=y3M42SdgVbpWl99f29r0MOCEJZN6w68VlcKgB6LWv0&grant_type=client_credentials&scope=read # 获取权限系统token/互联网 #psToken: /oauth/token?client_id=07e08f43552ca9a25710ad4c5e7b2211lTfSCBTMQ6M&client_secret=vJSU4GjGbR0WTcb2lheyXd26xrx8PtuSRV6fauF5uX&grant_type=client_credentials&scope=read # 获取用户所有角色、权限列表 userRolePermissions: /api/bff/v1.2/developer/ps/user_role_permissions # 获取所有角色列表 allRoleList: /api/bff/v1.2/developer/ps/all_roles/ # 用户权限值鉴权 isUserHasPermission: /api/bff/v1.2/developer/ps/isUserHasPermission # 获取角色已授权用户列表(分页) roleUserList: /api/bff/v1.2/developer/ps/role_users # 获取指定权限节点下,用户已授权的权限 POST listSubLevelPermissions: /api/bff/v1.2/developer/ps/listSubLevelPermissions # 用户批量设置权限 user: modifyPermission: /api/bff/v1.2/developer/ps/user/modify_permissions