| | |
| | | |
| | | import com.hx.resultTool.Result; |
| | | import com.hz.sms.dto.SmsGeneralSendDto; |
| | | import com.hz.sms.dto.mq.SmsMassegeMqDto; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | |
| | | /** |
| | | * 发送短信验证码 |
| | | * @param smsGeneralSendDto |
| | | * @param smsMassegeMqDto 消息体 |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/sms/send/verification/code") |
| | | Result sendVerificationCode(@RequestBody SmsGeneralSendDto smsGeneralSendDto); |
| | | Result sendVerificationCode(@RequestBody SmsMassegeMqDto smsMassegeMqDto); |
| | | |
| | | /** |
| | | * 发送通知短信 |
| | | * @param smsGeneralSendDto |
| | | * @param smsMassegeMqDto |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/sms/send/notice") |
| | | Result sendNoticeSms(@RequestBody SmsGeneralSendDto smsGeneralSendDto); |
| | | Result sendNoticeSms(@RequestBody SmsMassegeMqDto smsMassegeMqDto); |
| | | |
| | | /** |
| | | * 发送营销短信 |
| | | * @param smsGeneralSendDto |
| | | * @param smsMassegeMqDto |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/sms/send/marketing") |
| | | Result sendMarketingSend(@RequestBody SmsGeneralSendDto smsGeneralSendDto); |
| | | Result sendMarketingSend(@RequestBody SmsMassegeMqDto smsMassegeMqDto); |
| | | |
| | | } |