Create & Init Project...
This commit is contained in:
12
app/service/bbq/video-image/api/http/v1/api.go
Normal file
12
app/service/bbq/video-image/api/http/v1/api.go
Normal file
@ -0,0 +1,12 @@
|
||||
package v1
|
||||
|
||||
// ScoreRequest .
|
||||
type ScoreRequest struct {
|
||||
Name string `json:"name" form:"name" validate:"required"`
|
||||
}
|
||||
|
||||
// ScoreResponse .
|
||||
type ScoreResponse struct {
|
||||
Name string `json:"name"`
|
||||
Score float32 `json:"score"`
|
||||
}
|
Reference in New Issue
Block a user