30 lines
447 B
Go
30 lines
447 B
Go
package model
|
||
|
||
import "time"
|
||
|
||
type LoginCache struct {
|
||
Token string `json:"token"`
|
||
Status int `json:"status" dc:"0-准备扫码,1-已扫码"`
|
||
CreatedAt time.Time `json:"created_at"`
|
||
}
|
||
|
||
type UserLoginIn struct {
|
||
OpenId string
|
||
}
|
||
type UserLoginOut struct {
|
||
Token string
|
||
}
|
||
|
||
type UserInfoIn struct {
|
||
Id int
|
||
OpenId string
|
||
}
|
||
type UserInfoOut struct {
|
||
Id int64
|
||
}
|
||
|
||
type UserUpdateIn struct {
|
||
}
|
||
type UserBindPhoneIn struct {
|
||
}
|