Browse Source

# 邮件发送feign接口调用报错bug

zhongwei
haungxing 1 year ago
parent
commit
7c4c2c4ff8
  1. 8
      hzims-service/message/src/main/java/com/hnac/hzims/message/push/feign/PushMsgClient.java

8
hzims-service/message/src/main/java/com/hnac/hzims/message/push/feign/PushMsgClient.java

@ -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");

Loading…
Cancel
Save