Commit f7a09526 authored by jiaorz's avatar jiaorz

Merge branch 'master-modify-cutAmount' into dev

parents 099eb32f 26748596
......@@ -325,11 +325,10 @@ public class MsgBiz {
public Integer getNumber() {
Integer number = 0;
Map<String, Dictionary> dictionaryMap = thirdFeign.dictionaryGetAll4Map().getData();
log.info("查询字典表的结果为: dictionaryMap = {}", dictionaryMap);
if (MapUtils.isNotEmpty(dictionaryMap)) {
Dictionary dictionary = dictionaryMap.get(IM_TYPE + "_" + DictionaryKey.MSG_LIMIT_NUMBER);
log.info("查询IM限制数为字典表的结果为: dictionary = {}", dictionary.toString());
if (dictionary != null && StringUtils.isNotBlank(dictionary.getDetail())) {
log.info("查询IM限制数为字典表的结果为: dictionary = {}", dictionary.toString());
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