setter
parent
44015427e6
commit
2802220bbd
|
@ -677,7 +677,7 @@ class Coupon extends Base
|
||||||
$mch_billno = createUuid();
|
$mch_billno = createUuid();
|
||||||
}
|
}
|
||||||
|
|
||||||
$agencyAmount = $agencyMoney * 100;
|
$agencyAmount = $agencyMoney ;
|
||||||
|
|
||||||
$agencyToBalanceData = [
|
$agencyToBalanceData = [
|
||||||
'partner_trade_no' => $mch_billno,// 商户订单号,需保持唯一性(只能是字母或者数字,不能包含有符号)
|
'partner_trade_no' => $mch_billno,// 商户订单号,需保持唯一性(只能是字母或者数字,不能包含有符号)
|
||||||
|
@ -693,7 +693,7 @@ class Coupon extends Base
|
||||||
"mch_billno" => $mch_billno,
|
"mch_billno" => $mch_billno,
|
||||||
"openid" => $agencyUser->open_id,
|
"openid" => $agencyUser->open_id,
|
||||||
"user_code" => $agencyUser->user_code,
|
"user_code" => $agencyUser->user_code,
|
||||||
"money" => $agencyAmount,
|
"money" => $agencyMoney,
|
||||||
"create_time" => date("Y-m-d H:i:s",$time),
|
"create_time" => date("Y-m-d H:i:s",$time),
|
||||||
"pay_time" => '0000-00-00 00:00:00',
|
"pay_time" => '0000-00-00 00:00:00',
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue