james 1 年之前
父節點
當前提交
ec20873bea

+ 1 - 1
service-iot/service-iot-biz/src/main/java/com/usky/iot/controller/web/WeChatController.java

@@ -69,7 +69,7 @@ public class WeChatController {
     /**
      * 调用的第一个接口,获取微信公众号CODE,获取openid
      */
-    @GetMapping("/getFirst1")
+    @RequestMapping("/getFirst1")
     public void getFirst1() throws ServletException, IOException, WxErrorException {
         String http = "https://";
         String code = request.getParameter("code");