1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- package constant
- import "time"
- const (
- AccountPlatform = 1
- AccountApplet = 2
- )
- const (
- SourceTypeImage = 1
- SourceTypePDF = 2
- SourceTypeExcel = 3
- )
- const (
- ImageFileSourceCodePrefix = "img-"
- SliceFileSourceCodePrefix = "slice-"
- PDFFileSourceCodePrefix = "pdf-"
- ExcelFileSourceCodePrefix = "excel-"
- ExamCodePrefix = "exam-"
- LearningCodePrefix = "learning-"
- ClassCodePrefix = "class-"
- )
- const (
- DuplicateTypeSkip = "skip"
- DuplicateTypeCover = "cover"
- )
- const (
- PermisTypeMenu = 1
- PermisTypeFunc = 2
- PermisTypeData = 3
- )
- const (
- DataPermCodeOwner = "data:owner:1"
- DataPermCodeSameOrg = "data:sameorg:1"
- DataPermCodeAll = "data:all:1"
- )
- const (
- OrderStatusPending = 101
- OrderStatusWaitCar = 102
- OrderStatusInTransit = 103
- OrderStatusReceived = 104
- )
- const (
- TaskStatusPending = 201
- TaskStatusExecuting = 202
- TaskStatusFinished = 203
- )
- const (
- WarehouseStatusIn = 301
- WarehouseStatusOut = 302
- )
- const (
- LogisticLogTraffic = "traffic"
- LogisticLogWarehouse = "warehouse"
- )
- const (
- DestinationDest = "dest"
- DestinationTransit = "transit"
- )
- const (
- RoleUser = "user"
- RoleDriver = "driver"
- RoleWarehouse = "warehouse"
- )
- const DefaultTokenLimit = 7 * 24 * time.Hour
|