Commit 26748596 authored by jiaorz's avatar jiaorz

Merge branch 'master-modify-cutAmount' into dev

# Conflicts:
#	xx-im/xx-im-server/src/main/java/com/xxfc/platform/im/biz/MsgBiz.java
parent bfb09049
...@@ -325,11 +325,10 @@ public class MsgBiz { ...@@ -325,11 +325,10 @@ public class MsgBiz {
public Integer getNumber() { public Integer getNumber() {
Integer number = 0; Integer number = 0;
Map<String, Dictionary> dictionaryMap = thirdFeign.dictionaryGetAll4Map().getData(); Map<String, Dictionary> dictionaryMap = thirdFeign.dictionaryGetAll4Map().getData();
log.info("查询字典表的结果为: dictionaryMap = {}", dictionaryMap);
if (MapUtils.isNotEmpty(dictionaryMap)) { if (MapUtils.isNotEmpty(dictionaryMap)) {
Dictionary dictionary = dictionaryMap.get(IM_TYPE + "_" + DictionaryKey.MSG_LIMIT_NUMBER); Dictionary dictionary = dictionaryMap.get(IM_TYPE + "_" + DictionaryKey.MSG_LIMIT_NUMBER);
log.info("查询IM限制数为字典表的结果为: dictionary = {}", dictionary.toString());
if (dictionary != null && StringUtils.isNotBlank(dictionary.getDetail())) { if (dictionary != null && StringUtils.isNotBlank(dictionary.getDetail())) {
log.info("查询IM限制数为字典表的结果为: dictionary = {}", dictionary.toString());
number = Integer.parseInt(dictionary.getDetail()); number = Integer.parseInt(dictionary.getDetail());
} }
} }
......
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