constvar/const.go @@ -191,3 +191,11 @@ RuleType_Product RuleType = iota + 1 //产品上架规则 RuleType_ProductCategory //产品类别上架规则 ) type UserType int const ( UserTypeSuper UserType = iota + 1 // 超级管理员 UserTypePrimary // 主账户 UserTypeSub // 子账户 )