Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { /** * 添加资源 */ Create(ctx context.Context, param dto.UmsResourceParam) (int64, error) /** * 修改资源 */ Update(ctx context.Context, id int64, param dto.UmsResourceParam) (int64, error) /** * 获取资源详情 */ GetItem(ctx context.Context, id int64) (*dto.UmsResource, error) /** * 删除资源 */ Delete(ctx context.Context, id int64) (int64, error) /** * 分页查询资源 */ List(ctx context.Context, categoryId int64, nameKeyword, urlKeyword string, pageSize, pageNum int) ([]dto.UmsResource, int64, error) /** * 查询全部资源 */ ListAll(ctx context.Context) ([]dto.UmsResource, error) // contains filtered or unexported methods }
后台资源管理Service
Click to show internal directories.
Click to hide internal directories.