colly_wyx
2018-03-29 68bb4ce495b4ed7a382988f98ec69fb7a1581985
Yfs/Domain/Data.php
@@ -22,7 +22,7 @@
        foreach ($data['data'] as $value) { 
            $arr['value'] = $value['value'];
            $arr['create_time'] = $value['time'];
            $arr['date'] = date('Y-m-d', strtotime($value));
            $arr['date'] = date('Y-m-d', strtotime($value['time']));
            $this->model->add($arr);
            if(isset($arr['_id']))
                unset($arr['_id']);