diff --git a/application/third_party/wwwlog/controllers/index.php b/application/third_party/wwwlog/controllers/index.php index 1baa7fce..bcc83dcc 100644 --- a/application/third_party/wwwlog/controllers/index.php +++ b/application/third_party/wwwlog/controllers/index.php @@ -13,25 +13,44 @@ class Index extends CI_Controller //private $logstore = 'globalhoghlights'; private $token = ""; private $Log_Client; - private $logstore = array('cht' => 'globalhoghlights' - , 'ah' => 'asiahighlights' - , 'gh' => 'globalhighlights' - , 'ct' => 'chinatravel' - , 'yz' => 'yangtzeriver' - , 'gl' => 'guilinchina' - , 'sht' => 'shanghaihighlights' - , 'gm' => 'chinarundreisen' - , 'gmhw' => 'chinarundreisen' - , 'jp' => 'arachina' - , 'jphw' => 'arachina' - , 'ru' => 'chinahighlights_ru' - , 'ruhw' => 'chinahighlights_ru' - , 'it' => 'viaggio-in-cina' - , 'ithw' => 'viaggio-in-cina' - , 'vac' => 'viaje-a-china' - , 'vachw' => 'viaje-a-china' - , 'vc' => 'voyageschine' - , 'vchw' => 'voyageschine', + private $logstore = array( + 'cht' => 'globalhoghlights' + , + 'ah' => 'asiahighlights' + , + 'gh' => 'globalhighlights' + , + 'ct' => 'chinatravel' + , + 'yz' => 'yangtzeriver' + , + 'gl' => 'guilinchina' + , + 'sht' => 'shanghaihighlights' + , + 'gm' => 'chinarundreisen' + , + 'gmhw' => 'chinarundreisen' + , + 'jp' => 'arachina' + , + 'jphw' => 'arachina' + , + 'ru' => 'chinahighlights_ru' + , + 'ruhw' => 'chinahighlights_ru' + , + 'it' => 'viaggio-in-cina' + , + 'ithw' => 'viaggio-in-cina' + , + 'vac' => 'viaje-a-china' + , + 'vachw' => 'viaje-a-china' + , + 'vc' => 'voyageschine' + , + 'vchw' => 'voyageschine', ); //站点日志存储库,每个网站对应一个 public function __construct() @@ -46,6 +65,7 @@ class Index extends CI_Controller { $data = array(); $orders = $this->wwwlogs_model->get_update_list(10); + // print_r($orders); if ($orders) { foreach ($orders as $item) { $site_code = strtolower($item->COLI_WebCode); @@ -238,4 +258,4 @@ class Index extends CI_Controller logVarDump($ex); } } -} +} \ No newline at end of file