🎨 新增余额记录功能
This commit is contained in:
@@ -51,8 +51,9 @@ type GetUserListReq struct {
|
||||
}
|
||||
|
||||
type SetBalanceReq struct {
|
||||
Id int `json:"id" form:"id" vd:"@:len($)>0; msg:'用户ID不能为空'"`
|
||||
Balance float32 `json:"balance" form:"balance" vd:"@:len($)>0; msg:'余额不能为空'"`
|
||||
Id int `json:"id" form:"id" vd:"@:len($)>0; msg:'用户ID不能为空'"`
|
||||
Balance float64 `json:"balance" form:"balance" vd:"@:len($)>0; msg:'余额不能为空'"`
|
||||
ChangeType int `json:"change_type" form:"change_type" vd:"@:len($)>0; msg:'变动类型不能为空'"` // 1 增加 2 减少
|
||||
}
|
||||
|
||||
type PwdLoginReq struct {
|
||||
|
||||
Reference in New Issue
Block a user