sys_user.go 364 B

1234567891011121314151617181920
  1. package response
  2. import (
  3. "lcfns/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. }
  13. type IdName struct {
  14. Id int `json:"id"`
  15. UserName string `json:"userName"`
  16. }