修改config

This commit is contained in:
2020-12-07 10:23:26 +08:00
parent 8279083391
commit 0be23ad9e7
2 changed files with 13 additions and 7 deletions

View File

@@ -46,4 +46,9 @@ return [
7 => '未激活',
],
'froms' => [
'bsshop',//本时商城
'bslive',//本时生活
],
];

View File

@@ -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',//本时生活
],
];