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.

15 lines
273 B

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