...
|
...
|
@@ -8,14 +8,14 @@ import ( |
|
|
)
|
|
|
|
|
|
type UserAuth struct {
|
|
|
jwt.StandardClaims `json:"-"`
|
|
|
UserId int64 `json:"userId"`
|
|
|
CompanyId int64 `json:"companyId"`
|
|
|
CompanyName string `json:"companyName"`
|
|
|
Phone string `json:"phone"`
|
|
|
PlatformId int `json:"platformId"`
|
|
|
Name string `json:"name"`
|
|
|
AdminType int `json:"adminType"`
|
|
|
jwt.StandardClaims
|
|
|
UserId int64 `json:"userId"`
|
|
|
CompanyId int64 `json:"companyId"`
|
|
|
CompanyName string `json:"companyName"`
|
|
|
Phone string `json:"phone"`
|
|
|
PlatformId int `json:"platformId"`
|
|
|
Name string `json:"name"`
|
|
|
AdminType int `json:"adminType"`
|
|
|
}
|
|
|
|
|
|
var issuer = "performance"
|
...
|
...
|
|