Compare commits

..

No commits in common. "3be77ec8764428f5278bcf2c4ee81287fd671ef2" and "f730ba60fe7f0bf2b34064b36ee022e9e75f1c38" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -760,7 +760,7 @@ class Coupon extends Base
//var_dump($result);
//付款成功才提交!!!!!伪装成功
if( isset($agencyResult['payment_no']) || true ){
if( isset($agencyResult['payment_no']) ){
$agencyRedpackData['pay_time'] = date("Y-m-d H:i:s",$time);
}else{
$agencyRedpackData['failure_reason'] = json_encode($agencyResult,JSON_UNESCAPED_UNICODE);
@ -825,7 +825,7 @@ class Coupon extends Base
//var_dump($result);
//付款成功才提交!!!!!伪装成功
if( isset($result['payment_no']) || true ){
if( isset($result['payment_no']) ){
$redpackData['pay_time'] = date("Y-m-d H:i:s",$time);
Redpack::create($redpackData);
Db::commit();