测试推送

This commit is contained in:
2025-10-15 18:00:43 +08:00
parent 706b8e64d3
commit 234a1cbda4
3 changed files with 14 additions and 0 deletions

View File

@@ -64,6 +64,13 @@ 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);