优化TokenCreator相关类
This commit is contained in:
@@ -36,6 +36,10 @@ public final class Consts {
|
||||
* 企业号获取token的url
|
||||
*/
|
||||
public static final String QY_ASSESS_TOKEN_URL = "https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=%s&corpsecret=%s";
|
||||
/**
|
||||
* 企业号提供商获取token的url
|
||||
*/
|
||||
public static final String QY_PROVIDER_TOKEN_URL = "https://qyapi.weixin.qq.com/cgi-bin/service/get_provider_token";
|
||||
/**
|
||||
* 公众平台jssdk获取token的url
|
||||
*/
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.alibaba.fastjson.JSON;
|
||||
import com.foxinmy.weixin4j.model.WeixinAccount;
|
||||
|
||||
/**
|
||||
* 公众号配置
|
||||
* 公众号配置信息 class路径下weixin4j.properties文件
|
||||
*
|
||||
* @className ConfigUtil
|
||||
* @author jy
|
||||
@@ -40,7 +40,7 @@ public class ConfigUtil {
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取weixin.properties文件中的key值
|
||||
* 获取weixin4j.properties文件中的key值
|
||||
*
|
||||
* @param key
|
||||
* @return
|
||||
|
||||
Reference in New Issue
Block a user