浏览代码

修改bug

chenbo 4 年之前
父节点
当前提交
e568701c12
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/input_sina_simple.class.php

+ 1 - 1
lib/input_sina_simple.class.php

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