Commit 179b8a15 authored by jiaorz's avatar jiaorz Committed by libin

Merge branch 'master-modify-cutAmount' into dev

parent 71e49a72
...@@ -324,11 +324,11 @@ public class MsgBiz { ...@@ -324,11 +324,11 @@ public class MsgBiz {
public Integer getNumber() { public Integer getNumber() {
Integer number = 0; Integer number = 0;
Dictionary dictionary = thirdFeign.findDictionaryByTypeAndCode(IM_TYPE, DictionaryKey.MSG_LIMIT_NUMBER); Dictionary dictionary = thirdFeign.findDictionaryByTypeAndCode(IM_TYPE, DictionaryKey.MSG_LIMIT_NUMBER);
if (dictionary != null && StringUtils.isNotBlank(dictionary.getDetail())) { if (dictionary != null && StringUtils.isNotBlank(dictionary.getDetail())) {
log.info("查询IM限制数为字典表的结果为: dictionary = {}", dictionary.toString()); log.info("查询IM限制数为字典表的结果为: dictionary = {}", dictionary.toString());
number = Integer.parseInt(dictionary.getDetail()); number = Integer.parseInt(dictionary.getDetail());
} }
log.info("IM消息数限制为: number = {}", number); log.info("IM消息数限制为: number = {}", number);
return number; return number;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment