Browse Source

添加公众号消息推送的post方式

master
sunyuchao 5 years ago
parent
commit
ba37088a35
  1. 10
      epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/controller/PublicAccountCallBackController.java

10
epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/controller/PublicAccountCallBackController.java

@ -5,10 +5,7 @@ import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.Collections;
@ -58,6 +55,11 @@ public class PublicAccountCallBackController {
}
}
@PostMapping(value = "/callback")
public String wxServerValdation() {
return "";
}
@GetMapping(value = "test")
public Result test(){
return new Result<>().ok("test");

Loading…
Cancel
Save