|
|
|
@ -28,8 +28,8 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
public class PushMsgClient implements IPushMsgClient { |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@PostMapping("/sendMail") |
|
|
|
|
@ApiOperation("发送邮件") |
|
|
|
|
@PostMapping("/sendSms") |
|
|
|
|
@ApiOperation("发送短信") |
|
|
|
|
@ApiOperationSupport(order=1) |
|
|
|
|
public R<String> sendSms(SmsPushDto smsPushDto) { |
|
|
|
|
IPushService pushService = SpringUtil.getBean("smsPushService"); |
|
|
|
@ -37,8 +37,8 @@ public class PushMsgClient implements IPushMsgClient {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@PostMapping("/sendSms") |
|
|
|
|
@ApiOperation("发送短信") |
|
|
|
|
@PostMapping("/sendMail") |
|
|
|
|
@ApiOperation("发送邮件") |
|
|
|
|
@ApiOperationSupport(order=2) |
|
|
|
|
public R<String> sendMail(MailPushDto mailPushDto) { |
|
|
|
|
IPushService pushService = SpringUtil.getBean("mailPushService"); |
|
|
|
|