|
|
@@ -80,9 +80,9 @@ public class TtWebController extends BaseController { |
|
|
|
|
|
|
|
|
if("verify_webhook".equals(event)){ |
|
|
if("verify_webhook".equals(event)){ |
|
|
Map content = (Map) parameterMap.get("content"); |
|
|
Map content = (Map) parameterMap.get("content"); |
|
|
Integer challenge = (Integer) content.get("challenge"); |
|
|
|
|
|
resultMap.put("challenge",challenge); |
|
|
|
|
|
return resultMap; |
|
|
|
|
|
|
|
|
// Integer challenge = (Integer) content.get("challenge"); |
|
|
|
|
|
// resultMap.put("challenge",challenge.toString()); |
|
|
|
|
|
return content; |
|
|
}else if("life_goods_audit".equals(event)){ |
|
|
}else if("life_goods_audit".equals(event)){ |
|
|
String content = (String) parameterMap.get("content"); |
|
|
String content = (String) parameterMap.get("content"); |
|
|
JSONObject jsonObject = JSON.parseObject(content); |
|
|
JSONObject jsonObject = JSON.parseObject(content); |
|
|
|