doc: 格式化代码
This commit is contained in:
parent
76fe5d7fcd
commit
bb6aa0723e
|
@ -192,7 +192,7 @@ class DictService : BaseDatabase, IDict
|
|||
var dicts = GetAll();
|
||||
|
||||
// appId 为空时读取前台列表取第一个应用作为默认应用
|
||||
appId ??= GetApps().FirstOrDefault(d => d.Key != "BA").Key ?? AppId;
|
||||
appId ??= GetApps().FirstOrDefault(d => d.Key != AppId).Key ?? AppId;
|
||||
url = dicts.FirstOrDefault(d => d.Category == "应用首页" && d.Name.Equals(appId, StringComparison.OrdinalIgnoreCase) && d.Define == EnumDictDefine.System)?.Code;
|
||||
return url;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue