setter
parent
55296574a9
commit
14c508afeb
|
@ -449,7 +449,7 @@ class Coupon extends Base
|
||||||
//var_dump($result);
|
//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);
|
$redpackData['pay_time'] = date("Y-m-d H:i:s",$time);
|
||||||
Redpack::create($redpackData);
|
Redpack::create($redpackData);
|
||||||
Db::commit();
|
Db::commit();
|
||||||
|
@ -759,7 +759,7 @@ class Coupon extends Base
|
||||||
//var_dump($result);
|
//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);
|
$agencyRedpackData['pay_time'] = date("Y-m-d H:i:s",$time);
|
||||||
}else{
|
}else{
|
||||||
$agencyRedpackData['failure_reason'] = json_encode($agencyResult,JSON_UNESCAPED_UNICODE);
|
$agencyRedpackData['failure_reason'] = json_encode($agencyResult,JSON_UNESCAPED_UNICODE);
|
||||||
|
@ -824,7 +824,7 @@ class Coupon extends Base
|
||||||
//var_dump($result);
|
//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);
|
$redpackData['pay_time'] = date("Y-m-d H:i:s",$time);
|
||||||
Redpack::create($redpackData);
|
Redpack::create($redpackData);
|
||||||
Db::commit();
|
Db::commit();
|
||||||
|
|
Loading…
Reference in New Issue