修改钉钉回调日志输出为log.info
处理application-dev 的yml文件
This commit is contained in:
parent
2f88db00da
commit
dd117937f0
@ -40,7 +40,7 @@ public class CallbackController extends BaseController {
|
||||
List<DingCallBackExchangeProcessor> dingCallBackExchangeProcessorList;
|
||||
@PostMapping("/ding/clock")
|
||||
public Map<String, String> dingDingClock(@RequestBody Map<String, Object> params){
|
||||
System.out.println(JSONObject.toJSONString(params));
|
||||
log.info(JSONObject.toJSONString(params));
|
||||
try {
|
||||
// 1. 从http请求中获取加解密参数
|
||||
|
||||
@ -50,7 +50,7 @@ public class CallbackController extends BaseController {
|
||||
String encryptMsg = String.valueOf(params.get("encrypt"));
|
||||
String decryptMsg = callbackCrypto.getDecryptMsg(String.valueOf(params.get("msg_signature")), String.valueOf(params.get("timestamp")), String.valueOf(params.get("nonce")), encryptMsg);
|
||||
|
||||
System.out.println("==============>"+decryptMsg);
|
||||
log.info("==============>"+decryptMsg);
|
||||
// 3. 反序列化回调事件json数据
|
||||
JSONObject eventJson = JSON.parseObject(decryptMsg);
|
||||
String eventType = eventJson.getString("EventType");
|
||||
|
||||
@ -32,9 +32,9 @@ spring:
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://192.168.5.23:3306/dev_evo_cw_new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://192.168.5.232:3306/evo_cw_dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: yite
|
||||
password: hbyt123456
|
||||
#username: root
|
||||
#password: yj.chen@001
|
||||
# 从库数据源
|
||||
|
||||
Loading…
Reference in New Issue
Block a user