|
@@ -142,7 +142,7 @@ class Input_sina_simple
|
|
|
|
|
|
|
|
foreach ($index as $key => $item) {
|
|
foreach ($index as $key => $item) {
|
|
|
if (!empty($item['code'])) { //判断非法股票代码
|
|
if (!empty($item['code'])) { //判断非法股票代码
|
|
|
- Index::addOrUpdateByCode($item['code']);
|
|
|
|
|
|
|
+ Index::addOrUpdateByCode($item);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
return;
|
|
return;
|