修改config
This commit is contained in:
@@ -46,4 +46,9 @@ return [
|
|||||||
7 => '未激活',
|
7 => '未激活',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'froms' => [
|
||||||
|
'bsshop',//本时商城
|
||||||
|
'bslive',//本时生活
|
||||||
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -3,19 +3,20 @@
|
|||||||
return [
|
return [
|
||||||
'coupon_model' => \App\Models\Coupon::class,
|
'coupon_model' => \App\Models\Coupon::class,
|
||||||
'rules' => [
|
'rules' => [
|
||||||
'ysd' => [
|
'ysd' => [
|
||||||
|
// 'pattern' => '/^YSD\d{12}/',
|
||||||
'pattern' => '/^YSD/',
|
'pattern' => '/^YSD/',
|
||||||
'model' => \XuanChen\Coupon\Action\YsdAction::class,
|
'model' => \XuanChen\Coupon\Action\YsdAction::class,
|
||||||
],
|
],
|
||||||
'unionpay' => [
|
'pingan' => [
|
||||||
'pattern' => '/^66406/',
|
|
||||||
'model' => \XuanChen\Coupon\Action\YsdAction::class,
|
|
||||||
],
|
|
||||||
'pingan' => [
|
|
||||||
'pattern' => '/^\d{12}$/',
|
'pattern' => '/^\d{12}$/',
|
||||||
'model' => \XuanChen\Coupon\Action\PinganAction::class,
|
'model' => \XuanChen\Coupon\Action\PinganAction::class,
|
||||||
],
|
],
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'froms' => [
|
||||||
|
'bsshop',//本时商城
|
||||||
|
'bslive',//本时生活
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user