From 6b711396166ce1a90bffe4d97801557a8de199e7 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期一, 22 八月 2022 16:47:01 +0800 Subject: [PATCH] 优化 --- phi-sms-feign/src/main/java/com/hz/sms/platform/FSmsImmediatelyService.java | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/phi-sms-feign/src/main/java/com/hz/sms/platform/FSmsImmediatelyService.java b/phi-sms-feign/src/main/java/com/hz/sms/platform/FSmsImmediatelyService.java index 0e7122f..e8c9ed0 100644 --- a/phi-sms-feign/src/main/java/com/hz/sms/platform/FSmsImmediatelyService.java +++ b/phi-sms-feign/src/main/java/com/hz/sms/platform/FSmsImmediatelyService.java @@ -2,6 +2,7 @@ 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; @@ -13,27 +14,27 @@ public interface FSmsImmediatelyService { /** - * 鍙戦�佺煭淇¢獙璇佺爜 - * @param smsGeneralSendDto + * 鍙戦�佺煭淇¢獙璇佺爜锛堜俊鎭钩鍙板唴閮ㄦ鏋朵娇鐢級 + * @param smsMassegeMqDto 娑堟伅浣� * @return */ - @PostMapping(value = "/immediately/send/verification/code") - Result sendVerificationCode(@RequestBody SmsGeneralSendDto smsGeneralSendDto); + @PostMapping(value = "/sms/send/verification/code") + Result sendVerificationCode(@RequestBody SmsMassegeMqDto smsMassegeMqDto); /** - * 鍙戦�侀�氱煡鐭俊 - * @param smsGeneralSendDto + * 鍙戦�侀�氱煡鐭俊锛堜俊鎭钩鍙板唴閮ㄦ鏋朵娇鐢級 + * @param smsMassegeMqDto * @return */ - @PostMapping(value = "/immediately/send/notice") - Result sendNoticeSms(@RequestBody SmsGeneralSendDto smsGeneralSendDto); + @PostMapping(value = "/sms/send/notice") + Result sendNoticeSms(@RequestBody SmsMassegeMqDto smsMassegeMqDto); /** - * 鍙戦�佽惀閿�鐭俊 - * @param smsGeneralSendDto + * 鍙戦�佽惀閿�鐭俊锛堜俊鎭钩鍙板唴閮ㄦ鏋朵娇鐢級 + * @param smsMassegeMqDto * @return */ - @PostMapping(value = "/immediately/send/marketing") - Result sendMarketingSend(@RequestBody SmsGeneralSendDto smsGeneralSendDto); + @PostMapping(value = "/sms/send/marketing") + Result sendMarketingSend(@RequestBody SmsMassegeMqDto smsMassegeMqDto); } -- Gitblit v1.8.0