Files
qhmes/yy-admin-master/YY.Admin.Services/Service/Config/ISysConfigService.cs

19 lines
458 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YY.Admin.Services.Service.Config
{
public interface ISysConfigService
{
Task<T> GetConfigValue<T>(string code);
/// <summary>
/// 按编码更新配置值并清除该项缓存
/// </summary>
Task<(bool ok, string message)> SetConfigValueAsync(string code, string value);
}
}