mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
🎨 抽取公共代码
This commit is contained in:
parent
26795ee056
commit
d650bb64e6
@ -0,0 +1,25 @@
|
|||||||
|
package cn.binarywang.wx.miniapp.bean;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数据水印.
|
||||||
|
*
|
||||||
|
* @author <a href="https://github.com/binarywang">Binary Wang</a>
|
||||||
|
* @date 2020-05-25
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class Watermark implements Serializable {
|
||||||
|
private static final long serialVersionUID = 2375642809946928650L;
|
||||||
|
|
||||||
|
private String timestamp;
|
||||||
|
private String appid;
|
||||||
|
}
|
@ -23,11 +23,4 @@ public class WxMaPhoneNumberInfo implements Serializable {
|
|||||||
return WxMaGsonBuilder.create().fromJson(json, WxMaPhoneNumberInfo.class);
|
return WxMaGsonBuilder.create().fromJson(json, WxMaPhoneNumberInfo.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Data
|
|
||||||
public static class Watermark implements Serializable {
|
|
||||||
private static final long serialVersionUID = 2375642809946928650L;
|
|
||||||
|
|
||||||
private String timestamp;
|
|
||||||
private String appid;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -27,9 +27,4 @@ public class WxMaUserInfo implements Serializable {
|
|||||||
return WxMaGsonBuilder.create().fromJson(json, WxMaUserInfo.class);
|
return WxMaGsonBuilder.create().fromJson(json, WxMaUserInfo.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Data
|
|
||||||
public static class Watermark {
|
|
||||||
private String timestamp;
|
|
||||||
private String appid;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user