Browse Source

微信get,post共用

zhaops 5 years ago
parent
commit
9a7207f4f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      zzcx-service/src/main/java/com/diagbot/web/WexinController.java

+ 1 - 1
zzcx-service/src/main/java/com/diagbot/web/WexinController.java

@@ -35,7 +35,7 @@ public class WexinController {
     @Autowired
     @Autowired
     WeixinFacade weixinFacade;
     WeixinFacade weixinFacade;
 
 
-    @PostMapping("/getConfig")
+    @RequestMapping("/getConfig")
     public RespDTO<Map> getConfig(@RequestBody WeixinVO weixinVO) {
     public RespDTO<Map> getConfig(@RequestBody WeixinVO weixinVO) {
         Map<String, String> map = weixinFacade.getConfig(weixinVO);
         Map<String, String> map = weixinFacade.getConfig(weixinVO);
         return RespDTO.onSuc(map);
         return RespDTO.onSuc(map);