fix: 修正 service 创建接口误设的 ID 路径参数
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
package types
|
package types
|
||||||
|
|
||||||
type CreateServiceReq struct {
|
type CreateServiceReq struct {
|
||||||
Id int64 `path:"id"`
|
|
||||||
GameId int64 `json:"gameId, optional"`
|
GameId int64 `json:"gameId, optional"`
|
||||||
Title string `json:"title,optional"`
|
Title string `json:"title,optional"`
|
||||||
Description string `json:"description,optional"`
|
Description string `json:"description,optional"`
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ type (
|
|||||||
Meta PageMeta `json:"meta"`
|
Meta PageMeta `json:"meta"`
|
||||||
}
|
}
|
||||||
CreateServiceReq {
|
CreateServiceReq {
|
||||||
Id int64 `path:"id"`
|
|
||||||
GameId int64 `json:"gameId, optional"`
|
GameId int64 `json:"gameId, optional"`
|
||||||
Title string `json:"title,optional"`
|
Title string `json:"title,optional"`
|
||||||
Description string `json:"description,optional"`
|
Description string `json:"description,optional"`
|
||||||
|
|||||||
Reference in New Issue
Block a user