第一次提交

This commit is contained in:
gxwebsoft
2023-08-04 13:14:48 +08:00
commit 1b923e5cff
1030 changed files with 128016 additions and 0 deletions

10
common/enum/goods/GoodsType.js Executable file
View File

@@ -0,0 +1,10 @@
import Enum from '../enum'
/**
* 枚举类:商品类型
* GoodsTypeEnum
*/
export default new Enum([
{ key: 'PHYSICAL', name: '实物商品', value: 10 },
{ key: 'VIRTUAL', name: '虚拟商品', value: 20 }
])

10
common/enum/goods/SpecType.js Executable file
View File

@@ -0,0 +1,10 @@
import Enum from '../enum'
/**
* 枚举类:商品规格类型
* SpecTypeEnum
*/
export default new Enum([
{ key: 'SINGLE', name: '单规格', value: 10 },
{ key: 'MULTI', name: '多规格', value: 20 }
])

4
common/enum/goods/index.js Executable file
View File

@@ -0,0 +1,4 @@
import GoodsTypeEnum from './GoodsType'
import SpecTypeEnum from './SpecType'
export { GoodsTypeEnum, SpecTypeEnum }