using Tiger.Model; using SqlSugar; using System; using System.Collections.Generic; using Tiger.IBusiness; using System.Threading.Tasks; using Rhea.Common; using System.Net; using System.Linq; using Newtonsoft.Json; namespace Tiger.Business { public partial class Biz { /// /// 获取参数 /// /// /// /// public async Task>> getSysParam( string group, string code) { var action = new ApiAction>(); try { action.Data = code.IsNullOrEmpty()? Cache.SysParam.Params.Where(x=>x.PRMG_CODE == group).ToList(): new List() { Cache.SysParam[code, group] } ; action.Message = $"获取参数成功。"; } catch (Exception ex) { action.CatchExceptionWithLog(ex, $"获取参数异常"); } return action; } } }