Commit 17c205ad authored by zhuwei's avatar zhuwei

1

parent 33976746
......@@ -24,7 +24,6 @@ class AAgentsBlackList extends Model
{
$result = Db::table($this->table)
->field($field)
//->alias('a')
->where($params)
->select();
//dump($this->getLastSql());
......
......@@ -21,13 +21,11 @@ class AAgentsBlackListImg extends Model
/**
* 查询数据
* 朱伟 2018-07-04
*/
public function getDatas($field,$params)
{
$result = Db::table($this->table)
->field($field)
//->alias('a')
->where($params)
->select();
//dump($this->getLastSql());
......@@ -36,13 +34,11 @@ class AAgentsBlackListImg extends Model
/**
* 查询数据统计
* 朱伟 2018-08-10
*/
public function getDatasTotal($field,$params)
{
$result = Db::table($this->table)
->field($field)
//->alias('a')
->where($params)
->count();
//dump($this->getLastSql());
......@@ -52,7 +48,6 @@ class AAgentsBlackListImg extends Model
/**
* 更新数据
* 朱伟 2018-07-04
*/
public function updateDatas($params)
{
......
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