chenjiahe
2022-08-19 40629540d1ab5ffc5d60b37c38a72b1c5ae8302a
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;
@@ -14,26 +15,26 @@
    /**
     * 发送短信验证码
     * @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);
}