肖洋
2024-12-02 990054356cfd11b5c7e5f093443aa07757afc62a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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);
    }
}