-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
1 parent
5a26077
commit b550806
Showing
6 changed files
with
124 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
44 changes: 44 additions & 0 deletions
44
...ava-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/cloud/WxCloudSendSmsV2Result.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,44 @@ | ||
package cn.binarywang.wx.miniapp.bean.cloud; | ||
|
||
import cn.binarywang.wx.miniapp.bean.WxMaBaseResponse; | ||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
/** | ||
* 发送携带 URL Link 的短信结果 | ||
* | ||
* @author liming1019 | ||
* @date 2022-07-26 | ||
*/ | ||
@Data | ||
public class WxCloudSendSmsV2Result extends WxMaBaseResponse implements Serializable { | ||
private static final long serialVersionUID = 4273038291300329985L; | ||
|
||
@SerializedName("send_status_list") | ||
private List<SendStatus> sendStatusList; | ||
|
||
@NoArgsConstructor | ||
@Data | ||
public static class SendStatus implements Serializable { | ||
private static final long serialVersionUID = 5765836923681051366L; | ||
|
||
@SerializedName("serial_no") | ||
private String serialNo; | ||
|
||
@SerializedName("phone_number") | ||
private String phoneNumber; | ||
|
||
@SerializedName("code") | ||
private String code; | ||
|
||
@SerializedName("message") | ||
private String message; | ||
|
||
@SerializedName("iso_code") | ||
private String isoCode; | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...pp/src/main/java/cn/binarywang/wx/miniapp/bean/cloud/request/WxCloudSendSmsV2Request.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,41 @@ | ||
package cn.binarywang.wx.miniapp.bean.cloud.request; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
/** | ||
* 发送携带 URL Link 的短信请求 | ||
* | ||
* @author liming1019 | ||
* @date 2022-07-26 | ||
*/ | ||
@Data | ||
@Builder | ||
public class WxCloudSendSmsV2Request implements Serializable { | ||
private static final long serialVersionUID = 8917033507660980594L; | ||
|
||
@SerializedName("env") | ||
private String env; | ||
|
||
@SerializedName("url_link") | ||
private String urlLink; | ||
|
||
@SerializedName("template_id") | ||
private String templateId; | ||
|
||
@SerializedName("template_param_list") | ||
private List<String> templateParamList; | ||
|
||
@SerializedName("phone_number_list") | ||
private List<String> phoneNumberList; | ||
|
||
@SerializedName("use_short_name") | ||
private Boolean useShortName; | ||
|
||
@SerializedName("resource_appid") | ||
private String resourceAppid; | ||
} |
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