提交 eccfaea3 authored 作者: chengye's avatar chengye

test

上级 a9102563
...@@ -460,7 +460,7 @@ class Payment extends Base ...@@ -460,7 +460,7 @@ class Payment extends Base
'payOrg'=>$post['payOrg'], 'payOrg'=>$post['payOrg'],
'fkinfo'=>$post['fkinfo'], 'fkinfo'=>$post['fkinfo'],
'remarks'=>$post['remark'], 'remarks'=>$post['remark'],
'type'=>1, 'type'=>2,
'date'=>$post['date'], 'date'=>$post['date'],
'details'=> $details 'details'=> $details
]; ];
...@@ -491,7 +491,6 @@ class Payment extends Base ...@@ -491,7 +491,6 @@ class Payment extends Base
} }
} }
dd($data);
$res = $this->createFkNumb($data); $res = $this->createFkNumb($data);
$result = false; $result = false;
if(!empty($res['data'])){ if(!empty($res['data'])){
...@@ -500,8 +499,6 @@ class Payment extends Base ...@@ -500,8 +499,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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论