Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EditUserReq ¶
type EditUserReq struct {
UserId string `json:"userId"`
UserName string `json:"userName"`
UserGender string `json:"gender"`
}
EditUserReq 更新用户信息数据类
type LoginReq ¶
LoginReq 登录请求参数类
func (*LoginReq) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*LoginReq) MarshalJSONBuf ¶
func (j *LoginReq) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*LoginReq) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*LoginReq) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type User ¶
type User struct {
Id string `json:"userId"`
Name string `json:"userName"`
Gender string `json:"gender"`
Phone string `json:"userMobile"`
Pwd string `json:"pwd"`
Permission string `json:"permission"`
}
User 用户类
func (*User) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*User) MarshalJSONBuf ¶
func (j *User) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*User) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*User) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
Click to show internal directories.
Click to hide internal directories.