using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Ys.Core.Common; using Ys.Core.Common.Email; using djy.Paas.IService; using djy.Paas.Model; using System.Text.Json; using Hangfire; namespace djy.Paas.Service { /// /// 菜单模型 /// public class MenuListService : ServBase, IMenuListService { public MenuListService(string dbkey = DbList.djypublicedb) : base(dbkey) { } public ReturnResult GetKey(string Key) { var rs = new ReturnResult(); try { var menu = DbBus.Get(DbList.djypublicedb).Select().Where(w => w.Key == Key).ToOne(); if (menu != null) { rs.Data = menu; rs.OK("ok"); } } catch { } return rs; } } }