This repository has been archived on 2021-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pingan_unionpay/config/xuanchen_coupon.php
2020-10-23 15:51:43 +08:00

22 lines
521 B
PHP

<?php
return [
'coupon_model' => \App\Models\Coupon::class,
'rules' => [
'ysd' => [
'pattern' => '/^YSD/',
'model' => \XuanChen\Coupon\Action\YsdAction::class,
],
'unionpay' => [
'pattern' => '/^66406/',
'model' => \XuanChen\Coupon\Action\YsdAction::class,
],
'pingan' => [
'pattern' => '/^\d{12}$/',
'model' => \XuanChen\Coupon\Action\PinganAction::class,
],
],
];