colly
2017-08-09 4cfe436e9e3bdca5612baf5a4ae3b3e5eca1a229
修正时间格式错误
1 files modified
2 ■■■ changed files
Yfs/Domain/Data.php 2 ●●● patch | view | raw | blame | history
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']);