| | |
| | | uuid "github.com/satori/go.uuid" |
| | | "webserver/extend/code" |
| | | "webserver/extend/config" |
| | | "webserver/extend/logger" |
| | | "basic.com/valib/logger.git" |
| | | "webserver/extend/util" |
| | | "github.com/gin-gonic/gin" |
| | | "webserver/service" |
| | |
| | | Name string `json:"name"` //参数名称 |
| | | Type string `json:"type"` //参数类型(整数,字符串或数组) |
| | | Must bool `json:"must"` //是否必填 |
| | | Unit string `json:"unit"` |
| | | Range string `json:"range"` //值的范围,eg:0,100表示从0到100 |
| | | DefaultValue string `json:"default_value"` |
| | | Sort int `json:"sort"` //参数顺序 |
| | | } |
| | | |
| | | // @Security ApiKeyAuth |
| | | // @Summary 算法保存 |
| | | // @Description 算法保存 |
| | | // @Accept json |
| | | // @Produce json |
| | | // @Tags sdk |
| | | // @Param reqMap body controllers.SdkVo true "人脸检测" |
| | |
| | | } |
| | | } |
| | | |
| | | // @Security ApiKeyAuth |
| | | // @Summary 查找所有算法 |
| | | // @Description 查找所有算法 |
| | | // @Produce json |
| | |
| | | util.ResponseFormat(c, code.Success, sdks) |
| | | } |
| | | |
| | | // @Security ApiKeyAuth |
| | | // @Summary 根据id获取算法信息 |
| | | // @Description 根据id获取算法信息 |
| | | // @Produce json |
| | |
| | | } |
| | | } |
| | | |
| | | // @Security ApiKeyAuth |
| | | // @Summary 根据taskId获取算法信息 |
| | | // @Description 根据taskId获取算法信息 |
| | | // @Produce json |