1234567891011121314151617181920 |
- package http_model
- type PasswordLoginRequest struct {
- UserPhone string `json:"user_phone" form:"user_phone"`
- UserPasswd string `json:"user_password" form:" "`
- }
- //
- type PasswordLoginData struct {
- Token string `json:"token"`
- }
- func NewPasswordLoginRequest() *PasswordLoginRequest {
- return new(PasswordLoginRequest)
- }
- func NewPasswordLoginResponse() *CommonResponse {
- resp := new(CommonResponse)
- resp.Data = new(PasswordLoginData)
- return resp
- }
|