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, - ], + ], ];