update 更正 短信演示案例 方法命名
This commit is contained in:
parent
71e392c1f9
commit
44a8025e0f
@ -31,7 +31,7 @@ public class SmsController {
|
|||||||
|
|
||||||
@ApiOperation("发送短信Aliyun")
|
@ApiOperation("发送短信Aliyun")
|
||||||
@GetMapping("/sendAliyun")
|
@GetMapping("/sendAliyun")
|
||||||
public R<Object> sendSimpleMessage(@ApiParam("电话号") String phones,
|
public R<Object> sendAliyun(@ApiParam("电话号") String phones,
|
||||||
@ApiParam("模板ID") String templateId) {
|
@ApiParam("模板ID") String templateId) {
|
||||||
Map<String, String> map = new HashMap<>(1);
|
Map<String, String> map = new HashMap<>(1);
|
||||||
map.put("code", "1234");
|
map.put("code", "1234");
|
||||||
@ -41,7 +41,7 @@ public class SmsController {
|
|||||||
|
|
||||||
@ApiOperation("发送短信Tencent")
|
@ApiOperation("发送短信Tencent")
|
||||||
@GetMapping("/sendTencent")
|
@GetMapping("/sendTencent")
|
||||||
public R<Object> sendMessageWithAttachment(@ApiParam("电话号") String phones,
|
public R<Object> sendTencent(@ApiParam("电话号") String phones,
|
||||||
@ApiParam("模板ID") String templateId) {
|
@ApiParam("模板ID") String templateId) {
|
||||||
Map<String, String> map = new HashMap<>(1);
|
Map<String, String> map = new HashMap<>(1);
|
||||||
// map.put("2", "测试测试");
|
// map.put("2", "测试测试");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user