You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
395 B
16 lines
395 B
package identification
|
|
|
|
//验证器结构
|
|
type ValidatorType struct {
|
|
Number string `json:"number"` //随机数
|
|
UserKey string `json:"userkey"` //用户名
|
|
PassWord string `json:"password"` //密码
|
|
}
|
|
|
|
//权限相关
|
|
type EmpowerCont struct {
|
|
RoleName string `json:"roleName"`
|
|
PointId string `json:"pointid"`
|
|
Operation string `json:"operation"`
|
|
Level int `json:"level"`
|
|
}
|
|
|