v1

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAlga

func AddAlga(c *gin.Context)

AddAlga @Summary AddAlga @Description 添加藻类图片数据 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /alga/add [post]

func AddAnnotation

func AddAnnotation(c *gin.Context)

AddAnnotation @Summary AddAnnotation @Description 添加标注 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /anno/add [post]

func AddRiver

func AddRiver(c *gin.Context)

AddRiver @Summary AddRiver @Description 添加河流数据 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /river/add [post]

func AddUser

func AddUser(c *gin.Context)

func ChangePassword

func ChangePassword(c *gin.Context)

ChangePassword @Summary ChangePassword @Description 修改用户密码 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /user/pwd [post]

func DeleteUser

func DeleteUser(c *gin.Context)

DeleteUser @Summary DeleteUser @Description 删除用户 @Tags aldb @Accept json @Produce json @Param email query string true "用户邮箱" @Success 200 {object} object "{code, msg, data}" @Router /user/delete [get]

func GetAnnotationByAlga

func GetAnnotationByAlga(c *gin.Context)

GetAnnotationByAlga @Summary GetAnnotationByAlga @Description 藻类图像获取标注 @Tags aldb @Accept json @Produce json @Param alga query string true "藻类名称" @Success 200 {object} object "{code, msg, data}" @Router /alga/anno [get]

func GetAnnotationByUser

func GetAnnotationByUser(c *gin.Context)

GetAnnotationByUser @Summary GetAnnotationByUser @Description 用户获取个人标注 @Tags aldb @Accept json @Produce json @Param user query string true "用户邮箱" @Success 200 {object} object "{code, msg, data}" @Router /user/anno [get]

func GetAuth

func GetAuth(c *gin.Context)

func GetCaptcha

func GetCaptcha(c *gin.Context)

func GetData

func GetData(c *gin.Context)

GetData @Summary GetData @Description 获取所有藻类数据 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /data [get]

func GetRivers

func GetRivers(c *gin.Context)

GetRivers @Summary GetRivers @Description 获取所有河流数据 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /river/all [get]

func GetUser

func GetUser(c *gin.Context)

GetUser @Summary GetUser @Description 获取用户信息 @Tags aldb @Accept json @Produce json @Param email query string true "用户邮箱" @Success 200 {object} object "{code, msg, data}" @Router /user/info [get]

func GetUsers

func GetUsers(c *gin.Context)

GetUsers @Summary GetUsers @Description 获取所有用户信息 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /user/all [get]

func SearchAlga

func SearchAlga(c *gin.Context)

SearchAlga @Summary SearchAlga @Description 搜索藻类图像 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /alga/search [get]

func UpdateUser

func UpdateUser(c *gin.Context)

UpdateUser @Summary UpdateUser @Description 修改用户信息 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /user/update [post]

func Upload

func Upload(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL