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
317 B

3 years ago
3 years ago
  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. }