export const GoodsType = {
    // 普通
    NORMAL: 1,
    // 预售
    PRE_SALE: 2,
    // 竞拍
    AUCTION: 3,
    // 秒杀
    FLASH_SALE: 4,
    // 打包
    PACKAGE: 5,
    // nft
    NFT: 6,
    // 转让商品
    TRANSFER: 999
}
export const SalesType={
    // 普通
    NORMAL: 1,
    //盲盒
    BLINDBOX:4
}
export const GoodsTypeObj = {
    [GoodsType.NORMAL]: {
        detailApi: 'getGoodsDetail',
        comm: {
            discount: true,
            skuAndAddr: true,
        }
    },
    [GoodsType.PRE_SALE]: {
        detailApi: 'getPreSaleGoodsDetail',
        comm: {
            discount: true,
            skuAndAddr: true,
            preSale: true
        }
    },
    [GoodsType.AUCTION]: {
        detailApi: 'getGoodsDetail'
    },
    [GoodsType.FLASH_SALE]: {
        detailApi: 'getGoodsDetail'
    },
    [GoodsType.PACKAGE]: {
        detailApi: 'getGoodsDetail'
    },
    [GoodsType.NFT]: {
        detailApi: 'getGoodsDetail',
        comm: {
            discount: false,
            skuAndAddr: false
        }
    },
    [GoodsType.TRANSFER]: {
        detailApi: 'getGoodsDetail',
        comm: {
            skuAndAddr: true
        }
    },
}
export const GoodsStatus = {
    DELETE: 0,
    ON_SHELF: 1,
    OFF_SHELF: 2,
    RELEASING: 3,
    FAIL: 4,
    UN_REVIEW: 5,
    REVIEW_REJECT: 6,
    REVIEW_SUCCESS: 7,
    CANCEL: 8,
    WARM_UP: 10
}