liujiandao
2024-02-29 24d792c5f1d83e0375ae7f91132a75f1dbb8494e
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                         // 子账户
)