sys_user.go 317 B

123456789101112131415
  1. package response
  2. import (
  3. "github.com/flipped-aurora/gin-vue-admin/server/model/system"
  4. )
  5. type SysUserResponse struct {
  6. User system.SysUser `json:"user"`
  7. }
  8. type LoginResponse struct {
  9. User system.SysUser `json:"user"`
  10. Token string `json:"token"`
  11. ExpiresAt int64 `json:"expiresAt"`
  12. }