global-function-config.php 1.1 KB

1234567891011121314151617181920212223
  1. <?php
  2. use common\enums\GlobalFuncEnum;
  3. use common\enums\PayTypeEnum;
  4. return [
  5. 'common_function'=>[
  6. 'orderCheck'=>[//订单检查
  7. ['addons_name'=>'Bargain','class'=>'addons\Bargain\common\models\BargainOrder','method'=>'check'],
  8. ['addons_name'=>'GroupBuy','class'=>'addons\GroupBuy\common\models\GroupBuyOrder','method'=>'check'],
  9. ['addons_name'=>'GroupBuyCopy','class'=>'addons\GroupBuyCopy\common\models\GroupBuyCopyOrder','method'=>'check'],
  10. ['addons_name'=>'Recharge','class'=>'addons\Recharge\common\models\AddonsRechargeActive','method'=>'check'],
  11. ['addons_name'=>'CloudStock','class'=>'addons\CloudStock\common\models\CloudStockFillOrder','method'=>'check'],
  12. ['addons_name'=>'HiGo','class'=>'addons\HiGo\common\models\HigoRechargeOrders','method'=>'check'],
  13. ['addons_name'=>'Cake','class'=>'addons\Cake\common\models\CakeOrder','method'=>'check'],
  14. ],
  15. // 'payment' => [
  16. // PayTypeEnum::JOINPAY => GlobalFuncEnum::JOINPAY_JOINPAY,
  17. // PayTypeEnum::JOINPAY_FAST_PAY => GlobalFuncEnum::JOINPAY_FASTPAY,
  18. // ],
  19. ],
  20. ];