server_commit
This commit is contained in:
@@ -105,7 +105,7 @@ public class MsgNotifyTitleController {
|
||||
@RequiresAuthentication
|
||||
public Object doSend(String id, String[] sendTypes, String content) {
|
||||
List<NutMap> msgNotifyUser = msgNotifyService.getMsgNotifyUser(id);
|
||||
String userData = msgNotifyService.userData(msgNotifyUser);
|
||||
List<String> userData = msgNotifyService.userData(msgNotifyUser);
|
||||
msgNotifyService.sendMsg(Arrays.asList(sendTypes), userData, content);
|
||||
msgNotifyUser.forEach(v -> {
|
||||
baseService.dao().update(MsgNotify.class, Chain.make("hold", true).add("sendTime", DateUtil.getDateTime()), Cnd.where("id", "=", v.getString("titleId")));
|
||||
|
||||
Reference in New Issue
Block a user