Commit 35f459e5 authored by zw's avatar zw

bug

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