package frontm type User struct { Id int LoginName string Phone string CreateTime int64 Gender int NickName string AvatarUrl string Openid string School string DailyAddress string Rating int Types int // 类型(0:管理员,1:维修人员,2:保修用户) }