This commit is contained in:
zhangchenbiao
2024-05-20 14:14:46 +08:00
parent f2e17cabe2
commit 203d60b7df

View File

@@ -81,6 +81,7 @@ public class CommonService {
} }
public void sendMessage(List<String> userIds, MessageEnum message, Map<String, String> requestMap){ public void sendMessage(List<String> userIds, MessageEnum message, Map<String, String> requestMap){
log.info("message:{}, request:{}, userIds:{}", message.getTitle(), JSONObject.toJSONString(requestMap), JSONObject.toJSONString(userIds));
if(CollectionUtils.isEmpty(userIds)){ if(CollectionUtils.isEmpty(userIds)){
return; return;
} }
@@ -130,6 +131,7 @@ public class CommonService {
} }
public void sendSms(List<String> poneNumbers, SMSMsgEnum templateCode, Map<String, String> templateParamMap){ public void sendSms(List<String> poneNumbers, SMSMsgEnum templateCode, Map<String, String> templateParamMap){
log.info("templateCode:{}, request:{}, poneNumbers:{}", templateCode.getTitle(), JSONObject.toJSONString(templateParamMap), JSONObject.toJSONString(poneNumbers));
List<String> signNameList = new ArrayList<>(); List<String> signNameList = new ArrayList<>();
signNameList.add("酷店掌"); signNameList.add("酷店掌");
AsyncClient client = null; AsyncClient client = null;