You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
317 B
16 lines
317 B
|
3 years ago
|
package response
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/flipped-aurora/gin-vue-admin/server/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"`
|
||
|
|
}
|