master
wangxinglong 2022-02-08 15:39:03 +08:00
parent ece2603df8
commit 54b3591aa3
1 changed files with 3 additions and 3 deletions

View File

@ -600,12 +600,12 @@ class Coupon extends Base
$redpack = Redpack::create($redpackData);
//发起支付
$result = $payment->transfer->toBalance($toBalanceData);
//$result = $payment->transfer->toBalance($toBalanceData);
//var_dump($result);
//付款成功才提交!!!!!伪装成功
if(isset($result['payment_no']) ){
if( true || isset($result['payment_no']) ){
$redpack->pay_time = date("Y-m-d H:i:s",$time);
$redpack->save();
@ -617,7 +617,7 @@ class Coupon extends Base
"redpack" =>$consumerMoney
]);
}
Log::info("企业发起付款失败:" . json_encode($result,JSON_UNESCAPED_UNICODE));
//Log::info("企业发起付款失败:" . json_encode($result,JSON_UNESCAPED_UNICODE));
//默认回滚