Commit e835ec43 by weiss

1

1 parent 8aeb1a30
......@@ -68,13 +68,15 @@ public class FeiShuEventController {
return null;
}
// @PostMapping("msg_card")
// public JSONObject msgCardEvent(@RequestBody String s) throws Exception {
// JSONObject reqJsonObject = JSON.parseObject(s);
// System.out.println(s);
// if (reqJsonObject.containsKey("challenge")) {
// return reqJsonObject;
// }
@PostMapping("/msg_card")
public JSONObject msgCardEvent(@RequestBody String s) throws Exception {
JSONObject reqJsonObject = JSON.parseObject(s);
System.out.println(s);
if (reqJsonObject.containsKey("challenge")) {
return reqJsonObject;
}
return null;
}
// FeiShuMsgCardEventDTO feiShuMsgCardEventDTO = reqJsonObject.toJavaObject(FeiShuMsgCardEventDTO.class);
// String actionType = feiShuMsgCardEventDTO.getAction().getValue().getKey().split("\\.")[0];
// switch (actionType) {
......@@ -83,8 +85,10 @@ public class FeiShuEventController {
//// default:
//// }
// }
//
// }
@PostMapping("/employee-list")
public Object event() {
......
......@@ -23,7 +23,7 @@ public class MassageService {
public void sendMassageMsgCardToPiPiChat(){
public void sendMassageMsgCardToPiPiChat(List<>){
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!