mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
格式化代码,并清理无用代码
This commit is contained in:
@@ -53,7 +53,7 @@ public class WxOpenXmlMessage implements Serializable {
|
||||
@XStreamConverter(value = XStreamCDataConverter.class)
|
||||
private String preAuthCode;
|
||||
|
||||
public static String wxMpOutXmlMessageToEncryptedXml(WxMpXmlOutMessage message, WxOpenConfigStorage wxOpenConfigStorage){
|
||||
public static String wxMpOutXmlMessageToEncryptedXml(WxMpXmlOutMessage message, WxOpenConfigStorage wxOpenConfigStorage) {
|
||||
String plainXml = message.toXml();
|
||||
WxOpenCryptUtil pc = new WxOpenCryptUtil(wxOpenConfigStorage);
|
||||
return pc.encrypt(plainXml);
|
||||
|
||||
@@ -15,7 +15,8 @@ public class WxOpenAuthorizerInfoResult implements Serializable {
|
||||
|
||||
private WxOpenAuthorizationInfo authorizationInfo;
|
||||
private WxOpenAuthorizerInfo authorizerInfo;
|
||||
public boolean isMiniProgram(){
|
||||
|
||||
public boolean isMiniProgram() {
|
||||
return authorizerInfo != null && authorizerInfo.getMiniProgramInfo() != null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user