客运来源的订单访问路径抓取

master
YCC 1 year ago
parent 009c11098a
commit ee3079bba6

@ -15,6 +15,10 @@ class Index extends CI_Controller
private $Log_Client;
private $logstore = array(
'cht' => 'globalhoghlights'
,
'ghtobzg' => 'globalhoghlights'
,
'ghtobhw' => 'globalhoghlights'
,
'ah' => 'asiahighlights'
,
@ -83,6 +87,7 @@ class Index extends CI_Controller
if ($orders) {
foreach ($orders as $item) {
$site_code = strtolower($item->COLI_WebCode);
//判断是否为国际站点
if (in_array($site_code, array('gm', 'gmhw', 'jp', 'jphw', 'ru', 'ruhw', 'it', 'ithw', 'vac', 'vachw', 'vc', 'vchw', 'gh_vac', 'gh_jp', 'gh_vc', 'gh_gm', 'gh_ru', 'gh_it'))) {
try {
$this->orders_view_path_int($item->COLI_SN, $site_code, $item->COLI_SenderIP, 0, $item->COLI_OrderDetailText);

@ -64,7 +64,7 @@ class wwwlogs_model extends CI_Model
$sql .= "
COLI_SN,COLI_ID, COLI_WebCode,COLI_Name, COLI_OrderDetailText, COLI_OrderStartDate,COLI_SenderIP,COLI_WebCode,COLI_ApplyDate from ConfirmLineInfo
where 1=1
and COLI_WebCode in ('cht','ah','gh','ct','yz','sht','gl','gm','jp','ru','it','vac','vc','gmhw','jphw','ruhw','ithw','vachw','vchw','gh_vac','gh_vc','gh_jp','gh_ru','gh_it','gh_gm')
and COLI_WebCode in ('cht','ah','gh','ct','yz','sht','gl','gm','jp','ru','it','vac','vc','gmhw','jphw','ruhw','ithw','vachw','vchw','gh_vac','gh_vc','gh_jp','gh_ru','gh_it','gh_gm','ghtobzg','ghtobhw')
and not exists (select top 1 1 from InfoManager.dbo.wwwlogs where wl_COLI_SN=COLI_SN )
and COLI_SenderIP is not null
and DeleteFlag=0

Loading…
Cancel
Save