Commit 74dd5ff4 authored by zhuwei's avatar zhuwei

1

parent 831d8de4
......@@ -60,18 +60,5 @@ class FCompanyData extends BaseModel
{
return $this->db_->update($params);
}
/**
* @param $field
* @param $params
* @return false|\PDOStatement|string|\think\Collection
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public function selectCompanyData($field,$params){
return $this->db_
->field($field)
->where($params)
->select();
}
}
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