2026-04-28 10:23:58 +08:00
|
|
|
|
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);
|
2026-04-30 15:28:20 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 按编码更新配置值并清除该项缓存
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
Task<(bool ok, string message)> SetConfigValueAsync(string code, string value);
|
2026-04-28 10:23:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|