Create & Init Project...
This commit is contained in:
12
app/service/bbq/video/api/http/v1/api.go
Normal file
12
app/service/bbq/video/api/http/v1/api.go
Normal file
@ -0,0 +1,12 @@
|
||||
package v1
|
||||
|
||||
// ViewsAddRequest .
|
||||
type ViewsAddRequest struct {
|
||||
Svid int64 `json:"svid" form:"svid" validate:"required"`
|
||||
Views int `json:"views" form:"views"`
|
||||
}
|
||||
|
||||
// ViewsAddResponse .
|
||||
type ViewsAddResponse struct {
|
||||
Affected int64 `json:"affected"`
|
||||
}
|
Reference in New Issue
Block a user