This commit is contained in:
xiaoyu
2023-08-16 16:58:01 +08:00
parent 0bfcfddc34
commit e2942c8187
+1 -10
View File
@@ -46,15 +46,6 @@ class Test extends HD_Controller
debug_log("开始时间: ".$createdDateStart." ", 'dms.txt', $this->log_dir);
debug_log("截止时间: ".$createdDateEnd." ", 'dms.txt', $this->log_dir);
// echo strtotime("-1 minute");
// echo "\n";
// echo strtotime("now");
// exit;
// $redis = &load_cache('redis');
// $redisKey = 'dms_json';
// $dms_json = $redis->get($redisKey);
$curl = <<<CURL
curl 'http://dms.dna-nev.com.cn/ly/mp/busicen/csc/graphql.do?v=clueServerQueryFromDlr' \
-H 'Accept: application/json, text/plain, */*' \
@@ -82,7 +73,7 @@ CURL;
exit;
}
else{
debug_log("".$resArr['data']['clueServerQueryFromDlr']['record']."新增数据\n", 'dms.txt', $this->log_dir);
debug_log(" ".$resArr['data']['clueServerQueryFromDlr']['records']." 新增数据\n", 'dms.txt', $this->log_dir);
}
foreach ($resArr['data']['clueServerQueryFromDlr']['rows'] as $k => $v) {