user.go 271 B

1234567891011121314
  1. package model
  2. import "iot_manager_service/app/user/dao"
  3. // 登录用户
  4. type LoginUser struct {
  5. Account string `json:"account"` //账号
  6. PassWord string `json:"password"` //密码
  7. }
  8. type NowUser struct {
  9. UUID string `json:"uuid"`
  10. User dao.User `json:"user"`
  11. }