weixin4j-base:主要调整退款相关类与官网一致
This commit is contained in:
@@ -220,7 +220,7 @@ public class OauthApi extends MpApi {
|
||||
}
|
||||
|
||||
/**
|
||||
* 请求CODE
|
||||
* 微信开放平台oauth授权:请求CODE
|
||||
*
|
||||
* @param redirectUri
|
||||
* 重定向地址 域名与审核时填写的授权域名一致
|
||||
|
||||
@@ -24,4 +24,6 @@
|
||||
|
||||
* UserApi `用户管理API`
|
||||
|
||||
* TagApi `用户标签管理API`
|
||||
* TagApi `用户标签管理API`
|
||||
|
||||
* ComponentApi `第三方组件API`
|
||||
+1
-1
@@ -9,7 +9,7 @@ import com.foxinmy.weixin4j.token.TokenCreator;
|
||||
import com.foxinmy.weixin4j.token.TokenManager;
|
||||
|
||||
/**
|
||||
* 微信开发平台应用组件预授权码创建
|
||||
* 微信开放平台应用组件预授权码创建
|
||||
*
|
||||
* @className WeixinComponentPreCodeCreator
|
||||
* @author jinyu(foxinmy@gmail.com)
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import com.foxinmy.weixin4j.token.TicketManager;
|
||||
import com.foxinmy.weixin4j.token.TokenCreator;
|
||||
|
||||
/**
|
||||
* 微信开发平台应用组件凭证创建
|
||||
* 微信开放平台应用组件凭证创建
|
||||
*
|
||||
* @className WeixinComponentTokenCreator
|
||||
* @author jinyu(foxinmy@gmail.com)
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ public class WeixinTokenComponentCreator extends TokenCreator {
|
||||
|
||||
@Override
|
||||
public String key0() {
|
||||
return String.format("mp_token_suite_%s_%s",
|
||||
return String.format("mp_token_component_%s_%s",
|
||||
perTicketManager.getThirdId(), perTicketManager.getAuthAppId());
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,10 @@ public class TemplateMessage implements Serializable {
|
||||
private final static String TAIL_KEY = "remark";
|
||||
private final static String DEFAULT_COLOR = "#173177";
|
||||
|
||||
public TemplateMessage(String toUser, String templateId, String url) {
|
||||
@JSONCreator
|
||||
public TemplateMessage(@JSONField(name = "toUser") String toUser,
|
||||
@JSONField(name = "templateId") String templateId,
|
||||
@JSONField(name = "url") String url) {
|
||||
this.toUser = toUser;
|
||||
this.templateId = templateId;
|
||||
this.url = url;
|
||||
|
||||
Reference in New Issue
Block a user