|
|
|
@@ -27,8 +27,6 @@ public class WxMsgRecordController extends BaseController { |
|
|
|
@Autowired |
|
|
|
private MqBaseProducer mqBaseProducer; |
|
|
|
@Autowired |
|
|
|
private WxMsgMapper wxMsgMapper; |
|
|
|
@Autowired |
|
|
|
private SendCallBackSmsServiceImpl msgSendService; |
|
|
|
|
|
|
|
|
|
|
|
@@ -64,9 +62,11 @@ public class WxMsgRecordController extends BaseController { |
|
|
|
*/ |
|
|
|
@GetMapping(value = "/resendMsg") |
|
|
|
public ResultData resendMsg(String x, Integer msgType) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxMsgRecordController::resendMsg"); |
|
|
|
if("xll1dxx1314".equals(x)){ |
|
|
|
WxMsgRecord msgRecord = new WxMsgRecord(); |
|
|
|
msgRecord.setMsgType(msgType); |
|
|
|
msgRecord.setTenantId(getTenantId()); |
|
|
|
msgRecord.setMsgStatus(EnumMsgRecordStatus.CONSUME_FAIL.getCode()); |
|
|
|
List<WxMsgRecord> recordList = wxMsgRecordService.findList(msgRecord); |
|
|
|
for (WxMsgRecord wxMsgRecord:recordList) { |
|
|
|
|