1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| package constvar
|
| type DictType int
|
| const (
| DictTypeMarket DictType = iota //庄口
| DictTypeWorkshop //车间
| DictTypeColor //颜色
| DictTypeSpec //规格
| )
|
| type UserType int
|
| const (
| UserTypeSuper UserType = iota + 1 // 超级管理员
| UserTypePrimary // 主账户
| UserTypeSub // 子账户
| )
|
|