| using Microsoft.AspNetCore.Mvc; | 
| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEA_Core; | 
| using WIDESEAWCS_Core.BaseServices; | 
| using WIDESEAWCS_Model.Models; | 
|   | 
| namespace WIDESEAWCS_ISystemServices | 
| { | 
|     public interface ISys_ConfigService : IService<Sys_Config> | 
|     { | 
|         /// <summary> | 
|         /// 获取所有系统配置 | 
|         /// </summary> | 
|         /// <returns></returns> | 
|         List<Sys_Config> GetAll(); | 
|   | 
|         /// <summary> | 
|         /// 根据类别获取系统配置 | 
|         /// </summary> | 
|         /// <param name="category">类别</param> | 
|         /// <returns></returns> | 
|         List<Sys_Config> GetConfigsByCategory(string category); | 
|   | 
|         /// <summary> | 
|         /// 根据类别和Key获取系统配置 | 
|         /// </summary> | 
|         /// <param name="category">类别</param> | 
|         /// <param name="configKey">配置Key</param> | 
|         /// <returns></returns> | 
|         Sys_Config GetByConfigKey(string category, string configKey); | 
|     } | 
| } |