作者 lyh

gx脚本demo

... ... @@ -83,7 +83,6 @@ class MonthProjectCount extends Command
$res = (new FormGlobalsoApi())->getMonthInquiry($url,$v);
echo date('Y-m-d H:i:s') . '月份:'.$v. PHP_EOL;
$arr['total'] = $arr['month_total'] = 0;
echo date('Y-m-d H:i:s') . '返回值:'.json_encode($res) . PHP_EOL;
if(isset($res['data']['count'])){
$arr['month_total'] = $res['data']['count'] + InquiryFormData::getCount([$start.' 00:00:00',$end.' 00:00:00']);
}
... ...