作者 lyh

gx

@@ -54,6 +54,8 @@ class ForwardInquiryCount extends Command @@ -54,6 +54,8 @@ class ForwardInquiryCount extends Command
54 ->where('send_time','>=',$startTime.' 00:00:00') 54 ->where('send_time','>=',$startTime.' 00:00:00')
55 ->where('send_time','<=',$endTime.' 23:59:59') 55 ->where('send_time','<=',$endTime.' 23:59:59')
56 ->get(); 56 ->get();
  57 + var_dump($list);
  58 + die();
57 if(!empty($list)){ 59 if(!empty($list)){
58 $list = $list->toArray(); 60 $list = $list->toArray();
59 $forwardModel = new ForwardCount(); 61 $forwardModel = new ForwardCount();
@@ -66,6 +68,6 @@ class ForwardInquiryCount extends Command @@ -66,6 +68,6 @@ class ForwardInquiryCount extends Command
66 $forwardModel->add($data); 68 $forwardModel->add($data);
67 } 69 }
68 } 70 }
69 - return true; 71 + return 1;
70 } 72 }
71 } 73 }