Files
KinginfoGateway/framework/ThingsGateway.Admin.Application/System/Services/Spa/ISpaService.cs

51 lines
1.6 KiB
C#
Raw Normal View History

2023-05-23 23:54:28 +08:00
#region copyright
//------------------------------------------------------------------------------
// 此代码版权声明为全文件覆盖,如有原作者特别声明,会在下方手动补充
// 此代码版权除特别声明外的代码归作者本人Diego所有
// 源代码使用协议遵循本仓库的开源协议及附加协议
2023-07-16 17:48:22 +08:00
// Gitee源代码仓库https://gitee.com/diego2098/ThingsGateway
2023-05-23 23:54:28 +08:00
// Github源代码仓库https://github.com/kimdiego2098/ThingsGateway
2023-07-16 17:48:22 +08:00
// 使用文档https://diego2098.gitee.io/thingsgateway-docs/
2023-05-23 23:54:28 +08:00
// QQ群605534569
//------------------------------------------------------------------------------
#endregion
2023-08-07 15:09:53 +08:00
using Furion.DependencyInjection;
2023-08-07 15:09:53 +08:00
using ThingsGateway.Admin.Core;
2023-03-04 18:41:11 +08:00
2023-08-07 15:09:53 +08:00
namespace ThingsGateway.Admin.Application;
2023-06-06 19:37:04 +08:00
/// <summary>
2023-08-07 15:09:53 +08:00
/// 单页服务
2023-06-06 19:37:04 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
public interface ISpaService : ITransient
2023-03-04 18:41:11 +08:00
{
/// <summary>
2023-08-07 15:09:53 +08:00
/// 添加单页
2023-06-06 19:37:04 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
/// <param name="input">添加参数</param>
2023-06-06 19:37:04 +08:00
/// <returns></returns>
2023-08-07 15:09:53 +08:00
Task AddAsync(SpaAddInput input);
2023-06-06 19:37:04 +08:00
/// <summary>
2023-08-07 15:09:53 +08:00
/// 删除单页
2023-03-29 16:22:01 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
/// <param name="input">删除参数</param>
/// <returns></returns>
Task DeleteAsync(params long[] input);
/// <summary>
2023-08-07 15:09:53 +08:00
/// 编辑单页
/// </summary>
2023-08-07 15:09:53 +08:00
/// <param name="input">编辑参数</param>
/// <returns></returns>
Task EditAsync(SpaEditInput input);
/// <summary>
2023-08-07 15:09:53 +08:00
/// 分页查询
/// </summary>
2023-08-07 15:09:53 +08:00
/// <param name="input"></param>
/// <returns></returns>
Task<SqlSugarPagedList<SysResource>> PageAsync(SpaPageInput input);
2023-03-04 18:41:11 +08:00
}