|
|
|
@@ -8,6 +8,7 @@ import com.iformall.enums.*; |
|
|
|
import com.iformall.mapper.WxMsgMapper; |
|
|
|
import com.iformall.mq.MqBaseProducer; |
|
|
|
import com.iformall.service.WxMsgRecordService; |
|
|
|
import com.iformall.service.msg.MsgSendService; |
|
|
|
import com.iformall.service.msg.impl.SendCallBackSmsServiceImpl; |
|
|
|
import com.iformall.utils.JsonUtil; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
@@ -28,7 +29,7 @@ public class WxMsgRecordController extends BaseController { |
|
|
|
@Autowired |
|
|
|
private MqBaseProducer mqBaseProducer; |
|
|
|
@Autowired |
|
|
|
private SendCallBackSmsServiceImpl msgSendService; |
|
|
|
private SendCallBackSmsServiceImpl sendCallBackSmsService; |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping(value = "/test") |
|
|
|
@@ -52,7 +53,7 @@ public class WxMsgRecordController extends BaseController { |
|
|
|
wxMsg.setMsgType(EnumMsgRecordType.SMS_CALLBACK.getCode()); |
|
|
|
wxMsg.setReceiver("18601973448"); |
|
|
|
wxMsg.setTenantId("456"); |
|
|
|
msgSendService.send(wxMsg); |
|
|
|
sendCallBackSmsService.send(wxMsg); |
|
|
|
return new ResultData(); |
|
|
|
} |
|
|
|
|
|
|
|
|