mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-03 12:17:46 +08:00
补充缺失的serialVersionUID
This commit is contained in:
parent
1ac042695d
commit
6dc9d378c5
@ -7,9 +7,9 @@ import me.chanjar.weixin.mp.api.WxMpConfigStorage;
|
||||
import me.chanjar.weixin.mp.api.WxMpService;
|
||||
import me.chanjar.weixin.mp.api.WxMpSubscribeMsgService;
|
||||
import me.chanjar.weixin.mp.bean.subscribe.WxMpSubscribeMessage;
|
||||
import me.chanjar.weixin.mp.enums.WxMpApiUrl;
|
||||
|
||||
import static me.chanjar.weixin.mp.enums.WxMpApiUrl.SubscribeMsg.*;
|
||||
import static me.chanjar.weixin.mp.enums.WxMpApiUrl.SubscribeMsg.SEND_MESSAGE_URL;
|
||||
import static me.chanjar.weixin.mp.enums.WxMpApiUrl.SubscribeMsg.SUBSCRIBE_MESSAGE_AUTHORIZE_URL;
|
||||
|
||||
/**
|
||||
* 一次性订阅消息接口.
|
||||
@ -24,8 +24,8 @@ public class WxMpSubscribeMsgServiceImpl implements WxMpSubscribeMsgService {
|
||||
@Override
|
||||
public String subscribeMsgAuthorizationUrl(String redirectURI, int scene, String reserved) {
|
||||
WxMpConfigStorage storage = this.wxMpService.getWxMpConfigStorage();
|
||||
return String.format(SUBSCRIBE_MESSAGE_AUTHORIZE_URL.getUrl(),
|
||||
storage.getAppId(), scene, storage.getTemplateId(), URIUtil.encodeURIComponent(redirectURI), reserved);
|
||||
return String.format(SUBSCRIBE_MESSAGE_AUTHORIZE_URL.getUrl(), storage.getAppId(), scene, storage.getTemplateId(),
|
||||
URIUtil.encodeURIComponent(redirectURI), reserved);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -17,6 +17,8 @@ import java.io.Serializable;
|
||||
@Data
|
||||
@Builder
|
||||
public class WxPayAppOrderResult implements Serializable {
|
||||
private static final long serialVersionUID = 5408678833978707228L;
|
||||
|
||||
private String sign;
|
||||
private String prepayId;
|
||||
private String partnerId;
|
||||
|
@ -18,6 +18,8 @@ import java.io.Serializable;
|
||||
@Data
|
||||
@Builder
|
||||
public class WxPayMpOrderResult implements Serializable {
|
||||
private static final long serialVersionUID = -7966682379048446567L;
|
||||
|
||||
private String appId;
|
||||
private String timeStamp;
|
||||
private String nonceStr;
|
||||
|
@ -17,6 +17,8 @@ import java.io.Serializable;
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class WxPayMwebOrderResult implements Serializable {
|
||||
private static final long serialVersionUID = 8866329695767762066L;
|
||||
|
||||
@XStreamAlias("mwebUrl")
|
||||
private String mwebUrl;
|
||||
}
|
||||
|
@ -16,5 +16,7 @@ import java.io.Serializable;
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class WxPayNativeOrderResult implements Serializable {
|
||||
private static final long serialVersionUID = 887792717425241444L;
|
||||
|
||||
private String codeUrl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user