Commit 68bc7da3 authored by clone's avatar clone

1

parent d49200c2
...@@ -84,7 +84,7 @@ class ODaily extends BaseModel ...@@ -84,7 +84,7 @@ class ODaily extends BaseModel
{ {
Db::startTrans(); Db::startTrans();
try { try {
$this->db_->where($where)->update($params); $this->where($where)->update($params);
Db::commit(); Db::commit();
return 1; return 1;
} 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