mirror of
https://gitcode.com/flipped-aurora/gin-vue-admin.git
synced 2026-05-11 18:02:47 +00:00
16 lines
273 B
Go
16 lines
273 B
Go
package response
|
|
|
|
import (
|
|
"gin-vue-admin/model"
|
|
)
|
|
|
|
type SysUserResponse struct {
|
|
User model.SysUser `json:"user"`
|
|
}
|
|
|
|
type LoginResponse struct {
|
|
User model.SysUser `json:"user"`
|
|
Token string `json:"token"`
|
|
ExpiresAt int64 `json:"expiresAt"`
|
|
}
|