16 lines
278 B
Go
16 lines
278 B
Go
package response
|
|
|
|
import (
|
|
"miniapp/model/system"
|
|
)
|
|
|
|
type SysUserResponse struct {
|
|
User system.SysUser `json:"user"`
|
|
}
|
|
|
|
type LoginResponse struct {
|
|
User system.SysUser `json:"user"`
|
|
Token string `json:"token"`
|
|
ExpiresAt int64 `json:"expiresAt"`
|
|
}
|