123333
This commit is contained in:
@@ -148,6 +148,12 @@ public class ImService {
|
|||||||
Account account = accountService.getByUserId(fromUserId);
|
Account account = accountService.getByUserId(fromUserId);
|
||||||
ImResp resp = new ImResp();
|
ImResp resp = new ImResp();
|
||||||
resp.setCoin(account.getCoin()+ account.getIncomeCoin());
|
resp.setCoin(account.getCoin()+ account.getIncomeCoin());
|
||||||
|
UserChatRecord record = userChatRecordService.saveRecord(fromUser, toUser, null, message);
|
||||||
|
if(filter == 1){
|
||||||
|
userChatFilterService.saveFilter(fromUser, toUser, message.getContent(),content);
|
||||||
|
}
|
||||||
|
resp.setRecordId(record.getId());
|
||||||
|
resp.setFilter(filter);
|
||||||
resp.setContent(content);
|
resp.setContent(content);
|
||||||
return resp;
|
return resp;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user