This commit is contained in:
laodaming
2023-07-11 11:36:01 +08:00
parent 9bcb1d9377
commit dea09094b7
3 changed files with 8 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Handler: SaveDesignHandler(serverCtx),
},
{
Method: http.MethodPost,
Method: http.MethodGet,
Path: "/product/other-list",
Handler: OtherProductListHandler(serverCtx),
},

View File

@@ -216,9 +216,9 @@ type ColorFill struct {
}
type OtherProductListReq struct {
Cid int64 `json:"cid"`
Num int64 `json:"num"`
Size uint32 `json:"size"`
Cid int64 `form:"cid"`
Num int64 `form:"num"`
Size uint32 `form:"size"`
}
type OtherProductListRsp struct {