You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
992 B

using System.Collections.Generic;
using Znyc.Admin.Commons.IServices;
using Znyc.Admin.Security.Dtos;
using Znyc.Admin.Security.Entitys;
namespace Znyc.Admin.Security.IServices
{
/// <summary>
///
/// </summary>
public interface IAPPService : IService<APP, AppOutputDto, long>
{
/// <summary>
/// 获取app对象
/// </summary>
/// <param name="appid">应用ID</param>
/// <param name="secret">应用密钥AppSecret</param>
/// <returns></returns>
APP GetAPP(string appid, string secret);
/// <summary>
/// 获取app对象
/// </summary>
/// <param name="appid">应用ID</param>
/// <returns></returns>
APP GetAPP(string appid);
/// <summary>
///
/// </summary>
/// <returns></returns>
IList<AppOutputDto> SelectApp();
/// <summary>
/// 更新可用的应用到缓存
/// </summary>
void UpdateCacheAllowApp();
}
}