api/v1/sys_api.go api/v1/sys_menu.go api/v1/sys_user.go model/request/common.go 其中的参数校验代码Id改成ID,修复参数校验的bug

This commit is contained in:
v_anxiong
2021-04-01 16:45:18 +08:00
parent 7334ad9f33
commit ea998db824
4 changed files with 12 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ type PageInfo struct {
// Find by id structure
type GetById struct {
Id float64 `json:"id" form:"id"`
ID float64 `json:"id" form:"id"`
}
type IdsReq struct {