<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/11/12
 * Time: 14:17
 */

return [
    'default' =>[
        'money'=>0,
        'point'=>0,
    ],
    'wallet_type' =>[
        'money'=>'现金',
        'point' => '积分',
    ],
    'admin' =>[
        'hide_types' => [
        ],
    ],

    'types'  => [
        'admin'=>'后台操作',
        'recharge' => '充值',
        'mall_order' => '购物',
        'return_and_refund' => '退货退款',
        'withdraw' => '提现',
        'refund' => '退款',
        'withdraw_back' => '提现拒绝',
        'use_score' => '积分抵扣',
        'order_consume' => '积分订单',
        'return_score' => '订单取消积分返还',
        'refund_point' => '订单退款',
        'return_and_refund_point' => '订单退款',


        'order_settle' => '订单结算',
        //'tip_order' => '直播打赏',
        //'task_reward' => '任务完成奖励',
        'exchange' => '兑换',
        'seller_invoice' => '订单结算',
        'union' => '合并订单支付',

//        'group_reward' => '岗位津贴',
//        'child_manager_group_reward' => '推荐经理收益',
//        'team_reward' => '下级业绩奖励',
//
//        'manager_dividend' => '每日分红(经理)',
//        'other_dividend' => '每日分红(主任、代表、会员)',


    ],

    'log_type_query_map' => [
        //'reward' => ['ancestor1_reward', 'ancestor2_reward', 'ancestor2_income_reward', 'team_reward', 'team_reward_same'],
        //'withdraw' => ['withdraw_back', 'withdraw'],
        //'third_order_reward' => ['pdd_order_reward', 'pdd_order_reward_from_level1', 'pdd_order_reward_from_level2'],
    ],


    'extend' => [
        //'change' => 'Modules\Project\Services\WalletExtendService',
    ],

//    'transfer' => [
//        'money' => [
//            'fee' => 0,
//            'append_rules' => [],
//        ],
//    ],
//    'exchange' => [
//        'point:money' =>[
//            'rate' => 0.0001,
//            'append_rules' => [
//                'total' => 'integer|min:1000000',
//            ]
//        ]
//    ]
];
