setter
parent
3ced7151ff
commit
3cc4334650
|
@ -632,7 +632,7 @@ class Coupon extends Base
|
|||
$agencyMoney = 0; //四舍五入 精确到分
|
||||
}
|
||||
|
||||
return $this->json(4001,"$agencyMoney");
|
||||
|
||||
//开始数据操作
|
||||
Db::startTrans();
|
||||
try {
|
||||
|
@ -728,13 +728,12 @@ class Coupon extends Base
|
|||
$mch_billno = createUuid();
|
||||
}
|
||||
|
||||
$agencyAmount = $agencyMoney ;
|
||||
|
||||
$agencyToBalanceData = [
|
||||
'partner_trade_no' => $mch_billno,// 商户订单号,需保持唯一性(只能是字母或者数字,不能包含有符号)
|
||||
'openid' => $agencyUser->open_id,
|
||||
'check_name' => 'NO_CHECK',// NO_CHECK:不校验真实姓名, FORCE_CHECK:强校验真实姓名
|
||||
'amount' => $agencyAmount * 100, //单位为分,不小于100
|
||||
'amount' => $agencyMoney * 100, //单位为分,不小于100
|
||||
'desc' => '用户核销优惠券,渠道商奖励',
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue