提交 5450a90e authored 作者: chengye's avatar chengye

test

上级 15799612
...@@ -492,6 +492,7 @@ class Payment extends Base ...@@ -492,6 +492,7 @@ class Payment extends Base
} }
$res = $this->createFkNumb($data); $res = $this->createFkNumb($data);
dd($res);
$result = false; $result = false;
if(!empty($res['data'])){ if(!empty($res['data'])){
$payment->status_fk = 1; $payment->status_fk = 1;
...@@ -499,8 +500,6 @@ class Payment extends Base ...@@ -499,8 +500,6 @@ class Payment extends Base
$fkModel->payment_id = $payment->payment_id; $fkModel->payment_id = $payment->payment_id;
$fkModel->oafk_id = $res['data']['id']; $fkModel->oafk_id = $res['data']['id'];
$fkModel->oafk_numb = $res['data']['numb']; $fkModel->oafk_numb = $res['data']['numb'];
$p = $payment->save();
$f = $fkModel->save();
$result = $payment->save() && $fkModel->save(); $result = $payment->save() && $fkModel->save();
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论