master
wangxinglong 2022-03-15 15:31:29 +08:00
parent 12b6ada71c
commit fcd20b81b6
2 changed files with 2 additions and 2 deletions

View File

@ -383,7 +383,7 @@ class Coupon extends Base
'partner_trade_no' => $mch_billno,// 商户订单号,需保持唯一性(只能是字母或者数字,不能包含有符号)
'openid' => $account->open_id,
'check_name' => 'NO_CHECK',// NO_CHECK不校验真实姓名, FORCE_CHECK强校验真实姓名
'amount' => $amount, //单位为分不小于100
'amount' => $amount * 100, //单位为分不小于100
'desc' => '验证优惠券分销,分销者领取',
];

View File

@ -15,7 +15,7 @@ class CouponRelease extends Validate
'type|优惠券类型' => 'require|>:0',
'start_time|开始时间' => 'require|date',
'end_time|结束时间' => 'require|date|checkEndTime',
'name|优惠券名称' => 'require|chsAlphaNum|length:3,32',
'name|优惠券名称' => 'require|length:3,32',
//'money|金额' => 'require|>:0|<=:5000',
'deduction_money|扣除金额' => 'require|>=:0|<=:100000',
'image_url|预览图' => 'require',