public static function initDB() { global $dbConn; self::$dbConn = $dbConn; self::$prefix = C('DB_PREFIX'); self::$prefixfee = C('DB_PREFIX') . 'freight_'; self::$chnameArr = array('cpsf_fujian_quanzhou', 'cpsf_fujian_zhangpu', 'cpsf_shenzhen', 'cprg_fujian', 'cprg_fujian_zhangpu', 'cprg_fujian_quanzhou', 'cprg_shenzhen', 'hkpostsf_hk', 'hkpostrg_hk', 'ems_shenzhen', 'eub_shenzhen', 'eub_fujian', 'dhl_shenzhen', 'fedex_shenzhen', 'globalmail_shenzhen', 'ups_calcfree', 'usps_calcfree', 'ups_us', 'sto_shenzhen', 'zto_shenzhen', 'yto_shenzhen', 'yundaex_shenzhen', 'best_shenzhen', 'jym_shenzhen', 'gto_shenzhen', 'ruston_packet_py', 'ruston_packet_gh', 'ruston_large_package', 'sg_dhl_gm_gh', 'sg_dhl_gm_py', 'zhengzhou_xb_py', 'zhengzhou_xb_gh', 'ruishi_xb_py', 'ruishi_xb_gh', 'bilishi_xb_py', 'bilishi_xb_gh', 'usps_first_class', 'ups_ground_commercia', 'aoyoubao_gh', 'aoyoubao_py'); }
public static function initDB() { global $dbConn; self::$dbConn = $dbConn; }