From 09fcc9929a430d812f57c1ea06e5562b403c9d8c Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期三, 18 九月 2024 09:48:03 +0800
Subject: [PATCH] dingding发送群消息demo
---
pms-parent/pms-global/src/main/resources/application-global.yml | 41 +++++++++++++++++++++++------------------
1 files changed, 23 insertions(+), 18 deletions(-)
diff --git a/pms-parent/pms-global/src/main/resources/application-global.yml b/pms-parent/pms-global/src/main/resources/application-global.yml
index f2dcd80..79deadf 100644
--- a/pms-parent/pms-global/src/main/resources/application-global.yml
+++ b/pms-parent/pms-global/src/main/resources/application-global.yml
@@ -32,8 +32,8 @@
#浣跨敤type-aliases-package涓寚瀹歟ntity鎵弿鍖呰矾寰勶紝璁﹎ybatis鑷姩鎵弿鑷畾涔夌殑entity
#type-aliases-package: com.dy.pmsGlobal.daoBa
configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #鏃惰�岃緭鍑烘棩蹇楋紝鏃惰�屼笉杈撳嚭鏃ュ織
-# log-impl: org.apache.ibatis.logging.log4j2.Log4j2Impl
+ #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #鏃惰�岃緭鍑烘棩蹇楋紝鏃惰�屼笉杈撳嚭鏃ュ織
+ log-impl: org.apache.ibatis.logging.log4j2.Log4j2Impl
#寮�鍚┘宄皍Name鑷姩鏄犲皠鍒皍_name
#2023-10-24缁忓疄楠岋紝涓嬮潰閰嶇疆true鎴杅alse锛岄兘鑳戒粠u_name鏄犲皠鍒皍Name
#map-underscore-to-camel-case: true
@@ -43,7 +43,12 @@
cache-enabled: true #鎵撳紑鍏ㄥ眬缂撳瓨寮�鍏筹紙浜岀骇鐜锛夛紝榛樿鍊兼槸true
#default-enum-type-handler: com.dy.common.mybatis.envm.EnumCodeTypeHandler
-
+dingtalk:
+ robot:
+ url: https://oapi.dingtalk.com/robot/send
+ access-token: 5004482dce6b24d0e1e655b8e4376a6418cfcebce17ff792d0e68cbb63d6eb5b
+ secret: SEC985ad412f35ece68bb239cad88b6fba59b19461dd8d067e80fafa1270d6ab465
+ at-all: true
#涓嶈繘琛寀serToken杩囨护鐨刄RL锛孈ConfigurationProperties瑕佹眰tokennofilter涓墍鏈夊瓧姣嶉兘灏忓啓
tokennofilter:
urls:
@@ -114,16 +119,16 @@
supportedFileTypes: docx,xlsx,pdf
sv1:
id: dyFile1
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile1
hashStart: 0
hashEnd: 5461
- restUrl: http://127.0.0.1:${pms.file1.webPort}/file #file鏄笂涓嬫枃
- webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ #nginx鏈嶅姟璺緞锛屽畨瑁呴儴缃叉椂IP鏀规垚澶栫綉IP鎴栧煙鍚�
- webDownloadPath: http://127.0.0.1:${pms.file1.webPort}/file/download/down?id= #瀹夎閮ㄧ讲鏃禝P鏀规垚澶栫綉IP鎴栧煙鍚�
+ restUrl: http://127.0.0.1:${pms.file1.webPort}/file #file鏄笂涓嬫枃,ip涓哄眬鍩熺綉ip鎴栨湰鍦癐P
+ webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ #nginx鏈嶅姟璺緞,瀹夎閮ㄧ讲鏃禝P鏀规垚澶栫綉IP鎴栧煙鍚�
+ webDownloadPath: http://127.0.0.1:${pms.file1.webPort}/file/download/down?id= #瀹夎閮ㄧ讲鏃禝P鏀规垚澶栫綉IP鎴栧煙鍚�
sv2:
id: dyFile2
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile2
hashStart: 5462
hashEnd: 10923
@@ -132,7 +137,7 @@
webDownloadPath: http://127.0.0.1:${pms.file2.webPort}/file/download/down?id=
sv3:
id: dyFile3
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile3
hashStart: 10924
hashEnd: 16385
@@ -141,7 +146,7 @@
webDownloadPath: http://127.0.0.1:${pms.file3.webPort}/file/download/down?id=
sv4:
id: dyFile4
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile4
hashStart: 16386
hashEnd: 21847
@@ -150,7 +155,7 @@
webDownloadPath: http://127.0.0.1:${pms.file4.webPort}/file/download/down?id=
sv5:
id: dyFile5
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile5
hashStart: 21848
hashEnd: 27309
@@ -159,7 +164,7 @@
webDownloadPath: http://127.0.0.1:${pms.file5.webPort}/file/download/down?id=
sv6:
id: dyFile6
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile6
hashStart: 27310
hashEnd: 32767
@@ -168,7 +173,7 @@
webDownloadPath: http://127.0.0.1:${pms.file6.webPort}/file/download/down?id=
sv7:
id: dyFile7
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile7
hashStart: 32768
hashEnd: 38229
@@ -177,7 +182,7 @@
webDownloadPath: http://127.0.0.1:${pms.file7.webPort}/file/download/down?id=
sv8:
id: dyFile8
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile8
hashStart: 38230
hashEnd: 43691
@@ -186,7 +191,7 @@
webDownloadPath: http://127.0.0.1:${pms.file8.webPort}/file/download/down?id=
sv9:
id: dyFile9
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile9
hashStart: 43692
hashEnd: 49153
@@ -195,7 +200,7 @@
webDownloadPath: http://127.0.0.1:${pms.file9.webPort}/file/download/down?id=
sv10:
id: dyFile10
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile10
hashStart: 49154
hashEnd: 54615
@@ -204,7 +209,7 @@
webDownloadPath: http://127.0.0.1:${pms.file10.webPort}/file/download/down?id=
sv11:
id: dyFile11
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile11
hashStart: 54616
hashEnd: 60077
@@ -213,7 +218,7 @@
webDownloadPath: http://127.0.0.1:${pms.file11.webPort}/file/download/down?id=
sv12:
id: dyFile12
- absolutePath: D:/apps/pms/nginx/nginx-1.24.0/html/webfiles/
+ absolutePath: E:/java/nginx-1.24.0/html/webfiles/
relativePath: webFile12
hashStart: 60078
hashEnd: 65535
--
Gitblit v1.8.0