|
|
@@ -1,8 +1,6 @@
|
|
|
package com.kym.common.utils.wx;
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 微信公众开发配置类
|
|
|
* create by yaop at 2019/4/6 0:05
|
|
|
@@ -10,30 +8,27 @@ package com.kym.common.utils.wx;
|
|
|
public class WxPbConfig {
|
|
|
|
|
|
|
|
|
- //TODO
|
|
|
+ //TODO
|
|
|
// static String TOKEN = ConfigUtil.getProperty("wx.pb.token");
|
|
|
// //微信支付分配的公众账号ID(企业号corpid即为此appId)
|
|
|
// public static final String PUBLIC_APP_ID = ConfigUtil.getProperty("wx.pb.appid");
|
|
|
// public static final String PUBLIC_APP_SECRET = ConfigUtil.getProperty("wx.pb.appsecret");
|
|
|
|
|
|
- static String TOKEN = "";
|
|
|
//微信支付分配的公众账号ID(企业号corpid即为此appId)
|
|
|
- public static final String PUBLIC_APP_ID = "";
|
|
|
- public static final String PUBLIC_APP_SECRET = "";
|
|
|
-
|
|
|
+ public static final String PUBLIC_APP_ID = "wx93b0ef1be901bd19";
|
|
|
+ public static final String PUBLIC_APP_SECRET = "eea715b3058717f44e17c3e4e5cf1d2f";
|
|
|
//场景值
|
|
|
- static final int SCENE_订阅=100;
|
|
|
- static final int SCENE_取消订阅=101;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 获取微信接口授权token
|
|
|
- */
|
|
|
- static String API_ACCESS_TOKEN = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s";
|
|
|
+ static final int SCENE_订阅 = 100;
|
|
|
+ static final int SCENE_取消订阅 = 101;
|
|
|
/**
|
|
|
* 刷新微信接口授权token
|
|
|
*/
|
|
|
public static String API_REFRESH_TOKEN = "https://api.weixin.qq.com/sns/oauth2/refresh_token?grant_type=refresh_token&appid=%s&refresh_token=%s";
|
|
|
+ static String TOKEN = "kym";
|
|
|
+ /**
|
|
|
+ * 获取微信接口授权token
|
|
|
+ */
|
|
|
+ static String API_ACCESS_TOKEN = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s";
|
|
|
/**
|
|
|
* 查询用户关注状态
|
|
|
*/
|