maptile/api/tag.go

28 lines
642 B
Go
Executable File

package api
// // CreateTag 创建标签
// // @Summary 创建标签
// // @Description 创建标签
// // @Tags tag
// // @Accept json
// // @Produce json
// // @Param tag body TagCreate true "标签"
// // @Success 200 {object} TagCreate
// // @Router /tag [post]
// func PostTag(c echo.Context) error {
// return nil
// }
// // GetTag 获取标签
// // @Summary 获取标签
// // @Description 获取标签
// // @Tags tag
// // @Accept json
// // @Produce json
// // @Param id path string true "标签 ID"
// // @Success 200 {object} TagGet
// // @Router /tag/{id} [get]
// func GetTagByID(c echo.Context) error {
// return nil
// }