Commit 8cad9339 authored by zw's avatar zw

活动添加修改获取

parent 6dd59967
......@@ -96,7 +96,7 @@ class CActivity extends Model
*/
public function getActivityCount($field,$params)
{
$result = $this->db_
$result = $this
->field($field)
->where($params)
->count();
......
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