hotfix/paypal-note
LMR 2 years ago
parent 0fb39e30fd
commit 83926c229b

@ -173,9 +173,9 @@ class Index extends CI_Controller
remote_addr,request_method,request_time,status,body_bytes_sent,upstream_response_time from log where
request_uri like '/io/?event=pageview%'
and (remote_addr='$ip' OR http_x_forwarded_for like '%$ip%' OR request_uri like '%$client_id%')
ORDER BY __time__ ASC
ORDER BY __time__ DESC
"; // 同时使用IP和用户ID
$from = time() - 1296000; //往前 604800(7天), 1296000(15天)
$from = time() - 604800 * 4; //往前 604800(7天), 1296000(15天)
$to = time();
$request = new Aliyun_Log_Models_GetLogsRequest('globalhoghlights', $this->logstore[$sitecode], $from, $to, '', $query_string, 100, $offset, true);
try {

Loading…
Cancel
Save