国际表单路径fix

hotfix/paypal-note
LMR 2 years ago
parent b7509b2dc1
commit 6288defd11

@ -25,11 +25,10 @@ class Index extends CI_Controller
, 'ru' => 'chinahighlights_ru' , 'ru' => 'chinahighlights_ru'
, 'it' => 'viaggio-in-cina' , 'it' => 'viaggio-in-cina'
, 'vac' => 'viaje-a-china' , 'vac' => 'viaje-a-china'
,'vc'=>'voyageschine' , 'vc' => 'voyageschine',
); //站点日志存储库,每个网站对应一个 ); //站点日志存储库,每个网站对应一个
public function __construct()
function __construct()
{ {
parent::__construct(); parent::__construct();
$this->load->model('wwwlogs_model'); $this->load->model('wwwlogs_model');
@ -51,7 +50,8 @@ class Index extends CI_Controller
} }
//定时抓取订单日志 //定时抓取订单日志
public function orders_view_path($COLI_SN,$sitecode='cht',$ip,$offset=0){ public function orders_view_path($COLI_SN, $sitecode = 'cht', $ip, $offset = 0)
{
$query_string = " $query_string = "
* | select time_local,http_referer,request_uri,http_user_agent,http_x_forwarded_for * | select time_local,http_referer,request_uri,http_user_agent,http_x_forwarded_for
remote_addr,request_method,request_time,status,body_bytes_sent,upstream_response_time from log where remote_addr,request_method,request_time,status,body_bytes_sent,upstream_response_time from log where
@ -106,7 +106,6 @@ and remote_addr='$ip'
} }
} }
public function getLogs(Aliyun_Log_Client $client, $project, $logstore) public function getLogs(Aliyun_Log_Client $client, $project, $logstore)
{ {
$topic = ''; $topic = '';

Loading…
Cancel
Save