修改上下文参数传递,实现门店登录
This commit is contained in:
@ -35,3 +35,14 @@ type UpdateReq struct {
|
||||
type UpdateRes struct {
|
||||
Success bool `json:"success" dc:"是否成功"`
|
||||
}
|
||||
type DeleteReq struct {
|
||||
g.Meta `path:"/store" method:"delete" tags:"Store" summary:"(商户管理员)删除门店"`
|
||||
Id int64 `json:"id" v:"required" dc:"门店ID"`
|
||||
}
|
||||
type DeleteRes struct {
|
||||
Success bool `json:"success" dc:"是否成功"`
|
||||
}
|
||||
type BatchDeleteReq struct {
|
||||
g.Meta `path:"/store/batch" method:"delete" tags:"Store" summary:"(商户管理员)批量删除门店"`
|
||||
Ids []int `json:"ids" v:"required" dc:"门店ID"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user