-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/ma/WxMaPrefetchDomain.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package me.chanjar.weixin.open.bean.ma; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
/** | ||
* @author 清心 | ||
* create on 2022-10-01 18:07 | ||
*/ | ||
@Data | ||
public class WxMaPrefetchDomain implements Serializable { | ||
private static final long serialVersionUID = 1593947263587362155L; | ||
|
||
@SerializedName("prefetch_dns_domain") | ||
private List<DnsDomain> prefetchDnsDomain; | ||
|
||
@Data | ||
public static class DnsDomain { | ||
private String url; | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...a-open/src/main/java/me/chanjar/weixin/open/bean/result/WxOpenMaPrefetchDomainResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package me.chanjar.weixin.open.bean.result; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author 清心 | ||
* create on 2022-10-01 18:25 | ||
*/ | ||
@EqualsAndHashCode(callSuper = true) | ||
@Data | ||
public class WxOpenMaPrefetchDomainResult extends WxOpenResult{ | ||
|
||
@SerializedName("prefetch_dns_domain") | ||
private List<PreDnsDomain> prefetchDnsDomain; | ||
|
||
@SerializedName("size_limit") | ||
private Integer sizeLimit; | ||
|
||
@Data | ||
public static class PreDnsDomain { | ||
|
||
@SerializedName("url") | ||
private String url; | ||
|
||
@SerializedName("status") | ||
private Integer status; | ||
} | ||
|
||
} |