Commit 7d9bd6c6 authored by hujun's avatar hujun

撤销调整

parent ef4831db
...@@ -54,7 +54,7 @@ class OPayLogModel extends Model ...@@ -54,7 +54,7 @@ class OPayLogModel extends Model
unset($params["id"]); unset($params["id"]);
Db::startTrans(); Db::startTrans();
try { try {
$id = $this->where([ "id" => $id ])->update($params); $id = $this->db_->where([ "id" => $id ])->update($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