微调
This commit is contained in:
@@ -8,8 +8,12 @@ return [
|
||||
],
|
||||
//不进行sign校验
|
||||
'nosign' => [
|
||||
'openid',
|
||||
'code',
|
||||
// '002025',//查询
|
||||
// '002100',//核销
|
||||
// '002101',//冲正
|
||||
// '002102',//撤销
|
||||
'openid',//获取openid 封装数据
|
||||
'code',//微信测获取优惠券
|
||||
],
|
||||
//分配的渠道号
|
||||
'msg_sender' => '660134',
|
||||
@@ -37,6 +41,7 @@ return [
|
||||
'public' => storage_path('cert/unionpay/public_rsa.pem'),
|
||||
],
|
||||
],
|
||||
//接口类型
|
||||
'type' => [
|
||||
'002025' => '查询',
|
||||
'002100' => '交易',
|
||||
@@ -47,6 +52,7 @@ return [
|
||||
'012100' => '核销通知',
|
||||
'code' => '生活请求发券',
|
||||
],
|
||||
//日志类型对应
|
||||
'log_type' => [
|
||||
'002025' => 'query',
|
||||
'002100' => 'freezecoupon',
|
||||
|
||||
@@ -3,18 +3,23 @@
|
||||
return [
|
||||
'coupon_model' => \App\Models\Coupon::class,
|
||||
'rules' => [
|
||||
'ysd' => [
|
||||
'ysd' => [
|
||||
// 'pattern' => '/^YSD\d{12}/',
|
||||
'pattern' => '/^YSD/',
|
||||
'model' => \XuanChen\Coupon\Action\YsdAction::class,
|
||||
],
|
||||
'pingan' => [
|
||||
'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',//本时生活
|
||||
|
||||
Reference in New Issue
Block a user