Documentation ¶
Index ¶
- func AddAlga(c *gin.Context)
- func AddAnnotation(c *gin.Context)
- func AddRiver(c *gin.Context)
- func AddUser(c *gin.Context)
- func ChangePassword(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func GetAnnotationByAlga(c *gin.Context)
- func GetAnnotationByUser(c *gin.Context)
- func GetAuth(c *gin.Context)
- func GetCaptcha(c *gin.Context)
- func GetData(c *gin.Context)
- func GetRivers(c *gin.Context)
- func GetUser(c *gin.Context)
- func GetUsers(c *gin.Context)
- func SearchAlga(c *gin.Context)
- func UpdateUser(c *gin.Context)
- func Upload(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAlga ¶
AddAlga @Summary AddAlga @Description 添加藻类图片数据 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /alga/add [post]
func AddAnnotation ¶
AddAnnotation @Summary AddAnnotation @Description 添加标注 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /anno/add [post]
func AddRiver ¶
AddRiver @Summary AddRiver @Description 添加河流数据 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /river/add [post]
func ChangePassword ¶
ChangePassword @Summary ChangePassword @Description 修改用户密码 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /user/pwd [post]
func DeleteUser ¶
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 ¶
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 ¶
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 GetCaptcha ¶
func GetData ¶
GetData @Summary GetData @Description 获取所有藻类数据 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /data [get]
func GetRivers ¶
GetRivers @Summary GetRivers @Description 获取所有河流数据 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /river/all [get]
func GetUser ¶
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 ¶
GetUsers @Summary GetUsers @Description 获取所有用户信息 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /user/all [get]
func SearchAlga ¶
SearchAlga @Summary SearchAlga @Description 搜索藻类图像 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /alga/search [get]
func UpdateUser ¶
UpdateUser @Summary UpdateUser @Description 修改用户信息 @Tags aldb @Accept json @Produce json @Success 200 {object} object "{code, msg, data}" @Router /user/update [post]
Types ¶
This section is empty.