Commit fef09fb3 authored by zhuwei's avatar zhuwei

1

parent 64947531
...@@ -62,19 +62,6 @@ class AAgentsBlackList extends Model ...@@ -62,19 +62,6 @@ class AAgentsBlackList extends Model
return $result; return $result;
} }
/**
* 更新数据
*/
public function updateDatas($params)
{
$result = $this->update($params);
//dump($this->getLastSql());
return $result;
}
public function getDataById($id,$field) public function getDataById($id,$field)
{ {
$result = Db::table($this->table)->field($field)->where('id',$id)->find(); $result = Db::table($this->table)->field($field)->where('id',$id)->find();
...@@ -82,9 +69,4 @@ class AAgentsBlackList extends Model ...@@ -82,9 +69,4 @@ class AAgentsBlackList extends Model
return $result; return $result;
} }
} }
...@@ -32,18 +32,6 @@ class AAgentsBlackListImg extends Model ...@@ -32,18 +32,6 @@ class AAgentsBlackListImg extends Model
return $result; return $result;
} }
/**
* 查询数据统计
*/
public function getDatasTotal($field,$params)
{
$result = Db::table($this->table)
->field($field)
->where($params)
->count();
//dump($this->getLastSql());
return $result;
}
/** /**
......
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