Commit afa4cf62 authored by zhuwei's avatar zhuwei

1

parent ddabd9c7
...@@ -36,7 +36,7 @@ class CActivity extends Model ...@@ -36,7 +36,7 @@ class CActivity extends Model
{ {
Db::startTrans(); Db::startTrans();
try { try {
$this->where('id', $id)->update($data); $this->db_->where('id', $id)->update($data);
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