Commit 75f22488 authored by zw's avatar zw

时间轴

parent dfe06140
...@@ -179,6 +179,7 @@ class PayLogService ...@@ -179,6 +179,7 @@ class PayLogService
} }
if ($insert_id > 0 && $remark_img) { if ($insert_id > 0 && $remark_img) {
$insert_id = $refund_id;
$this->addOImg($insert_id, 3, $remark_img); $this->addOImg($insert_id, 3, $remark_img);
if($del_img){ if($del_img){
$this->delOImg(3,$del_img); $this->delOImg(3,$del_img);
......
...@@ -31,7 +31,7 @@ class ORefundModel extends Model{ ...@@ -31,7 +31,7 @@ class ORefundModel extends Model{
Db::startTrans(); Db::startTrans();
try { try {
$id = $this->db_->insert($params); $id = $this->db_->insertGetId($params);
Db::commit(); Db::commit();
return $id; return $id;
} catch (\Exception $e) { } catch (\Exception $e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment