From cd782d520eb9870a75c57d5e40038b6bc6d9d5d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=84=E5=B0=98?= <122383162@qq.com> Date: Fri, 21 Aug 2020 17:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=AD=A3=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/xuanchen_coupon.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/xuanchen_coupon.php b/config/xuanchen_coupon.php index ee27158..ed94d03 100644 --- a/config/xuanchen_coupon.php +++ b/config/xuanchen_coupon.php @@ -3,13 +3,15 @@ return [ 'coupon_model' => \App\Models\Coupon::class, 'rules' => [ + 'ysd' => [ + // 'pattern' => '/^YSD\d{12}/', + 'pattern' => '/^YSD/', + 'model' => \XuanChen\Coupon\Action\YsdAction::class, + ], 'pingan' => [ 'pattern' => '/^\d{12}$/', 'model' => \XuanChen\Coupon\Action\PinganAction::class, ], - 'ysd' => [ - 'pattern' => '/^YSD/', - 'model' => \XuanChen\Coupon\Action\YsdAction::class, - ], + ], ];