zainali5120
2020-11-29 83e2fd8d61d116ce9bf2034e8d05346910f96260
src/main/java/com/xcong/excoin/utils/dingtalk/DingTalkUtils.java
@@ -24,7 +24,7 @@
    private static final String SECRET = "SECc0b73559742b950f07eabbd050c406a6abb3b67d112d3735289e90f58884c543";
    public static void sendActionCard(int type) {
        log.info("send dingtalk");
        //log.info("send dingtalk");
        String url = "https://oapi.dingtalk.com/robot/send?access_token=161d5e5b60ae5d6b4c80f2a9c35f9f212961a7c7154aa7e94b99503eca3886b0";
        Long timestamp = System.currentTimeMillis();
        try {
@@ -46,11 +46,11 @@
            request.setActionCard(actionCard);
            OapiRobotSendResponse response = client.execute(request);
            log.info(JSONObject.toJSONString(response));
            //log.info(JSONObject.toJSONString(response));
        } catch (Exception e) {
            log.error("#dingtalk send error#", e);
            //log.error("#dingtalk send error#", e);
        } finally {
            log.error("#dingtalk finally#");
            //log.error("#dingtalk finally#");
        }
    }