Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
// Create 新增网站分类
// @Tags API.category
// @Router /api/category [post]
Create() core.HandlerFunc
// List 分类列表
// @Tags API.category
// @Router /api/category [get]
List() core.HandlerFunc
// Delete 删除分类
// @Tags API.category
// @Router /api/category/{id} [delete]
Delete() core.HandlerFunc
// UpdateUsed 更新分了启用/禁用
// @Tags API.category
// @Router /api/category/used [patch]
UpdateUsed() core.HandlerFunc
// Detail 获取分类详情数据
// @Tags API.category
// @Router /api/category/used [patch]
Detail() core.HandlerFunc
// UpdateSort 更新分类排序
// @Tags API.category
// @Router /api/category/used [patch]
UpdateSort() core.HandlerFunc
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.