diff --git a/config/pingan.php b/config/pingan.php index 7068526..d2bdb60 100644 --- a/config/pingan.php +++ b/config/pingan.php @@ -46,4 +46,9 @@ return [ 7 => '未激活', ], + 'froms' => [ + 'bsshop',//本时商城 + 'bslive',//本时生活 + ], + ]; diff --git a/config/xuanchen_coupon.php b/config/xuanchen_coupon.php index f301a93..1575429 100644 --- a/config/xuanchen_coupon.php +++ b/config/xuanchen_coupon.php @@ -3,19 +3,20 @@ return [ 'coupon_model' => \App\Models\Coupon::class, 'rules' => [ - 'ysd' => [ + 'ysd' => [ + // 'pattern' => '/^YSD\d{12}/', 'pattern' => '/^YSD/', 'model' => \XuanChen\Coupon\Action\YsdAction::class, ], - 'unionpay' => [ - 'pattern' => '/^66406/', - 'model' => \XuanChen\Coupon\Action\YsdAction::class, - ], - 'pingan' => [ + 'pingan' => [ 'pattern' => '/^\d{12}$/', 'model' => \XuanChen\Coupon\Action\PinganAction::class, ], ], + + 'froms' => [ + 'bsshop',//本时商城 + 'bslive',//本时生活 + ], ]; -