Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllList ¶
@Summary 所有标记过的城市 @Tags 旅行足迹 @Accept json @Produce json @Success 200 {object} ctx.Response{data=[]allListResp} @Router /travel/all [get]
func Create ¶
@Summary 标记地点 @Tags 旅行足迹 @Accept json @Produce json @param payload body createParam true "request payload" @Success 200 {object} ctx.Response{data=db.Travel} @Router /travel [post]
func Delete ¶
@Summary 删除标记 @Tags 旅行足迹 @Accept json @Produce json @param payload body ctx.IDList true "request payload" @Success 200 {object} ctx.Response @Router /travel [delete]
func List ¶
@Summary 足迹 @Tags 旅行足迹 @Accept json @Produce json @Param page query int false "page" @Param size query int false "size" @Param id[] query uint false "id" @Param created_at[] query string false "created_at" @Success 200 {object} ctx.Response{data=[]db.Travel} @Router /travel [get]
func Router ¶
func Router(e *gin.RouterGroup)
Types ¶
This section is empty.