export const AssetsRecordType = {
    // ALIPAY_IN: 1,
    // ALIPAY_OUT: 2,
    // WX_IN: 3,
    // WX_OUT: 4,
    // COIN_IN: 5,
    // COIN_OUT: 6,
    // RECHARGE: 7,
    // WITHDRAW_CASH: 8,
    // PAY: 9,
    // REFUND: 10,
    // SALE: 11,
    // RELEASE: 12,
    // ADD_RELEASE: 13,
    // RECOVERY: 14,
    // REDUCE_RELEASE: 15,
    // WITHDRAW_COIN: 16,
    // DEDUCTION: 17,
    // WITHDRAW_GOODS: 18,
    // COMMENT_REWARD: 19,
    // TRANSFER_GIFT_IN: 20,
    // TRANSFER_GIFT_OUT: 21,
    // INVITE_REGISTER_REWARD: 22,
    // REGISTER_REWARD: 23
    INTEGRAL_RECHARGE: 7,
    INTEGRAL_BUY: 9,
    REFUND_MONEY: 10,
    GOODS_BUY: 11,
    ISSUE:12,
    INTEGRAL_DEDUCTION: 17,
    GOODS_WITHDRAW: 18,
    COMMENT_REWARD: 19,
    TRANSFER_GIFT_IN: 20,
    TRANSFER_GIFT_OUT: 21,
    REGISTER_REWARD: 22,
    OUT_TOKEN_IN: 23,
    OUT_NFT_IN: 24,
    TRANSFER_RAW_OUT: 25,
    REFUND_GOODS: 26,
    REGISTER_INVITE_REWARD: 27,
    RELEASE_TRANSFER: 28,
    REFUND_MONEY_COIN: 29,
    ORDER_CANCEL_INTEGRAL_UNFREEZE: 30
}

export const AssetsRecordTypeObj = {
   
    [AssetsRecordType.INTEGRAL_RECHARGE]: {
        label: "充值",
        symbol: "+"
    },
    [AssetsRecordType.INTEGRAL_BUY]: {
        label: "购买",
        symbol: "-"
    },
    [AssetsRecordType.REFUND_MONEY]: {
        label: "退款",
        symbol: "+"
    },
    [AssetsRecordType.GOODS_BUY]: {
        label: "购买",
        symbol: "+"
    },
    [AssetsRecordType.ISSUE]: {
        label: "发行",
        symbol: "+"
    },
    [AssetsRecordType.INTEGRAL_DEDUCTION]: {
        label: "扣除",
        symbol: "-"
    },
    [AssetsRecordType.GOODS_WITHDRAW]: {
        label: "提货",
        symbol: "-"
    },
    [AssetsRecordType.COMMENT_REWARD]: {
        label: "评论奖励",
        symbol: "+"
    },
    [AssetsRecordType.TRANSFER_GIFT_IN]: {
        label: "转赠",
        symbol: "+"
    },
    [AssetsRecordType.TRANSFER_GIFT_OUT]: {
        label: "转赠",
        symbol: "-"
    },
    [AssetsRecordType.REGISTER_REWARD]: {
        label: "注册奖励",
        symbol: "+"
    },
    [AssetsRecordType.OUT_TOKEN_IN]: {
        label: "外部Token转入",
        symbol: "+"
    },
    [AssetsRecordType.OUT_NFT_IN]: {
        label: "外部NFT转入",
        symbol: "+"
    },
    [AssetsRecordType.TRANSFER_RAW_OUT]: {
        label: "外部划转",
        symbol: "-"
    },
    [AssetsRecordType.REFUND_GOODS]: {
        label: "退货",
        symbol: "+"
    },
    [AssetsRecordType.REGISTER_INVITE_REWARD]: {
        label: "邀请奖励",
        symbol: "+"
    },
    [AssetsRecordType.RELEASE_TRANSFER]: {
        label: "发布转让",
        symbol: "-"
    },
    [AssetsRecordType.REFUND_MONEY_COIN]: {
        label: "退款",
        symbol: "-"
    },
    [AssetsRecordType.ORDER_CANCEL_INTEGRAL_UNFREEZE]: {
        label: "抵扣退回",
        symbol: "+"
    }
}

export const TransferType = {
    SINGLE: 1,
    PACKAGE: 2
}


export const AssetsRecordStatus = {
    FAIL: 1,
    SUCCESS: 2,
    CONFIRM: 3
}

export const AssetsRecordStatusObj = {
    [AssetsRecordStatus.FAIL]: {
        label: "失败",
    },
    [AssetsRecordStatus.SUCCESS]: {
        label: "成功",
    },
    [AssetsRecordStatus.CONFIRM]: {
        label: "确认中",
    },
}