Commit e835ec43 by weiss

1

1 parent 8aeb1a30
...@@ -68,13 +68,15 @@ public class FeiShuEventController { ...@@ -68,13 +68,15 @@ public class FeiShuEventController {
return null; return null;
} }
// @PostMapping("msg_card") @PostMapping("/msg_card")
// public JSONObject msgCardEvent(@RequestBody String s) throws Exception { public JSONObject msgCardEvent(@RequestBody String s) throws Exception {
// JSONObject reqJsonObject = JSON.parseObject(s); JSONObject reqJsonObject = JSON.parseObject(s);
// System.out.println(s); System.out.println(s);
// if (reqJsonObject.containsKey("challenge")) { if (reqJsonObject.containsKey("challenge")) {
// return reqJsonObject; return reqJsonObject;
// } }
return null;
}
// FeiShuMsgCardEventDTO feiShuMsgCardEventDTO = reqJsonObject.toJavaObject(FeiShuMsgCardEventDTO.class); // FeiShuMsgCardEventDTO feiShuMsgCardEventDTO = reqJsonObject.toJavaObject(FeiShuMsgCardEventDTO.class);
// String actionType = feiShuMsgCardEventDTO.getAction().getValue().getKey().split("\\.")[0]; // String actionType = feiShuMsgCardEventDTO.getAction().getValue().getKey().split("\\.")[0];
// switch (actionType) { // switch (actionType) {
...@@ -83,8 +85,10 @@ public class FeiShuEventController { ...@@ -83,8 +85,10 @@ public class FeiShuEventController {
//// default: //// default:
//// } //// }
// } // }
//
// }
@PostMapping("/employee-list") @PostMapping("/employee-list")
public Object event() { public Object event() {
......
...@@ -23,7 +23,7 @@ public class MassageService { ...@@ -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!