From 80662b34fe93b4ede00c7fc03fbd9f01355c94e2 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 07 四月 2025 13:52:17 +0800 Subject: [PATCH] 修改任务接口 --- start/src/main/resources/application.yml | 48 ++++++++++++++---------------------------------- 1 files changed, 14 insertions(+), 34 deletions(-) diff --git a/start/src/main/resources/application.yml b/start/src/main/resources/application.yml index 3ad8615..031f912 100644 --- a/start/src/main/resources/application.yml +++ b/start/src/main/resources/application.yml @@ -1,18 +1,3 @@ -# 椤圭洰鐩稿叧閰嶇疆 -ycl: - # 鍚嶇О - name: RuoYi - # 鐗堟湰 - version: 1.0.0 - # 鐗堟潈骞翠唤 - copyrightYear: 2024 - # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/uploadPath锛孡inux閰嶇疆 /home/ruoyi/uploadPath锛� - profile: D:/ruoyi/uploadPath - # 鑾峰彇ip鍦板潃寮�鍏� - addressEnabled: false - # 楠岃瘉鐮佺被鍨� math 鏁板瓧璁$畻 char 瀛楃楠岃瘉 - captchaType: math - # mybatis plus閰嶇疆 mybatis-plus: @@ -20,8 +5,9 @@ # 瀹炰綋鎵弿锛屽涓猵ackage鐢ㄩ�楀彿鎴栬�呭垎鍙峰垎闅� typeAliasesPackage: com.ycl.**.domain configuration: - default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler # 閫氱敤鏋氫妇澶勭悊鍣� - # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 鏃ュ織鎵撳嵃 + shrink-whitespaces-in-sql: true #浠嶴QL涓垹闄ゅ浣欑殑绌烘牸瀛楃 + default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler # 閫氱敤鏋氫妇澶勭悊鍣� +# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 鏃ュ織鎵撳嵃 global-config: db-config: id-type: auto @@ -55,7 +41,10 @@ logging: level: com.ruoyi: debug + com.ycl: debug org.springframework: warn + org.flowable.engine.impl.persistence.entity.*: debug + org.flowable.task.service.impl.persistence.entity.*: debug # 鐢ㄦ埛閰嶇疆 user: @@ -77,14 +66,18 @@ servlet: multipart: # 鍗曚釜鏂囦欢澶у皬 - max-file-size: 10MB + max-file-size: 1024MB # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬 - max-request-size: 20MB + max-request-size: 1024MB # 鏈嶅姟妯″潡 devtools: restart: # 鐑儴缃插紑鍏� - enabled: true + enabled: false + # 鏃ユ湡鏍煎紡 + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 # token閰嶇疆 token: @@ -93,7 +86,7 @@ # 浠ょ墝瀵嗛挜 secret: gfabcdefghijklmnopqrstuvwxyz12 # 浠ょ墝鏈夋晥鏈燂紙榛樿30鍒嗛挓锛� - expireTime: 30 + expireTime: 10000 # PageHelper鍒嗛〉鎻掍欢 pagehelper: @@ -118,16 +111,3 @@ urlPatterns: /system/*,/monitor/*,/tool/* - -# 宸ヤ綔娴� Flowable 閰嶇疆锛宖lowable瀹屾暣鐨勯厤缃紝鍙傝锛欯see https://www.flowable.com/open-source/docs/bpmn/ch05a-Spring-Boot/#flowable-application-properties -flowable: - database-schema-update: true # 鑷姩鏇存柊flowable琛ㄧ粨鏋勶紝绗竴娆¤繛鎺ユ暟鎹簱鏃跺彲浠ヨ缃负true - # 鍏抽棴鍚勪釜妯″潡鐢熸垚琛紝鐩墠鍙娇鐢ㄥ伐浣滄祦鍩虹琛� - idm: # idm鏄痜lowable鐨勮韩浠界鐞嗘ā鍧楋細鍗崇敤鎴枫�佽璇併�佹潈闄愮瓑 - enabled: false - cmmn: # cmmn鏄痜lowable鐨勬渚嬬鐞嗘ā鍧楋紝浣撶幇鍦╢lowable-ui涓殑锛氭祦绋嬪缓妯″櫒銆乁I锛孈see https://www.flowable.com/open-source/docs/cmmn/ch06-cmmn - enabled: false - dmn: # dmn鏄痜lowable鐨勫喅绛栨ā鍨嬶紝浣撶幇鍦╢lowable-ui涓殑鍐崇瓥琛� @see https://www.flowable.com/open-source/docs/dmn/ch06-DMN-Introduction - enabled: false - app: # app鐨勫姛鑳芥槸涓篺lowable鍦╯pring涓珮鏁堣繍琛岃�屾彁渚涗簡寰堝bean锛屼笌flowable鏈韩鐨勫唴瀹规棤鍏� - enabled: true -- Gitblit v1.8.0