This repository has been archived on 2021-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pingan_unionpay/config/xuanchen_coupon.php
2021-01-14 10:17:29 +08:00

28 lines
719 B
PHP

<?php
return [
'coupon_model' => \App\Models\Coupon::class,
'rules' => [
'ysd' => [
// 'pattern' => '/^YSD\d{12}/',
'pattern' => '/^YSD/',
'model' => \XuanChen\Coupon\Action\YsdAction::class,
],
'unionpay' => [
// 'pattern' => '/^YSD\d{12}/',
'pattern' => '/^66406/',
'model' => \XuanChen\Coupon\Action\YsdAction::class,
],
'pingan' => [
'pattern' => '/^\d{12}$/',
'model' => \XuanChen\Coupon\Action\PinganAction::class,
],
],
'froms' => [
'bsshop',//本时商城
'bslive',//本时生活
],
];