Commit c88fa583 by 陶光胜

取数平台权限

parent 528d85af
......@@ -42,7 +42,9 @@ public class AlarmController {
Integer alarmWay = enterprise.getAlarmWay();
FreeQuerySource freeQuerySource = this.freeQueryService.getFreeQuerySource(SessionContextUtils.getLoginUserEnterpriseId());
Date expireTime = freeQuerySource.getDbExpiration();
return this.getAlarmResult(expireTime, alarmWay);
Map<String, Object> alarmResult = this.getAlarmResult(expireTime, alarmWay);
alarmResult.put("isPrivate", freeQuerySource.getIsPrivate());
return alarmResult;
}
private Map<String, Object> getAlarmResult(Date expireTime, Integer alarmWay){
......
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