colly_wyx
2018-03-29 3a3209e1cf12cbdcc45166b897a5573a31f820f5
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']);