-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
增加小程序云开发短信接口 #2755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
增加小程序云开发短信接口 #2755
Changes from all commits
991c9e6
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.