测试推送结束

This commit is contained in:
wangw 2025-10-15 18:06:29 +08:00
parent 234a1cbda4
commit 5a18dcf8a0
3 changed files with 0 additions and 14 deletions

View File

@ -53,10 +53,4 @@ public class SmsShopTemplateController {
templateService.resubmit(param);
return CzgResult.success();
}
@PostMapping("/testSend")
public CzgResult<Void> resubmit() {
templateService.testSend();
return CzgResult.success();
}
}

View File

@ -24,5 +24,4 @@ public interface SmsShopTemplateService extends IService<SmsShopTemplate> {
void addTemplate(SmsShopTemplateDTO param);
void resubmit(SmsShopTemplateDTO param);
void testSend();
}

View File

@ -64,13 +64,6 @@ public class SmsShopTemplateServiceImpl extends ServiceImpl<SmsShopTemplateMappe
sendApplyMsg(template.getShopId(), template.getId());
}
@Override
public void testSend() {
sendApplyMsg(1L, 1L);
rabbitPublisher.sendApplySmsTemplateMsg("413241324,5234523");
}
private void sendApplyMsg(Long shopId, Long templateId) {
// 推送消息 进行 阿里模板申请
rabbitPublisher.sendApplySmsTemplateMsg(shopId + "," + templateId);