From 0be23ad9e705bccf7165442bf7144ac5f8af6c61 Mon Sep 17 00:00:00 2001 From: xuanchen <122383162@qq.com> Date: Mon, 7 Dec 2020 10:23:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/pingan.php | 5 +++++ config/xuanchen_coupon.php | 15 ++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) 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',//本时生活 + ], ]; -