SendVerifyCode

This commit is contained in:
gazebo
2020-01-06 15:36:33 +08:00
parent 483aa6df20
commit fda22fa2d4
4 changed files with 12 additions and 23 deletions

View File

@@ -85,10 +85,6 @@ func (user *User) GetAvatar() string {
return user.Avatar
}
func (user *User) IsAdmin() bool {
return user.Type&(UserTypeOperator|UserTypeBoss) != 0
}
type StoreBoss struct {
ModelIDCULD
UserID string `orm:"size(48);column(user_id);unique" json:"userID"` // 内部唯一标识