瀏覽代碼

Merge branch 'master' of ssh://192.168.8.213:10022/miaxis/zzjs

Althars123 3 年之前
父節點
當前提交
1886dfb808

+ 7 - 0
zzjs-common/src/main/java/com/miaxis/common/constant/Constants.java

@@ -72,6 +72,13 @@ public class Constants
      */
     public static final String XCX_MESSAGE_TOKEN = "xcx:message:token:";
 
+
+    /**
+     * 公众号消息推送 token
+     */
+    public static final String GZH_MESSAGE_TOKEN = "gzh:message:token:";
+
+
     /**
      * 登录用户 redis key
      */

+ 6 - 0
zzjs-service/src/main/java/com/miaxis/feign/service/IWxSendService.java

@@ -27,4 +27,10 @@ public interface IWxSendService {
     String getAccessToken(@RequestParam("grant_type") String grant_type,
                           @RequestParam("appid") String appid,
                           @RequestParam("secret") String secret);
+
+    @GetMapping(value = "/user/get")
+    String getUser(@RequestParam("grant_type") String grant_type,
+                          @RequestParam("appid") String appid,
+                          @RequestParam("secret") String secret);
+
 }