From 29ab7773efe351a879ce9b3c29ab3ca50f4e62cb Mon Sep 17 00:00:00 2001 From: xiejun <xiejun@vci-tech.com> Date: 星期三, 15 一月 2025 21:36:08 +0800 Subject: [PATCH] 产品型号集成,类型转换,人员组织加日志,申请接口引用码段值校验 --- Source/UBCS/ubcs-service/ubcs-code/src/main/resources/application-prod.yml | 98 +++++++++++++----------------------------------- 1 files changed, 27 insertions(+), 71 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/application-prod.yml b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/application-prod.yml index b79ea32..27b2fa9 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/application-prod.yml +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/application-prod.yml @@ -1,74 +1,30 @@ -#####搴旂敤鍩烘湰閰嶇疆 -app: - name: web - group: 鍖椾含瀹忓崥杩滆揪绉戞妧鏈夐檺鍏徃 - description: 骞冲彴B/S瀹㈡埛绔� - private-token-key: vciweb20210212 -###tomcat鐩稿叧鐨勯厤缃� +#鏈嶅姟鍣ㄧ鍙� server: - port: 12000 + port: 8109 + tomcat: + uri-encoding: UTF-8 servlet: - context-path: /web -###log4j2鐨勯厤缃紝闇�瑕佸摢涓寘涓嬬殑鏂囦欢寮�鍚煇涓瓑绾э紝灏辩洿鎺xxxx: yy杩欐牱鏂瑰紡 -logging: - config: "classpath:log4j2-spring-prod.xml" - level: - com.vci: debug - root: info -###鏈」鐩殑閰嶇疆锛屾敞鎰弒pring瀹舵棌璇诲彇閰嶇疆鏃讹紝澶у啓瀛楁瘝闇�瑕佽浆鎹负-鐨勬柟寮忥紝鑰宖eign闇�瑕佸ぇ灏忓啓瀹屽叏鐩稿悓 -session: - session-info-storage-type: "database" - database-platform: oracle - clear-session-on-start: false - ###鏄惁寮�鍚敤鎴峰湪绾挎鏌� - checkSessionTimeout: false - ###瀹㈡埛绔垽鏂秴鏃惰疆璇㈡椂闂达紝鍗曚綅涓虹 - sessionInterval: 10 - ###瀹㈡埛绔渶澶у瓨鍦ㄦ椂闂达紝鍗曚綅涓哄垎閽� - sessionIdlTime: 30 - ###瓒呮椂鎻愰啋鏃堕棿锛屽崟浣嶄负鍒嗛挓 - sessionRemind: 3 -###鍏煎鎬э紝蹇呴』璁剧疆涓鸿繖涓� -user-table-compatibility: "platform1" -#缂撳瓨閰嶇疆 -###corba鐨勯厤缃� -jacorb: - client: - enabled: true - url: "corbaloc::localhost:30000/NameService" - instanceIdentity: "platform-sf" -#鍙�2021鐗堟湰鐨勯儴鍒嗘帴鍙g殑褰卞搷锛屼笅闈㈢殑鍐呭闇�瑕侀厤缃紝 -vciPlatform: - objectServiceUrl: "2" -#缂撳瓨 + encoding: + enabled: true + charset: UTF-8 + force: true +#鏁版嵁婧愰厤缃� spring: - # redis閰嶇疆 - redis: ###### redis 閰嶇疆 - enabled: true #true锛屽惎鐢╮edi锛宖alse涓嶅惎鐢紝榛樿false,閰嶇疆鏂囦欢娌℃湁杩欎簺榛樿涓嶅惎鐢╮edis - host: vciserver # ip鍦板潃 - database: 0 # redis鏁版嵁搴� 0-15 - port: 6379 # 绔彛鍙� - password: vcitest # 鏃犲瘑鐮佷笉濉� - timeout: 30000s # 杩炴帴瓒呮椂鏃堕棿 锛堥粯璁�1澶╋級 - lettuce: - shutdown-timeout: 100ms # 鍏抽棴瓒呮椂鏃堕棿 榛樿 100ms - pool: # lettuce 杩炴帴姹� - max-active: 8 # 杩炴帴姹犳渶澶ц繛鎺ユ暟 榛樿 8锛�-1 锛氳〃绀烘病鏈夐檺鍒讹級 - max-wait: 60000ms # 杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂� 榛樿-1ms 锛�-1 :琛ㄧず娌℃湁闄愬埗锛� 杩欓噷璁剧疆1鍒嗛挓 - max-idle: 8 # 鏈�澶х┖闂茶繛鎺� 榛樿 8 - min-idle: 0 # 鏈�灏忕┖闂茶繛鎺� 榛樿 0 - cache: - type: redis - config: - location: -##web閰嶇疆 -vciweb: - debug: true - -dataSyncPush: - isStart: true - cronTime: "0 0/1 * * * ?" - -attrconfig: - #绯荤粺闆嗘垚 - system_attrmap: {RLM: D:\RLM.xml,PDM: D:\pdm.xml} \ No newline at end of file + datasource: + url: ${ubcs.datasource.mdm.prod.url} + username: ${ubcs.datasource.mdm.prod.username} + password: ${ubcs.datasource.mdm.prod.password} + messages: + encoding: utf-8 + basename: i18n/messages +#鍏抽棴椹煎嘲鍛藉悕鏄犲皠 +mybatis-plus: + configuration: + map-underscore-to-camel-case: false + call-setters-on-nulls: true + # 杩囨护鍣ㄨ缃� + mvc: + interceptor: + enabled: true + include-path-patterns: /universalInterface + #exclude-path-patterns: /exclude-path-pattern -- Gitblit v1.9.3