|
@@ -34,9 +34,10 @@ class Spider
|
|
# 从采集的数据导入 一天采集一次,一次使用15个
|
|
# 从采集的数据导入 一天采集一次,一次使用15个
|
|
public function import_api()
|
|
public function import_api()
|
|
{
|
|
{
|
|
|
|
+ $project_id = Dever::input('project_id', 1);
|
|
$info_id = Dever::input('info_id', 1);
|
|
$info_id = Dever::input('info_id', 1);
|
|
|
|
|
|
- $info = Dever::db('spider/project')->find($info_id);
|
|
|
|
|
|
+ $info = Dever::db('spider/project')->find($project_id);
|
|
|
|
|
|
$where['use'] = 1;
|
|
$where['use'] = 1;
|
|
$where['limit'] = '0,15';
|
|
$where['limit'] = '0,15';
|