正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
| @@ -95,7 +95,6 @@ class MonthProjectCount extends Command | @@ -95,7 +95,6 @@ class MonthProjectCount extends Command | ||
| 95 | }else{ | 95 | }else{ |
| 96 | $arr['total'] = $arr['month_total'] + ($previousInfo['total'] ?? 0); | 96 | $arr['total'] = $arr['month_total'] + ($previousInfo['total'] ?? 0); |
| 97 | } | 97 | } |
| 98 | - echo date('Y-m-d H:i:s') . '加上其他询盘:'.$arr['total'] . PHP_EOL; | ||
| 99 | $country = []; | 98 | $country = []; |
| 100 | if(isset($res['data']['data'])){ | 99 | if(isset($res['data']['data'])){ |
| 101 | $country = $res['data']['data']; | 100 | $country = $res['data']['data']; |
| @@ -117,7 +116,6 @@ class MonthProjectCount extends Command | @@ -117,7 +116,6 @@ class MonthProjectCount extends Command | ||
| 117 | $firstDayOfNextMonth = date('Y-m-01 01:00:00', strtotime("$selectedDate +1 month")); | 116 | $firstDayOfNextMonth = date('Y-m-01 01:00:00', strtotime("$selectedDate +1 month")); |
| 118 | $arr['created_at'] = $firstDayOfNextMonth; | 117 | $arr['created_at'] = $firstDayOfNextMonth; |
| 119 | $arr['updated_at'] = $firstDayOfNextMonth; | 118 | $arr['updated_at'] = $firstDayOfNextMonth; |
| 120 | -// echo date('Y-m-d H:i:s') . '数据:'.json_encode($arr) . PHP_EOL; | ||
| 121 | $monthCountModel->insert($arr); | 119 | $monthCountModel->insert($arr); |
| 122 | }else{ | 120 | }else{ |
| 123 | $monthCountModel->edit($arr,['id'=>$info['id']]); | 121 | $monthCountModel->edit($arr,['id'=>$info['id']]); |
-
请 注册 或 登录 后发表评论