user.go 618 B

123456789101112131415161718192021222324
  1. package response
  2. type LoginResp struct {
  3. UserId int `description:"用户id"`
  4. Authorization string `description:"Token"`
  5. Headimgurl string `description:"用户头像"`
  6. Phone string `description:"手机号"`
  7. Email string `description:"邮箱"`
  8. CompanyName string `description:"客户名称"`
  9. EndDate string `description:"到期日期"`
  10. }
  11. type WeChatLoginResp struct {
  12. Authorization string `description:"Token"`
  13. }
  14. type UserReadRecordResp struct {
  15. RecordId int64
  16. }
  17. type AreaCodeListResp struct {
  18. Name string `description:"地区"`
  19. Value string `description:"区号"`
  20. }