修改config
This commit is contained in:
@@ -46,4 +46,9 @@ return [
|
||||
7 => '未激活',
|
||||
],
|
||||
|
||||
'froms' => [
|
||||
'bsshop',//本时商城
|
||||
'bslive',//本时生活
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
@@ -4,18 +4,19 @@ return [
|
||||
'coupon_model' => \App\Models\Coupon::class,
|
||||
'rules' => [
|
||||
'ysd' => [
|
||||
// 'pattern' => '/^YSD\d{12}/',
|
||||
'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,
|
||||
],
|
||||
|
||||
],
|
||||
];
|
||||
|
||||
'froms' => [
|
||||
'bsshop',//本时商城
|
||||
'bslive',//本时生活
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user