dms test
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user