refactor: 消除警告信息
This commit is contained in:
parent
2308252fd9
commit
4204cf2e19
|
@ -51,13 +51,13 @@ namespace Bootstrap.Client.DataAccess
|
||||||
/// 获得 是否为演示系统 默认为 false 不是演示系统
|
/// 获得 是否为演示系统 默认为 false 不是演示系统
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public bool RetrieveSystemModel() => LgbConvert.ReadValue(DictHelper.RetrieveDicts().FirstOrDefault(d => d.Category == "网站设置" && d.Name == "演示系统" && d.Define == 0)?.Code, "0") == "1";
|
public bool RetrieveSystemModel() => DictHelper.RetrieveDicts().FirstOrDefault(d => d.Category == "网站设置" && d.Name == "演示系统" && d.Define == 0)?.Code == "1";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获得 验证码图床地址
|
/// 获得 验证码图床地址
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public string RetrieveImagesLibUrl() => DictHelper.RetrieveDicts().FirstOrDefault(d => d.Category == "网站设置" && d.Name == "验证码图床" && d.Define == 0)?.Code ?? "http://images.sdgxgz.com/";
|
public string RetrieveImagesLibUrl() => DictHelper.RetrieveDicts().FirstOrDefault(d => d.Category == "网站设置" && d.Name == "验证码图床" && d.Define == 0)?.Code ?? "http://images.blazor.zone/";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获得 数据库标题是否显示
|
/// 获得 数据库标题是否显示
|
||||||
|
|
Loading…
Reference in New Issue