From 1f583d2f3d78942f86b63d3317b0bdc043dd7c0a Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 16 Apr 2018 18:13:51 +0800 Subject: [PATCH] =?UTF-8?q?trippest=20=E8=AE=A2=E5=8D=95=E5=90=8C=E6=AD=A5?= =?UTF-8?q?:=20=E8=8E=B7=E5=8F=96=E5=9B=BE=E5=85=B0=E6=9C=B5=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E8=AE=A2=E5=8D=95=E5=AD=98=E5=85=A5HT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/trippestOrderSync/.htaccess | 1 + .../trippestOrderSync/config/autoload.php | 116 ++ .../trippestOrderSync/config/config.php | 364 ++++ .../trippestOrderSync/config/constants.php | 41 + .../trippestOrderSync/config/database.php | 53 + .../trippestOrderSync/config/doctypes.php | 15 + .../config/foreign_chars.php | 64 + .../trippestOrderSync/config/hooks.php | 16 + .../trippestOrderSync/config/index.html | 10 + .../trippestOrderSync/config/migration.php | 41 + .../trippestOrderSync/config/mimes.php | 106 ++ .../trippestOrderSync/config/profiler.php | 17 + .../trippestOrderSync/config/routes.php | 46 + .../trippestOrderSync/config/smileys.php | 66 + .../trippestOrderSync/config/user_agents.php | 178 ++ .../controllers/TulanduoApi.php | 499 ++++++ .../trippestOrderSync/controllers/index.html | 10 + .../trippestOrderSync/controllers/welcome.php | 27 + .../helpers/array_helper.php | 92 + .../trippestOrderSync/helpers/index.html | 10 + .../third_party/trippestOrderSync/index.html | 10 + .../trippestOrderSync/libraries/index.html | 10 + .../trippestOrderSync/logs/index.html | 10 + .../trippestOrderSync/logs/log-2018-03-22.php | 2 + .../trippestOrderSync/logs/log-2018-03-30.php | 118 ++ .../trippestOrderSync/logs/log-2018-04-02.php | 106 ++ .../trippestOrderSync/logs/log-2018-04-03.php | 676 +++++++ .../trippestOrderSync/logs/log-2018-04-04.php | 260 +++ .../trippestOrderSync/logs/log-2018-04-08.php | 163 ++ .../trippestOrderSync/logs/log-2018-04-09.php | 201 +++ .../trippestOrderSync/logs/log-2018-04-10.php | 2 + .../trippestOrderSync/logs/log-2018-04-13.php | 76 + .../trippestOrderSync/logs/log-2018-04-15.php | 72 + .../trippestOrderSync/logs/log-2018-04-16.php | 81 + ...uo_addOrUpdateRouteOrderContentBuilder.php | 334 ++++ .../models/TuLanDuo_queryContentBuilder.php | 131 ++ .../trippestOrderSync/models/index.html | 10 + .../trippestOrderSync/models/orders_model.php | 1546 +++++++++++++++++ .../trippestOrderSync/views/index.html | 10 + .../views/welcome_message.php | 88 + 40 files changed, 5678 insertions(+) create mode 100644 webht/third_party/trippestOrderSync/.htaccess create mode 100644 webht/third_party/trippestOrderSync/config/autoload.php create mode 100644 webht/third_party/trippestOrderSync/config/config.php create mode 100644 webht/third_party/trippestOrderSync/config/constants.php create mode 100644 webht/third_party/trippestOrderSync/config/database.php create mode 100644 webht/third_party/trippestOrderSync/config/doctypes.php create mode 100644 webht/third_party/trippestOrderSync/config/foreign_chars.php create mode 100644 webht/third_party/trippestOrderSync/config/hooks.php create mode 100644 webht/third_party/trippestOrderSync/config/index.html create mode 100644 webht/third_party/trippestOrderSync/config/migration.php create mode 100644 webht/third_party/trippestOrderSync/config/mimes.php create mode 100644 webht/third_party/trippestOrderSync/config/profiler.php create mode 100644 webht/third_party/trippestOrderSync/config/routes.php create mode 100644 webht/third_party/trippestOrderSync/config/smileys.php create mode 100644 webht/third_party/trippestOrderSync/config/user_agents.php create mode 100644 webht/third_party/trippestOrderSync/controllers/TulanduoApi.php create mode 100644 webht/third_party/trippestOrderSync/controllers/index.html create mode 100644 webht/third_party/trippestOrderSync/controllers/welcome.php create mode 100644 webht/third_party/trippestOrderSync/helpers/array_helper.php create mode 100644 webht/third_party/trippestOrderSync/helpers/index.html create mode 100644 webht/third_party/trippestOrderSync/index.html create mode 100644 webht/third_party/trippestOrderSync/libraries/index.html create mode 100644 webht/third_party/trippestOrderSync/logs/index.html create mode 100644 webht/third_party/trippestOrderSync/logs/log-2018-03-22.php create mode 100644 webht/third_party/trippestOrderSync/logs/log-2018-03-30.php create mode 100644 webht/third_party/trippestOrderSync/logs/log-2018-04-02.php create mode 100644 webht/third_party/trippestOrderSync/logs/log-2018-04-03.php create mode 100644 webht/third_party/trippestOrderSync/logs/log-2018-04-04.php create mode 100644 webht/third_party/trippestOrderSync/logs/log-2018-04-08.php create mode 100644 webht/third_party/trippestOrderSync/logs/log-2018-04-09.php create mode 100644 webht/third_party/trippestOrderSync/logs/log-2018-04-10.php create mode 100644 webht/third_party/trippestOrderSync/logs/log-2018-04-13.php create mode 100644 webht/third_party/trippestOrderSync/logs/log-2018-04-15.php create mode 100644 webht/third_party/trippestOrderSync/logs/log-2018-04-16.php create mode 100644 webht/third_party/trippestOrderSync/models/TuLanDuo_addOrUpdateRouteOrderContentBuilder.php create mode 100644 webht/third_party/trippestOrderSync/models/TuLanDuo_queryContentBuilder.php create mode 100644 webht/third_party/trippestOrderSync/models/index.html create mode 100644 webht/third_party/trippestOrderSync/models/orders_model.php create mode 100644 webht/third_party/trippestOrderSync/views/index.html create mode 100644 webht/third_party/trippestOrderSync/views/welcome_message.php diff --git a/webht/third_party/trippestOrderSync/.htaccess b/webht/third_party/trippestOrderSync/.htaccess new file mode 100644 index 00000000..14249c50 --- /dev/null +++ b/webht/third_party/trippestOrderSync/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/config/autoload.php b/webht/third_party/trippestOrderSync/config/autoload.php new file mode 100644 index 00000000..53129c9c --- /dev/null +++ b/webht/third_party/trippestOrderSync/config/autoload.php @@ -0,0 +1,116 @@ + '', + 'xhtml1-strict' => '', + 'xhtml1-trans' => '', + 'xhtml1-frame' => '', + 'html5' => '', + 'html4-strict' => '', + 'html4-trans' => '', + 'html4-frame' => '' + ); + +/* End of file doctypes.php */ +/* Location: ./application/config/doctypes.php */ \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/config/foreign_chars.php b/webht/third_party/trippestOrderSync/config/foreign_chars.php new file mode 100644 index 00000000..14b0d737 --- /dev/null +++ b/webht/third_party/trippestOrderSync/config/foreign_chars.php @@ -0,0 +1,64 @@ + 'ae', + '/ö|œ/' => 'oe', + '/ü/' => 'ue', + '/Ä/' => 'Ae', + '/Ü/' => 'Ue', + '/Ö/' => 'Oe', + '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ/' => 'A', + '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª/' => 'a', + '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', + '/ç|ć|ĉ|ċ|č/' => 'c', + '/Ð|Ď|Đ/' => 'D', + '/ð|ď|đ/' => 'd', + '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě/' => 'E', + '/è|é|ê|ë|ē|ĕ|ė|ę|ě/' => 'e', + '/Ĝ|Ğ|Ġ|Ģ/' => 'G', + '/ĝ|ğ|ġ|ģ/' => 'g', + '/Ĥ|Ħ/' => 'H', + '/ĥ|ħ/' => 'h', + '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ/' => 'I', + '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı/' => 'i', + '/Ĵ/' => 'J', + '/ĵ/' => 'j', + '/Ķ/' => 'K', + '/ķ/' => 'k', + '/Ĺ|Ļ|Ľ|Ŀ|Ł/' => 'L', + '/ĺ|ļ|ľ|ŀ|ł/' => 'l', + '/Ñ|Ń|Ņ|Ň/' => 'N', + '/ñ|ń|ņ|ň|ʼn/' => 'n', + '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ/' => 'O', + '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º/' => 'o', + '/Ŕ|Ŗ|Ř/' => 'R', + '/ŕ|ŗ|ř/' => 'r', + '/Ś|Ŝ|Ş|Š/' => 'S', + '/ś|ŝ|ş|š|ſ/' => 's', + '/Ţ|Ť|Ŧ/' => 'T', + '/ţ|ť|ŧ/' => 't', + '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ/' => 'U', + '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ/' => 'u', + '/Ý|Ÿ|Ŷ/' => 'Y', + '/ý|ÿ|ŷ/' => 'y', + '/Ŵ/' => 'W', + '/ŵ/' => 'w', + '/Ź|Ż|Ž/' => 'Z', + '/ź|ż|ž/' => 'z', + '/Æ|Ǽ/' => 'AE', + '/ß/'=> 'ss', + '/IJ/' => 'IJ', + '/ij/' => 'ij', + '/Œ/' => 'OE', + '/ƒ/' => 'f' +); + +/* End of file foreign_chars.php */ +/* Location: ./application/config/foreign_chars.php */ \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/config/hooks.php b/webht/third_party/trippestOrderSync/config/hooks.php new file mode 100644 index 00000000..a4ad2be6 --- /dev/null +++ b/webht/third_party/trippestOrderSync/config/hooks.php @@ -0,0 +1,16 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/config/migration.php b/webht/third_party/trippestOrderSync/config/migration.php new file mode 100644 index 00000000..df42a3ca --- /dev/null +++ b/webht/third_party/trippestOrderSync/config/migration.php @@ -0,0 +1,41 @@ +migration->latest() this is the version that schema will +| be upgraded / downgraded to. +| +*/ +$config['migration_version'] = 0; + + +/* +|-------------------------------------------------------------------------- +| Migrations Path +|-------------------------------------------------------------------------- +| +| Path to your migrations folder. +| Typically, it will be within your application path. +| Also, writing permission is required within the migrations path. +| +*/ +$config['migration_path'] = APPPATH . 'migrations/'; + + +/* End of file migration.php */ +/* Location: ./application/config/migration.php */ \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/config/mimes.php b/webht/third_party/trippestOrderSync/config/mimes.php new file mode 100644 index 00000000..100f7d44 --- /dev/null +++ b/webht/third_party/trippestOrderSync/config/mimes.php @@ -0,0 +1,106 @@ + 'application/mac-binhex40', + 'cpt' => 'application/mac-compactpro', + 'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'application/x-csv', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel'), + 'bin' => 'application/macbinary', + 'dms' => 'application/octet-stream', + 'lha' => 'application/octet-stream', + 'lzh' => 'application/octet-stream', + 'exe' => array('application/octet-stream', 'application/x-msdownload'), + 'class' => 'application/octet-stream', + 'psd' => 'application/x-photoshop', + 'so' => 'application/octet-stream', + 'sea' => 'application/octet-stream', + 'dll' => 'application/octet-stream', + 'oda' => 'application/oda', + 'pdf' => array('application/pdf', 'application/x-download'), + 'ai' => 'application/postscript', + 'eps' => 'application/postscript', + 'ps' => 'application/postscript', + 'smi' => 'application/smil', + 'smil' => 'application/smil', + 'mif' => 'application/vnd.mif', + 'xls' => array('application/excel', 'application/vnd.ms-excel', 'application/msexcel'), + 'ppt' => array('application/powerpoint', 'application/vnd.ms-powerpoint'), + 'wbxml' => 'application/wbxml', + 'wmlc' => 'application/wmlc', + 'dcr' => 'application/x-director', + 'dir' => 'application/x-director', + 'dxr' => 'application/x-director', + 'dvi' => 'application/x-dvi', + 'gtar' => 'application/x-gtar', + 'gz' => 'application/x-gzip', + 'php' => 'application/x-httpd-php', + 'php4' => 'application/x-httpd-php', + 'php3' => 'application/x-httpd-php', + 'phtml' => 'application/x-httpd-php', + 'phps' => 'application/x-httpd-php-source', + 'js' => 'application/x-javascript', + 'swf' => 'application/x-shockwave-flash', + 'sit' => 'application/x-stuffit', + 'tar' => 'application/x-tar', + 'tgz' => array('application/x-tar', 'application/x-gzip-compressed'), + 'xhtml' => 'application/xhtml+xml', + 'xht' => 'application/xhtml+xml', + 'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'), + 'mid' => 'audio/midi', + 'midi' => 'audio/midi', + 'mpga' => 'audio/mpeg', + 'mp2' => 'audio/mpeg', + 'mp3' => array('audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'), + 'aif' => 'audio/x-aiff', + 'aiff' => 'audio/x-aiff', + 'aifc' => 'audio/x-aiff', + 'ram' => 'audio/x-pn-realaudio', + 'rm' => 'audio/x-pn-realaudio', + 'rpm' => 'audio/x-pn-realaudio-plugin', + 'ra' => 'audio/x-realaudio', + 'rv' => 'video/vnd.rn-realvideo', + 'wav' => array('audio/x-wav', 'audio/wave', 'audio/wav'), + 'bmp' => array('image/bmp', 'image/x-windows-bmp'), + 'gif' => 'image/gif', + 'jpeg' => array('image/jpeg', 'image/pjpeg'), + 'jpg' => array('image/jpeg', 'image/pjpeg'), + 'jpe' => array('image/jpeg', 'image/pjpeg'), + 'png' => array('image/png', 'image/x-png'), + 'tiff' => 'image/tiff', + 'tif' => 'image/tiff', + 'css' => 'text/css', + 'html' => 'text/html', + 'htm' => 'text/html', + 'shtml' => 'text/html', + 'txt' => 'text/plain', + 'text' => 'text/plain', + 'log' => array('text/plain', 'text/x-log'), + 'rtx' => 'text/richtext', + 'rtf' => 'text/rtf', + 'xml' => 'text/xml', + 'xsl' => 'text/xml', + 'mpeg' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mpe' => 'video/mpeg', + 'qt' => 'video/quicktime', + 'mov' => 'video/quicktime', + 'avi' => 'video/x-msvideo', + 'movie' => 'video/x-sgi-movie', + 'doc' => 'application/msword', + 'docx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip'), + 'xlsx' => array('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/zip'), + 'word' => array('application/msword', 'application/octet-stream'), + 'xl' => 'application/excel', + 'eml' => 'message/rfc822', + 'json' => array('application/json', 'text/json') + ); + + +/* End of file mimes.php */ +/* Location: ./application/config/mimes.php */ diff --git a/webht/third_party/trippestOrderSync/config/profiler.php b/webht/third_party/trippestOrderSync/config/profiler.php new file mode 100644 index 00000000..f8a5b1a1 --- /dev/null +++ b/webht/third_party/trippestOrderSync/config/profiler.php @@ -0,0 +1,17 @@ + array('grin.gif', '19', '19', 'grin'), + ':lol:' => array('lol.gif', '19', '19', 'LOL'), + ':cheese:' => array('cheese.gif', '19', '19', 'cheese'), + ':)' => array('smile.gif', '19', '19', 'smile'), + ';-)' => array('wink.gif', '19', '19', 'wink'), + ';)' => array('wink.gif', '19', '19', 'wink'), + ':smirk:' => array('smirk.gif', '19', '19', 'smirk'), + ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'), + ':-S' => array('confused.gif', '19', '19', 'confused'), + ':wow:' => array('surprise.gif', '19', '19', 'surprised'), + ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'), + ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'), + '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'), + ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'), + ':P' => array('raspberry.gif', '19', '19', 'raspberry'), + ':blank:' => array('blank.gif', '19', '19', 'blank stare'), + ':long:' => array('longface.gif', '19', '19', 'long face'), + ':ohh:' => array('ohh.gif', '19', '19', 'ohh'), + ':grrr:' => array('grrr.gif', '19', '19', 'grrr'), + ':gulp:' => array('gulp.gif', '19', '19', 'gulp'), + '8-/' => array('ohoh.gif', '19', '19', 'oh oh'), + ':down:' => array('downer.gif', '19', '19', 'downer'), + ':red:' => array('embarrassed.gif', '19', '19', 'red face'), + ':sick:' => array('sick.gif', '19', '19', 'sick'), + ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'), + ':-/' => array('hmm.gif', '19', '19', 'hmmm'), + '>:(' => array('mad.gif', '19', '19', 'mad'), + ':mad:' => array('mad.gif', '19', '19', 'mad'), + '>:-(' => array('angry.gif', '19', '19', 'angry'), + ':angry:' => array('angry.gif', '19', '19', 'angry'), + ':zip:' => array('zip.gif', '19', '19', 'zipper'), + ':kiss:' => array('kiss.gif', '19', '19', 'kiss'), + ':ahhh:' => array('shock.gif', '19', '19', 'shock'), + ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'), + ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'), + ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'), + ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'), + ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'), + ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'), + ':vampire:' => array('vampire.gif', '19', '19', 'vampire'), + ':snake:' => array('snake.gif', '19', '19', 'snake'), + ':exclaim:' => array('exclaim.gif', '19', '19', 'excaim'), + ':question:' => array('question.gif', '19', '19', 'question') // no comma after last item + + ); + +/* End of file smileys.php */ +/* Location: ./application/config/smileys.php */ \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/config/user_agents.php b/webht/third_party/trippestOrderSync/config/user_agents.php new file mode 100644 index 00000000..e2d3c3af --- /dev/null +++ b/webht/third_party/trippestOrderSync/config/user_agents.php @@ -0,0 +1,178 @@ + 'Windows Longhorn', + 'windows nt 5.2' => 'Windows 2003', + 'windows nt 5.0' => 'Windows 2000', + 'windows nt 5.1' => 'Windows XP', + 'windows nt 4.0' => 'Windows NT 4.0', + 'winnt4.0' => 'Windows NT 4.0', + 'winnt 4.0' => 'Windows NT', + 'winnt' => 'Windows NT', + 'windows 98' => 'Windows 98', + 'win98' => 'Windows 98', + 'windows 95' => 'Windows 95', + 'win95' => 'Windows 95', + 'windows' => 'Unknown Windows OS', + 'os x' => 'Mac OS X', + 'ppc mac' => 'Power PC Mac', + 'freebsd' => 'FreeBSD', + 'ppc' => 'Macintosh', + 'linux' => 'Linux', + 'debian' => 'Debian', + 'sunos' => 'Sun Solaris', + 'beos' => 'BeOS', + 'apachebench' => 'ApacheBench', + 'aix' => 'AIX', + 'irix' => 'Irix', + 'osf' => 'DEC OSF', + 'hp-ux' => 'HP-UX', + 'netbsd' => 'NetBSD', + 'bsdi' => 'BSDi', + 'openbsd' => 'OpenBSD', + 'gnu' => 'GNU/Linux', + 'unix' => 'Unknown Unix OS' + ); + + +// The order of this array should NOT be changed. Many browsers return +// multiple browser types so we want to identify the sub-type first. +$browsers = array( + 'Flock' => 'Flock', + 'Chrome' => 'Chrome', + 'Opera' => 'Opera', + 'MSIE' => 'Internet Explorer', + 'Internet Explorer' => 'Internet Explorer', + 'Shiira' => 'Shiira', + 'Firefox' => 'Firefox', + 'Chimera' => 'Chimera', + 'Phoenix' => 'Phoenix', + 'Firebird' => 'Firebird', + 'Camino' => 'Camino', + 'Netscape' => 'Netscape', + 'OmniWeb' => 'OmniWeb', + 'Safari' => 'Safari', + 'Mozilla' => 'Mozilla', + 'Konqueror' => 'Konqueror', + 'icab' => 'iCab', + 'Lynx' => 'Lynx', + 'Links' => 'Links', + 'hotjava' => 'HotJava', + 'amaya' => 'Amaya', + 'IBrowse' => 'IBrowse' + ); + +$mobiles = array( + // legacy array, old values commented out + 'mobileexplorer' => 'Mobile Explorer', +// 'openwave' => 'Open Wave', +// 'opera mini' => 'Opera Mini', +// 'operamini' => 'Opera Mini', +// 'elaine' => 'Palm', + 'palmsource' => 'Palm', +// 'digital paths' => 'Palm', +// 'avantgo' => 'Avantgo', +// 'xiino' => 'Xiino', + 'palmscape' => 'Palmscape', +// 'nokia' => 'Nokia', +// 'ericsson' => 'Ericsson', +// 'blackberry' => 'BlackBerry', +// 'motorola' => 'Motorola' + + // Phones and Manufacturers + 'motorola' => "Motorola", + 'nokia' => "Nokia", + 'palm' => "Palm", + 'iphone' => "Apple iPhone", + 'ipad' => "iPad", + 'ipod' => "Apple iPod Touch", + 'sony' => "Sony Ericsson", + 'ericsson' => "Sony Ericsson", + 'blackberry' => "BlackBerry", + 'cocoon' => "O2 Cocoon", + 'blazer' => "Treo", + 'lg' => "LG", + 'amoi' => "Amoi", + 'xda' => "XDA", + 'mda' => "MDA", + 'vario' => "Vario", + 'htc' => "HTC", + 'samsung' => "Samsung", + 'sharp' => "Sharp", + 'sie-' => "Siemens", + 'alcatel' => "Alcatel", + 'benq' => "BenQ", + 'ipaq' => "HP iPaq", + 'mot-' => "Motorola", + 'playstation portable' => "PlayStation Portable", + 'hiptop' => "Danger Hiptop", + 'nec-' => "NEC", + 'panasonic' => "Panasonic", + 'philips' => "Philips", + 'sagem' => "Sagem", + 'sanyo' => "Sanyo", + 'spv' => "SPV", + 'zte' => "ZTE", + 'sendo' => "Sendo", + + // Operating Systems + 'symbian' => "Symbian", + 'SymbianOS' => "SymbianOS", + 'elaine' => "Palm", + 'palm' => "Palm", + 'series60' => "Symbian S60", + 'windows ce' => "Windows CE", + + // Browsers + 'obigo' => "Obigo", + 'netfront' => "Netfront Browser", + 'openwave' => "Openwave Browser", + 'mobilexplorer' => "Mobile Explorer", + 'operamini' => "Opera Mini", + 'opera mini' => "Opera Mini", + + // Other + 'digital paths' => "Digital Paths", + 'avantgo' => "AvantGo", + 'xiino' => "Xiino", + 'novarra' => "Novarra Transcoder", + 'vodafone' => "Vodafone", + 'docomo' => "NTT DoCoMo", + 'o2' => "O2", + + // Fallback + 'mobile' => "Generic Mobile", + 'wireless' => "Generic Mobile", + 'j2me' => "Generic Mobile", + 'midp' => "Generic Mobile", + 'cldc' => "Generic Mobile", + 'up.link' => "Generic Mobile", + 'up.browser' => "Generic Mobile", + 'smartphone' => "Generic Mobile", + 'cellphone' => "Generic Mobile" + ); + +// There are hundreds of bots but these are the most common. +$robots = array( + 'googlebot' => 'Googlebot', + 'msnbot' => 'MSNBot', + 'slurp' => 'Inktomi Slurp', + 'yahoo' => 'Yahoo', + 'askjeeves' => 'AskJeeves', + 'fastcrawler' => 'FastCrawler', + 'infoseek' => 'InfoSeek Robot 1.0', + 'lycos' => 'Lycos' + ); + +/* End of file user_agents.php */ +/* Location: ./application/config/user_agents.php */ \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php b/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php new file mode 100644 index 00000000..f52b050f --- /dev/null +++ b/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php @@ -0,0 +1,499 @@ + "'BJSIC-41','BJSIC-42'" + ,"BJSIC-43" => "'BJSIC-41','BJSIC-42','BJSIC-43'" + ); + public $special_route_name = array( + "BJSIC-42" => "北京精品两日游(目的地)" + ,"BJSIC-43" => "北京精品三日游(目的地)" + ); + public $city_info = array( + "北京分公司" => array( + "PlanVEI_SN" => 1343, + "COLI_sourcetype" => 32090, + "routeType" => "北京目的地线路", + "GRI_after" => "BJ" + ), + "西安分公司" => array( + "PlanVEI_SN" => 30548, + "COLI_sourcetype" => 32116, + "routeType" => "西安目的地线路", + "GRI_after" => "XA" + ), + "上海分公司" => array( + "PlanVEI_SN" => 29188, + "COLI_sourcetype" => 32112, + "routeType" => "上海目的地线路", + "GRI_after" => "SH" + ) + ); + + + // test + // public $list_url = "http://djdebug.ltsoftware.net:19919/action/api/searchRouteOrder/"; + // public $detail_url = "http://djdebug.ltsoftware.net:19919/action/api/detailRouteOrder/"; + public $neworder_url = "http://djdebug.ltsoftware.net:19919/action/api/addOrUpdateRouteOrder/"; + // Live + public $list_url = "http://djb3c.ltsoftware.net:9921/action/api/searchRouteOrder/"; + public $detail_url = "http://djb3c.ltsoftware.net:9921/action/api/detailRouteOrder/"; + // public $neworder_url = "http://djb3c.ltsoftware.net:9921/action/api/addOrUpdateRouteOrder/"; + + // 发送到图兰朵系统接口的参数jsonParams + public $params; + + public function __construct(){ + parent::__construct(); + $this->load->model('Orders_model'); + $this->load->model('TuLanDuo_queryContentBuilder', 'tld_order'); + $this->load->helper('array'); + + // $this->output->enable_profiler(TRUE); + + $this->params = new stdClass(); + /** test */ + // $this->userId = "358"; + // $this->key = "a08f26ddc5b1bd4c8e5eafcac28fc1ec"; + /** Live */ + // 目的地 + $this->userId = "1134"; + $this->key = "73d180d05d425fd192e1c5b3097e75ff"; + // 桂林海纳国旅 + // $this->userId = "18"; + // $this->key = "d05c25e6e6c5d4898161e0aaf700d9c7"; + } + + public function get_orderlist() + { + $this->tld_order->setUserId($this->userId) + ->setKey($this->key) + ->setPageSize(20) + ->setPageIndex(1) + ->setStartTravelDate("2018-04-19") + ->setEndTravelDate("2018-04-19") + // ->setStartOrderDate("2018-04-13") + // ->setEndOrderDate("2018-04-13") + ; + $resp = $this->excute_curl($this->list_url, $this->tld_order); + $resp_arr = json_decode($resp, true); + if ($resp_arr['status'] !== 1) { + log_message('error','TulanduoApi get_orderlist failed. Msg:' . $resp_arr['errMsg'] . "; Request: " . json_encode($this->params)); + return; + } + $all_list = $resp_arr["responseData"]["orders"]; + $order_to_HT = array_map( + function($ele){ + if ( ! in_array($ele['agcName'], array("D目的地桂林组")) ) { + return $ele; + } + },$resp_arr["responseData"]["orders"]); + for($pi=2; $pi <= $resp_arr['responseData']['pageCount']; $pi++) { + $this->tld_order->setPageIndex($pi); + $f_resp = $this->excute_curl($this->list_url, $this->tld_order); + $f_resp_arr = json_decode($f_resp, true); + if ($resp_arr['status'] !== 1) { + log_message('error','TulanduoApi get_orderlist failed. Msg:' . $f_resp_arr['errMsg'] . "; Request: " . json_encode($this->params)); + continue; + } + $f_order_to_HT = array_map( + function($ele){ + if ( ! in_array($ele['agcName'], array("D目的地桂林组")) ) { + return $ele; + } + },$f_resp_arr["responseData"]["orders"]); + $order_to_HT = array_filter(array_merge($order_to_HT, $f_order_to_HT)); + $all_list = array_merge($all_list, $f_resp_arr["responseData"]["orders"]); + } + foreach ($all_list as $k => $vo) { + $vo['agcOrderNo'] = mb_ereg_replace('(\s| )', '', $vo['agcOrderNo']); // 去掉中文的全角空格 + // get order detail + // $this->tld_order->setOrderId($vo["orderId"]); + // $detail_resp = $this->excute_curl($this->detail_url, $this->tld_order); + // $detail_jsonResp = json_decode($detail_resp); + // if ($detail_jsonResp->status !== 1) { + // log_message('error','TulanduoApi get_orderdetail failed. Msg:' . $detail_jsonResp->errMsg . "; Request: " . json_encode($this->params)); + // return; + // } + $PAG_Code = $pag_sub = null; + preg_match('^[a-zA-Z]+\-[0-9\-]+^', $this->characet($vo['routeName'], "UTF-8"), $temp_array); + if (empty($temp_array) && isset($this->pag_no_tmp()[$vo['routeName']])) { + // 旧的数据没有线路代号 + $PAG_Code = $pag_sub = $this->pag_no_tmp()[$vo['routeName']]; + $split_code = explode("-", $PAG_Code); + $PAG_Code = $split_code[0] . "-" . $split_code[1]; + isset($split_code[2]) ? $pag_sub=$split_code[2] : null; + } else { + log_message('error','未识别的线路名称 ' . $vo['orderId'] . " " . $vo['routeName'] . var_export($temp_array, 1)); + $PAG_Code = $pag_sub = null; + $split_code = explode("-", $temp_array[0]); + $PAG_Code = $split_code[0] . "-" . $split_code[1]; + isset($split_code[2]) ? $pag_sub=$split_code[2] : null; + } + $serviceSN = $this->Orders_model->get_packageSN($PAG_Code); + $COLD_MemoText = json_encode(array("Pick up"=>$vo['toTraffic'], "Drop off"=>$vo['backTraffic'])); + + $this->Orders_model->BIZ_COLI_SN = $this->Orders_model->GRI_SN = null; + if (in_array($vo['agcName'], array("D目的地桂林组"))) { + $tmp_groupCode = explode("-", $vo['agcOrderNo']); + $real_groupCode = $tmp_groupCode[0] . "-"; + $real_groupCode .= mb_strstr($tmp_groupCode[1], "(", true) ? mb_strstr($tmp_groupCode[1], "(", true) : $tmp_groupCode[1]; + $real_groupCode = mb_ereg_replace('(\s| )', '', $real_groupCode); + // set BIZ_COLI_SN, GRI_SN at Orders_model + $this->Orders_model->get_SN_by_groupCode($real_groupCode); + } + /** insert HT */ + if ($this->Orders_model->BIZ_COLI_SN === null) { + // BIZ_Guest + $this->Orders_model->GUT_LastName = $vo['customerName']; + // $this->Orders_model->GUT_Passport = $detail_jsonResp->orderDetail->customers[0]->documentNo; + $this->Orders_model->biz_guest_save(); + // BIZ_ConfirmLineInfo + $this->Orders_model->BIZ_GUT_SN = $this->Orders_model->GUT_SN; + $this->Orders_model->BIZ_COLI_ID = $this->Orders_model->biz_make_order_number(); + $this->Orders_model->BIZ_COLI_ApplyDate = $vo['orderDate']; + $this->Orders_model->BIZ_COLI_sourcetype = empty($this->city_info[$vo['operationDep']]) ? 32090 : $this->city_info[$vo['operationDep']]['COLI_sourcetype']; + $this->Orders_model->BIZ_COLI_State = $vo['orderStatus']==1 ? 7 : 4;; + $this->Orders_model->BIZ_COLI_servicetype = 'D'; + $this->Orders_model->BIZ_COLI_ConfirmType = 52001; + $this->Orders_model->BIZ_COLI_Memo = ""; + $this->Orders_model->BIZ_COLI_OrderDetailText = "来自图兰朵系统同步测试" . $vo["orderId"] . ";线路:" . $vo['routeName'];//. $allDetails_to_HT; + $this->Orders_model->BIZ_COLI_GroupCode = $vo['agcOrderNo'] ? $vo['agcOrderNo'] : ''; + // $this->Orders_model->BIZ_COLI_GRI_SN = $this->Orders_model->GRI_SN ? $this->Orders_model->GRI_SN : null; + $this->Orders_model->BIZ_COLI_GUT_SN = $this->Orders_model->BIZ_GUT_SN ? $this->Orders_model->BIZ_GUT_SN : null; + $coli_sn[] = $this->Orders_model->biz_confirm_save(); + // BIZ_ConfirmLineDetail + $this->Orders_model->COLD_COLI_SN = $this->Orders_model->BIZ_COLI_SN; + $this->Orders_model->COLD_ServiceType = "D"; + $this->Orders_model->COLD_ServiceSN = $serviceSN; + $this->Orders_model->COLD_ServiceSN2 = $pag_sub; + $this->Orders_model->COLD_StartDate = $vo['travelDate']; + $this->Orders_model->COLD_EndDate = $vo['leaveDate']; + $this->Orders_model->COLD_PersonNum = $vo['adultNum']; + $this->Orders_model->COLD_ChildNum = $vo['childNum']; + $this->Orders_model->cold_state = $vo['orderStatus']==1 ? 7 : 4; // 7已确认(已收款) // 4 下计划未确认(已收款) + $this->Orders_model->DeleteFlag = 0; + $this->Orders_model->COLD_PlanVEI_SN = empty($this->city_info[$vo['operationDep']]) ? 1343 : $this->city_info[$vo['operationDep']]['PlanVEI_SN']; + // $this->Orders_model->COLD_Memo = isset($detail_jsonResp->orderDetail->orderRemark) ? $detail_jsonResp->orderDetail->orderRemark : ''; + $this->Orders_model->COLD_MemoText = $COLD_MemoText; + $this->Orders_model->biz_confirm_detail_save(); + } + // biz_groupcombineinfo + $this->Orders_model->GCI_combineNo = isset($vo['groupOrderNo']) ? $vo['groupOrderNo'] : ''; + $this->Orders_model->GCI_COLI_SN = $this->Orders_model->BIZ_COLI_SN; + $this->Orders_model->GCI_VendorOrderId = $vo['orderId']; + $this->Orders_model->GCI_FromAgc = $vo['agcName']; + $this->Orders_model->GCI_groupType = $vo['orderType']; + $this->Orders_model->GCI_travelDate = $vo['travelDate']; + $this->Orders_model->GCI_leaveDate = $vo['leaveDate']; + $this->Orders_model->GCI_createTime = $vo['orderDate']; + $this->Orders_model->biz_groupcombineinfo_save(); + } + return; + } + + public function update_HT_order_operation($coli_sn=null) + { + if ($coli_sn !== null) { + $to_update_list = $this->Orders_model->get_groupCombineInfo($coli_sn); + } else { + $startDate = date('Y-m-d'); + $endDate = date('Y-m-d', strtotime("+1 days")); + // $endDate = date('Y-m-d', strtotime("+4 days")); + $to_update_list = $this->Orders_model->get_groupCombineInfo(0, $startDate, $endDate); + } + foreach ($to_update_list as $key => $order) { + $this->tld_order->setOrderId($order->GCI_VendorOrderId) + ->setUserId($this->userId) + ->setKey($this->key); + $detail_resp = $this->excute_curl($this->detail_url, $this->tld_order); + $detail_jsonResp = json_decode($detail_resp); + if ($detail_jsonResp->status !== 1) { + log_message('error','TulanduoApi get_orderdetail failed. Msg:' . $detail_jsonResp->errMsg . "; Request: " . json_encode($this->params)); + return; + } + $allDetails_to_HT = "日程: "; + foreach ($detail_jsonResp->orderDetail->scheduleDetails as $vsd) { + $allDetails_to_HT .= $vsd->travelDate .": ". $vsd->title . "; "; + } + /** HT 开始 */ + // GRoupInfo todo 写入报错 + if ($order->COLI_GRI_SN == null) { + $travelDate = new DateTime($detail_jsonResp->orderDetail->travelDate); + $leaveDate = new DateTime($detail_jsonResp->orderDetail->leaveDate); + $date_diff = $travelDate->diff($leaveDate); + $this->Orders_model->BIZ_COLI_SN = $order->GCI_COLI_SN; + + $this->Orders_model->GRI_No = $detail_jsonResp->orderDetail->agcOrderNo; + $this->Orders_model->GRI_OrderType = 227002; // 商务 + $this->Orders_model->GRI_Name = ""; + $this->Orders_model->GRI_PersonNum = $detail_jsonResp->orderDetail->adultNum+$detail_jsonResp->orderDetail->childNum; + $this->Orders_model->GRI_Days = intval($date_diff->format('%R%a')+1); + $this->Orders_model->GRI_IsCancel = 0; + $this->Orders_model->DeleteFlag = 0; + $this->Orders_model->groupinfo_save(); + // update COLI + $this->Orders_model->BIZ_COLI_GRI_SN = $this->Orders_model->GRI_SN; + $this->Orders_model->BIZ_COLI_GroupCode = $this->Orders_model->GRI_No; + $this->Orders_model->update_confirmLineInfo(); + } + // BIZ_BookPeople + foreach ($detail_jsonResp->orderDetail->customers as $kd => $vd) { + $this->Orders_model->BPE_FirstName = $vd->name; + $this->Orders_model->BPE_GuestType = $vd->peopleType=="成人" ? 1 : 2; + $this->Orders_model->BPE_Passport = $vd->documentNo; + $bpe_sn[] = $this->Orders_model->biz_book_people_save(); + // BIZ_BookPeopleList + $this->Orders_model->biz_bookpeople_List_save($order->COLD_SN, $this->Orders_model->BPE_SN); + } + // BIZ_PackageOrderInfo + $this->Orders_model->POI_COLD_SN = $order->COLD_SN; + $this->Orders_model->POI_Time = $detail_jsonResp->orderDetail->travelDate; + $this->Orders_model->POI_Hotel = $detail_jsonResp->orderDetail->scheduleDetails[0]->accommodation; + $this->Orders_model->POI_HotelAddress = $detail_jsonResp->orderDetail->scheduleDetails[0]->accommodationAddress; + $this->Orders_model->POI_HotelPhone = $detail_jsonResp->orderDetail->scheduleDetails[0]->accommodationTelNo; + $this->Orders_model->POI_EndTime = $detail_jsonResp->orderDetail->leaveDate; + $this->Orders_model->POI_QuotationType = 1; // 1 报价 2 网络支付价 3 促销价 + $this->Orders_model->biz_packageorder_save(); + // BIZ_GroupCombineOperationDetail + // 门票 + if (isset($detail_jsonResp->orderDetail->operationDetails->sceneryOperations) && + empty($this->Orders_model->combineoperation_exist($detail_jsonResp->orderDetail->groupOrderNo, "sceneryOperations")) ) { + foreach ($detail_jsonResp->orderDetail->operationDetails->sceneryOperations as $ks => $vso) { + $this->Orders_model->GCOD_GCI_combineNo = isset($detail_jsonResp->orderDetail->groupOrderNo) ? $detail_jsonResp->orderDetail->groupOrderNo : ""; + $this->Orders_model->GCOD_operationType = "sceneryOperations"; + $this->Orders_model->GCOD_subType = $vso->type; + $this->Orders_model->GCOD_title = $vso->name; + $this->Orders_model->GCOD_startDate = $vso->useDate; + $this->Orders_model->GCOD_endDate = $vso->useDate; + $this->Orders_model->GCOD_useNum = $vso->useNum; + $this->Orders_model->GCOD_sumMoney = $vso->sumMoney; + $this->Orders_model->GCOD_remark = $vso->remark; + $this->Orders_model->GCOD_dutyName = ""; + $this->Orders_model->GCOD_dutyTel = null; + $this->Orders_model->GCOD_dutyPhoto = null; + $this->Orders_model->GCOD_standard = ""; + $this->Orders_model->GCOD_carLicense = ""; + $this->Orders_model->biz_groupcombineoperationdetail_save(); + } + } + // 用房 + // 用餐 + if (isset($detail_jsonResp->orderDetail->operationDetails->restraurantOperations) && + empty($this->Orders_model->combineoperation_exist($detail_jsonResp->orderDetail->groupOrderNo, "restraurantOperations"))) { + foreach ($detail_jsonResp->orderDetail->operationDetails->restraurantOperations as $vro) { + $this->Orders_model->GCOD_GCI_combineNo = isset($detail_jsonResp->orderDetail->groupOrderNo) ? $detail_jsonResp->orderDetail->groupOrderNo : ""; + $this->Orders_model->GCOD_operationType = "restraurantOperations"; + $this->Orders_model->GCOD_subType = $vro->type; + $this->Orders_model->GCOD_title = $vro->name; + $this->Orders_model->GCOD_startDate = $vro->useDate; + $this->Orders_model->GCOD_endDate = $vro->useDate; + $this->Orders_model->GCOD_useNum = $vro->useNum; + $this->Orders_model->GCOD_sumMoney = $vro->sumMoney; + $this->Orders_model->GCOD_standard = $vro->standard; + $this->Orders_model->GCOD_remark = $vro->remark; + $this->Orders_model->GCOD_dutyName = ""; + $this->Orders_model->GCOD_dutyTel = null; + $this->Orders_model->GCOD_dutyPhoto = null; + $this->Orders_model->GCOD_carLicense = ""; + $this->Orders_model->biz_groupcombineoperationdetail_save(); + } + } + // 用车 + if (isset($detail_jsonResp->orderDetail->operationDetails->touristCarOperations) && + empty($this->Orders_model->combineoperation_exist($detail_jsonResp->orderDetail->groupOrderNo, "touristCarOperations"))) { + foreach ($detail_jsonResp->orderDetail->operationDetails->touristCarOperations as $vco) { + $this->Orders_model->GCOD_GCI_combineNo = isset($detail_jsonResp->orderDetail->groupOrderNo) ? $detail_jsonResp->orderDetail->groupOrderNo : ""; + $this->Orders_model->GCOD_operationType = "touristCarOperations"; + $this->Orders_model->GCOD_subType = $vco->type; + $this->Orders_model->GCOD_title = $vco->name; + $this->Orders_model->GCOD_dutyName = $vco->driver; + $this->Orders_model->GCOD_dutyTel = $vco->driverTel; + $this->Orders_model->GCOD_startDate = $vco->startDate; + $this->Orders_model->GCOD_endDate = $vco->endDate; + $this->Orders_model->GCOD_sumMoney = $vco->sumMoney; + $this->Orders_model->GCOD_carLicense = $vco->carLicense; + $this->Orders_model->GCOD_useNum = 1; + $this->Orders_model->GCOD_standard = ""; + $this->Orders_model->GCOD_dutyPhoto = null; + $this->Orders_model->GCOD_remark = $vco->remark; + $this->Orders_model->biz_groupcombineoperationdetail_save(); + } + } + // 导游服务 + if (isset($detail_jsonResp->orderDetail->operationDetails->guiderOperations) && + empty($this->Orders_model->combineoperation_exist($detail_jsonResp->orderDetail->groupOrderNo, "guiderOperations"))) { + foreach ($detail_jsonResp->orderDetail->operationDetails->guiderOperations as $vgo) { + $this->Orders_model->GCOD_GCI_combineNo = isset($detail_jsonResp->orderDetail->groupOrderNo) ? $detail_jsonResp->orderDetail->groupOrderNo : ""; + $this->Orders_model->GCOD_operationType = "guiderOperations"; + $this->Orders_model->GCOD_subType = ""; + $this->Orders_model->GCOD_title = ""; + $this->Orders_model->GCOD_dutyName = $vgo->name; + $this->Orders_model->GCOD_dutyTel = $vgo->mobelPhone; + $this->Orders_model->GCOD_dutyPhoto = isset($vgo->guiderPhoto) ? $vgo->guiderPhoto : ''; + $this->Orders_model->GCOD_startDate = $vgo->startDate; + $this->Orders_model->GCOD_endDate = $vgo->endDate; + $this->Orders_model->GCOD_sumMoney = $vgo->sumMoney; + $this->Orders_model->GCOD_carLicense = ""; + $this->Orders_model->GCOD_standard = ""; + $this->Orders_model->GCOD_remark = $vgo->remark; + $this->Orders_model->GCOD_useNum = 1; + $this->Orders_model->biz_groupcombineoperationdetail_save(); + } + } + } // end foreach order + echo "Got order from 图兰朵, count: " . count($to_update_list); + } + + public function order_push($COLI_ID='170809390') // test + {exit(); + /** test */ + $this->userId = "358"; + $this->key = "a08f26ddc5b1bd4c8e5eafcac28fc1ec"; + $this->load->model('TuLanDuo_addOrUpdateRouteOrderContentBuilder', 'tldOrderBuilder'); + $orderinfo = $this->Orders_model->get_orderinfo_detail($COLI_ID); + if(empty($orderinfo)) {return;} + $COLD_SN_str = implode(',', array_map( function($element){return $element->COLD_SN;}, $orderinfo )) ; + $guestlist = $this->Orders_model->get_guestlist($COLD_SN_str); + $scheduleDetails = $this->Orders_model->get_scheduleDetails($COLD_SN_str); + $routeName = $this->special_route_name[$scheduleDetails[0]->PAG_Code] ? $this->special_route_name[$scheduleDetails[0]->PAG_Code] : $scheduleDetails[0]->PAG2_Name; + if ($this->special_route[$scheduleDetails[0]->PAG_Code]) { + $scheduleDetails = $this->Orders_model->get_packageDetails($this->special_route[$scheduleDetails[0]->PAG_Code]); + } + $travelFees = $this->Orders_model->get_paymentDetails($COLI_ID); + bcscale(4); + $this->tldOrderBuilder->setUserId($this->userId) + ->setKey($this->key) + ->setOrderType(1) + ->setRouteName($routeName) + ->setRouteType("北京目的地线路") // todo + ->setAgcOrderNo($orderinfo[0]->COLI_GroupCode) + ->setAdultNum($orderinfo[0]->COLD_PersonNum) + ->setChildNum($orderinfo[0]->COLD_ChildNum) + ->setDestination("北京") // todo + ->setTravelDate(strstr($orderinfo[0]->COLD_StartDate, " ", true)) + ->setLeavedDate(strstr($orderinfo[0]->COLD_EndDate, " ", true)); + foreach ($guestlist as $key => $vg) { + $this->tldOrderBuilder->setCustomersName($key, $vg->BPE_FirstName) + ->setCustomersPeopleType($key, ($vg->BPE_GuestType==1 ? "成人" : "儿童")) + ->setCustomersDocumentType($key, "Passport No.") + ->setCustomersDocumentNo($key, $vg->BPE_Passport) + ->setCustomersOtherInfo($key, ""); + } + foreach ($scheduleDetails as $ks => $vs) { + $this->tldOrderBuilder->setScheduleDetailsContent($ks, $vs->PAG2_Title) + ->setScheduleDetailsTitle($ks, $vs->PAG2_Name) + // ->set_scheduleDetails($ks, "traffic", ($vs->PAG_Vehicle>60001 ? 1 : 0)) + ->setScheduleDetailsBreakFirst($ks, 0 ) + ->setScheduleDetailsDinner($ks, (in_array($vs->PAG_Meal, array('61002', '61004')) ? 1 : 0) ) + ->setScheduleDetailsLunch($ks, (in_array($vs->PAG_Meal, array('61003', '61004')) ? 1 : 0)); + } + foreach ($travelFees as $kf => $vf) { + $this->tldOrderBuilder->setTravelFeesType($kf, "Per Group") + ->setTravelFeesMoney($kf, $vf->GAI_SQJE) + ->setTravelFeesNum($kf, 1) + ->setTravelFeesUnit($kf, bcdiv($vf->GAI_SSJE, $vf->GAI_SQJE)) + ->setTravelFeesSumMoney($kf, $vf->GAI_SSJE) + ->setTravelFeesRemark($kf, $vf->GAI_Memo); + } + $resp = $this->excute_curl($this->neworder_url, $this->tldOrderBuilder); + $this->Orders_model->GCI_COLI_SN = $orderinfo[0]->COLI_SN; + $this->Orders_model->GCI_GRI_SN = $orderinfo[0]->COLI_GRI_SN; + $this->Orders_model->GCI_VendorOrderId = json_decode($rsp)->responseData->orderId; + $this->Orders_model->biz_groupcombineinfo_save(); + return; + } + + protected function excute_curl($url, $content_builder) { + $ch = curl_init(); + curl_setopt($ch, CURLOPT_URL, $url); + curl_setopt($ch, CURLOPT_FAILONERROR, false); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($ch, CURLOPT_HTTPHEADER, array( + "Accept: application/json" + )); + + // $params_str = ($this->characet(json_encode($this->params), "UTF-8")); + $params_str = $content_builder->getBizContent(); + $postBody = array('jsonParams' => $params_str, "notHander" => 1); + + if (is_string($params_str) && 0 < mb_strlen($params_str)) { + curl_setopt($ch, CURLOPT_POST, true); + curl_setopt($ch, CURLOPT_POSTFIELDS, $postBody); + } + + $reponse = curl_exec($ch); + $eval_resp = json_decode($reponse); + +log_message('error', " curl postBodyString: ".json_encode($postBody)); + if (curl_errno($ch) || $eval_resp->status == 0) { + log_message('error', "curl error code: ".curl_error($ch) . $eval_resp->errMsg . "; curl postBodyString: ".json_encode($postBody)); + } else { + $httpStatusCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); + if (200 !== $httpStatusCode) { + log_message('error', "Request html Status Code: ".$httpStatusCode."; curl postBodyString: ".json_encode($postBody)); + } + } + curl_close($ch); + return $reponse; + } + + + /*! + * 转换字符集编码 + * @param $data + * @param $targetCharset + * @return string + */ + protected function characet($data, $targetCharset) { + if (!empty($data)) { + $fileType = "UTF-8"; + if (strcasecmp($fileType, $targetCharset) != 0) { + $data = mb_convert_encoding($data, $targetCharset, $fileType); + // $data = iconv($fileType, $targetCharset.'//IGNORE', $data); + } + } + return $data; + } + + public function pag_no_tmp($routeName='') + { + return array( + "故宫深度一日游(目的地)" => "BJSIC-44" + ,"故宫深度游拼团(目的地)" => "BJSIC-44" + ,"北京精品一日游(目的地)" => "BJSIC-41" + ,"北京精品两日游(目的地)" => "BJSIC-42" + ,"北京精品三日游(目的地)" => "BJSIC-43" + ,"北京精品游D2(目的地)" => "BJSIC-42" + ,"北京精品游D3(目的地)" => "BJSIC-43" + ,"北京单租车服务(目的地)" => "BJALC-209" + ,"北京市内-天津新港大车接送(目的地)" => "BJSIC-16" + ,"天津新港-北京市内大车接送(目的地)" => "BJSIC-16" + ,"箭扣-慕田峪徒步一日游(目的地)" => "BJSIC-45" + ,"箭扣-慕田峪长城徒步拼团(目的地)" => "BJSIC-45" + ,"司马台西-金山岭徒步一日游(目的地)" => "BJSIC-46" + ,"司马台西-金山岭长城徒步拼团(目的地)" => "BJSIC-46" + ,"慕田峪半日游拼团(目的地)" => "BJSIC-47" + ,"古北口长城徒步一日游(目的地)" => "BJSIC-48" + ,"半日游广场故宫拼团(目的地)" => "BJSIC-41" + // ,=> + ,"西安精品一日游(目的地)" => "XASIC-41" + ,"西安精品两日游(目的地)" => "XASIC-42" + ,"西安单租车服务(目的地)" => "XASIC-17" + ,"西安单租车接送服务(目的地)" => "XASIC-17" + ,"西安兵马俑精品一日游(目的地)" => "XASIC-41" + ,"西安兵马俑精品半日游(目的地)" => "XASIC-15" + ,"西安汉阳陵市内精品一日游(目的地)" => "XASIC-42" + // ,=> + ,"上海精品一日游(目的地)" => "SHSIC-41" + ,"上海市内精品一日游(目的地)" => "SHSIC-42" + ,"周庄锦溪精品一日游(目的地)" => "SHSIC-43" + ,"上海单租车(目的地)" => "SHSIC-45" //"SHALC-6,7,8,9" + ); + } +} diff --git a/webht/third_party/trippestOrderSync/controllers/index.html b/webht/third_party/trippestOrderSync/controllers/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/webht/third_party/trippestOrderSync/controllers/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/controllers/welcome.php b/webht/third_party/trippestOrderSync/controllers/welcome.php new file mode 100644 index 00000000..21bef43d --- /dev/null +++ b/webht/third_party/trippestOrderSync/controllers/welcome.php @@ -0,0 +1,27 @@ + + * @see http://codeigniter.com/user_guide/general/urls.html + */ + public function index() + { + $this->load->view('welcome_message'); + } +} + +/* End of file welcome.php */ +/* Location: ./application/controllers/welcome.php */ \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/helpers/array_helper.php b/webht/third_party/trippestOrderSync/helpers/array_helper.php new file mode 100644 index 00000000..1dd8320d --- /dev/null +++ b/webht/third_party/trippestOrderSync/helpers/array_helper.php @@ -0,0 +1,92 @@ + $v) + { + $temp[$k] = explode(",",$v); //再将拆开的数组重新组装 + } + return $temp; +} + +function my_array_unique($array, $keep_key_assoc = false) +{ + $duplicate_keys = array(); + $tmp = array(); + + foreach ($array as $key=>$val) + { + // convert objects to arrays, in_array() does not support objects + if (is_object($val)) + $val = (array)$val; + + if (!in_array($val, $tmp)) + $tmp[] = $val; + else + $duplicate_keys[] = $key; + } + + foreach ($duplicate_keys as $key) + unset($array[$key]); + + return $keep_key_assoc ? $array : array_values($array); +} + +//根据URL获取月份 +function getaqiMonth($url){ + $monArr = array('January','February','March','April','May','June','July','August','September','October','November','December'); + $monObj = array( + 'January' => '01', + 'February' => '02', + 'March' => '03', + 'April' => '04', + 'May' => '05' , + 'June' => '06', + 'July' => '07', + 'August' => '08', + 'September' => '09', + 'October' => '10', + 'November' => '11', + 'December' => '12'); + $urlarr = explode("/",$url); + $tmp = $urlarr[(count($urlarr)-1)]; + $tmp = ucfirst(str_ireplace('.htm','',$tmp)); + //$d=strtotime("00:01am ".$tmp." 15 2015"); + if(in_array($tmp,$monArr)){ + return $monObj[$tmp]; + }else{ + return false; + } +} +/* + * 把数组元素组合为字符串 + * $container:用来包含元素的符号 + * $se:分隔符 + * $arr:需要重新组合的数组 + * 例如:$arr=['aaaa','bbbb']; + * my_implode("'",",",$arr);得到 + * 'aaaa','bbbb' + */ +function my_implode($container,$se,$arr) +{ + $str = ""; + if ($arr != '') { + $str = ""; + $tcount = count($arr); + $tcountInt = 0; + foreach ($arr as $i) { + $tcountInt++; + if ($tcount == $tcountInt) { + $str .= $container . $i . $container; + } else { + $str .= $container . $i . $container . $se; + } + } + } + return $str; +} diff --git a/webht/third_party/trippestOrderSync/helpers/index.html b/webht/third_party/trippestOrderSync/helpers/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/webht/third_party/trippestOrderSync/helpers/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/index.html b/webht/third_party/trippestOrderSync/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/webht/third_party/trippestOrderSync/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/libraries/index.html b/webht/third_party/trippestOrderSync/libraries/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/webht/third_party/trippestOrderSync/libraries/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/logs/index.html b/webht/third_party/trippestOrderSync/logs/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/logs/log-2018-03-22.php b/webht/third_party/trippestOrderSync/logs/log-2018-03-22.php new file mode 100644 index 00000000..ebca2fb8 --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/log-2018-03-22.php @@ -0,0 +1,2 @@ + + diff --git a/webht/third_party/trippestOrderSync/logs/log-2018-03-30.php b/webht/third_party/trippestOrderSync/logs/log-2018-03-30.php new file mode 100644 index 00000000..47b639be --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/log-2018-03-30.php @@ -0,0 +1,118 @@ + + +ERROR - 2018-03-30 16:18:22 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]在将 nvarchar 值 'HT080828004' 转换成数据类型 int 时失败。 @:SELECT coli.COLI_ID, + coli.COLI_Department, + cold.COLD_ServiceSN, + cold.COLD_ServiceSN2, + cold.COLD_ServiceCity, + * + FROM BIZ_ConfirmLineInfo coli + INNER JOIN BIZ_ConfirmLineDetail cold ON cold.COLD_COLI_SN=coli.COLI_SN + WHERE coli.COLI_ID=170809474 + ORDER BY COLI_ApplyDate DESC +ERROR - 2018-03-30 16:29:57 --> Severity: Warning --> Missing argument 1 for Orders_model::get_guestlist(), called in D:\workspace\trippest\application\controllers\TulanduoApi.php on line 38 and defined D:\workspace\trippest\application\models\orders_model.php 47 +ERROR - 2018-03-30 16:29:57 --> Severity: Notice --> Undefined variable: COLD_SN_str D:\workspace\trippest\application\models\orders_model.php 52 +ERROR - 2018-03-30 16:29:57 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]')' 附近有语法错误。 @:SELECT * + FROM BIZ_BookPeopleList BPL + INNER JOIN BIZ_BookPeople BPE ON BPL_BPE_SN=BPE_SN + WHERE BPL_COLD_SN IN () +ERROR - 2018-03-30 16:31:50 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]')' 附近有语法错误。 @:SELECT * + FROM BIZ_BookPeopleList BPL + INNER JOIN BIZ_BookPeople BPE ON BPL_BPE_SN=BPE_SN + WHERE BPL_COLD_SN IN () +ERROR - 2018-03-30 16:32:25 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]')' 附近有语法错误。 @:SELECT * + FROM BIZ_BookPeopleList BPL + INNER JOIN BIZ_BookPeople BPE ON BPL_BPE_SN=BPE_SN + WHERE BPL_COLD_SN IN () +ERROR - 2018-03-30 16:33:17 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]')' 附近有语法错误。 @:SELECT * + FROM BIZ_BookPeopleList BPL + INNER JOIN BIZ_BookPeople BPE ON BPL_BPE_SN=BPE_SN + WHERE BPL_COLD_SN IN () +ERROR - 2018-03-30 16:33:51 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]')' 附近有语法错误。 @:SELECT * + FROM BIZ_BookPeopleList BPL + INNER JOIN BIZ_BookPeople BPE ON BPL_BPE_SN=BPE_SN + WHERE BPL_COLD_SN IN () +ERROR - 2018-03-30 16:34:07 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]')' 附近有语法错误。 @:SELECT * + FROM BIZ_BookPeopleList BPL + INNER JOIN BIZ_BookPeople BPE ON BPL_BPE_SN=BPE_SN + WHERE BPL_COLD_SN IN () +ERROR - 2018-03-30 16:35:09 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]')' 附近有语法错误。 @:SELECT * + FROM BIZ_BookPeopleList BPL + INNER JOIN BIZ_BookPeople BPE ON BPL_BPE_SN=BPE_SN + WHERE BPL_COLD_SN IN () +ERROR - 2018-03-30 16:35:26 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]')' 附近有语法错误。 @:SELECT * + FROM BIZ_BookPeopleList BPL + INNER JOIN BIZ_BookPeople BPE ON BPL_BPE_SN=BPE_SN + WHERE BPL_COLD_SN IN () +ERROR - 2018-03-30 16:35:43 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:35:43 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:35:43 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:36:13 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:36:13 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:36:13 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:38:00 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:38:00 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:38:00 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:44:23 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:44:23 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:44:23 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:58:10 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 71 +ERROR - 2018-03-30 16:58:10 --> Severity: 4096 --> Object of class TulanduoApi could not be converted to string D:\workspace\trippest\application\controllers\TulanduoApi.php 65 +ERROR - 2018-03-30 16:58:10 --> Severity: Notice --> Object of class TulanduoApi to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 65 +ERROR - 2018-03-30 16:58:10 --> Severity: Notice --> Undefined variable: Object D:\workspace\trippest\application\controllers\TulanduoApi.php 65 +ERROR - 2018-03-30 16:58:10 --> Severity: Notice --> Trying to get property of non-object D:\workspace\trippest\application\controllers\TulanduoApi.php 65 +ERROR - 2018-03-30 16:58:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:58:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:58:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:58:41 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 71 +ERROR - 2018-03-30 16:58:41 --> Severity: 4096 --> Object of class TulanduoApi could not be converted to string D:\workspace\trippest\application\controllers\TulanduoApi.php 65 +ERROR - 2018-03-30 16:58:41 --> Severity: Notice --> Object of class TulanduoApi to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 65 +ERROR - 2018-03-30 16:58:41 --> Severity: Notice --> Undefined variable: Object D:\workspace\trippest\application\controllers\TulanduoApi.php 65 +ERROR - 2018-03-30 16:58:41 --> Severity: Notice --> Trying to get property of non-object D:\workspace\trippest\application\controllers\TulanduoApi.php 65 +ERROR - 2018-03-30 16:58:41 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:58:41 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:58:41 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:58:47 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 71 +ERROR - 2018-03-30 16:58:47 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:58:47 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:58:47 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:59:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:59:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 16:59:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:01:27 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:01:27 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:01:27 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:02:44 --> Severity: Notice --> Undefined property: stdClass::$orderData D:\workspace\trippest\application\controllers\TulanduoApi.php 73 +ERROR - 2018-03-30 17:02:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:02:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:02:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:03:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:03:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:03:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:09:39 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:09:39 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:09:39 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:21:53 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-03-30 17:21:53 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-03-30 17:21:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:21:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:21:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:23:17 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 86 +ERROR - 2018-03-30 17:24:50 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:24:50 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:24:50 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:26:23 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-03-30 17:26:23 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-03-30 17:26:23 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:26:23 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:26:23 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:27:32 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-03-30 17:27:32 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-03-30 17:27:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:27:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:27:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:28:24 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-03-30 17:28:24 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-03-30 17:28:24 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:28:24 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-03-30 17:28:24 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 diff --git a/webht/third_party/trippestOrderSync/logs/log-2018-04-02.php b/webht/third_party/trippestOrderSync/logs/log-2018-04-02.php new file mode 100644 index 00000000..7e38da29 --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/log-2018-04-02.php @@ -0,0 +1,106 @@ + + +ERROR - 2018-04-02 09:17:20 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-02 09:17:20 --> Severity: Warning --> Creating default object from empty value D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-02 09:17:20 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 09:17:20 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 09:17:20 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 09:21:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 09:21:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 09:21:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 09:22:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 09:22:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 09:22:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:30:47 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:30:47 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:30:47 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:30:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:30:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:30:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:40:45 --> curl error code: 出游时间[travelDate]格式有误!; curl postBodyString: {"jsonParams":"{\"userId\":\"358\",\"key\":\"a08f26ddc5b1bd4c8e5eafcac28fc1ec\",\"orderData\":{\"orderType\":2,\"routeName\":\"(\\u5317\\u4eac\\u56fe\\u5170\\u6735)\\u5317\\u4eac\\u7cbe\\u54c1\\u4e24\\u65e5\\u6e38\",\"routeType\":\"\\u5317\\u4eac\\u76ee\\u7684\\u5730\\u7ebf\\u8def\",\"agcOrderNo\":\"CHBJ171223-BWM170809474\",\"adultNum\":2,\"childNum\":0,\"destination\":\"\\u5317\\u4eac\",\"travelDate\":\"2017-12-23 00:00:00\",\"leavedDate\":\"2017-12-23 08:00:00\",\"customers\":[{\"name\":\"SHINTAKU\",\"peopleType\":1,\"documentType\":\"\\u62a4\\u7167\",\"documenNo\":\"523429066\",\"otherInfo\":\"\\u6027\\u522b\"},{\"name\":\"PROMSIRI\",\"peopleType\":1,\"documentType\":\"\\u62a4\\u7167\",\"documenNo\":\"461694068\",\"otherInfo\":\"\\u6027\\u522b\"}],\"scheduleDetails\":[{\"content\":\"7:30 - 11:00\\uff1a \\u9152\\u5e97\\u63a5\\u5ba2\\u4eba\\uff0c\\u6e38\\u89c8\\u9890\\u548c\\u56ed\\uff1b\\r\\n11:20 \\u2013 11:40\\uff1a\\u53c2\\u89c2\\u9e1f\\u5de2\\u6c34\\u7acb\\u65b9\\u5916\\u89c2\\uff1b\\r\\n12:00 - 13:00\\uff1a \\u5728\\u5927\\u7897\\u5c45\\u5348\\u9910\\uff1b\\r\\n13:30 - 14:10\\uff1a \\u6e38\\u89c8\\u666f\\u5c71\\u516c\\u56ed\\uff1b\\r\\n14:30 - 16:10\\uff1a \\u6e38\\u89c8\\u5929\\u575b\\uff1b\\r\\n16:30 - 17:30\\uff1a\\u9001\\u9152\\u5e97\\u3002\",\"title\":\"(\\u5317\\u4eac\\u56fe\\u5170\\u6735)\\u5317\\u4eac\\u7cbe\\u54c1\\u4e24\\u65e5\\u6e38 \\uff08\\u7b2c\\u4e8c\\u5929\\uff0c\\u9890\\u548c\\u56ed\\u3001\\u9e1f\\u5de2\\u6c34\\u7acb\\u65b9\\u5916\\u89c2\\u3001\\u5348\\u9910\\u3001\\u666f\\u5c71\\u3001\\u5929\\u575b\\uff09\",\"breakFirst\":0,\"lunch\":1,\"dinner\":0}]}}","notHander":"1"} +ERROR - 2018-04-02 10:40:45 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:40:45 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:40:45 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:42:51 --> curl error code: 出游时间[travelDate]格式有误!; curl postBodyString: {"jsonParams":"{\"userId\":\"358\",\"key\":\"a08f26ddc5b1bd4c8e5eafcac28fc1ec\",\"orderData\":{\"orderType\":2,\"routeName\":\"(\\u5317\\u4eac\\u56fe\\u5170\\u6735)\\u5317\\u4eac\\u7cbe\\u54c1\\u4e24\\u65e5\\u6e38\",\"routeType\":\"\\u5317\\u4eac\\u76ee\\u7684\\u5730\\u7ebf\\u8def\",\"agcOrderNo\":\"CHBJ171223-BWM170809474\",\"adultNum\":2,\"childNum\":0,\"destination\":\"\\u5317\\u4eac\",\"travelDate\":\" 00:00:00\",\"leavedDate\":\" 08:00:00\",\"customers\":[{\"name\":\"SHINTAKU\",\"peopleType\":1,\"documentType\":\"\\u62a4\\u7167\",\"documenNo\":\"523429066\",\"otherInfo\":\"\\u6027\\u522b\"},{\"name\":\"PROMSIRI\",\"peopleType\":1,\"documentType\":\"\\u62a4\\u7167\",\"documenNo\":\"461694068\",\"otherInfo\":\"\\u6027\\u522b\"}],\"scheduleDetails\":[{\"content\":\"7:30 - 11:00\\uff1a \\u9152\\u5e97\\u63a5\\u5ba2\\u4eba\\uff0c\\u6e38\\u89c8\\u9890\\u548c\\u56ed\\uff1b\\r\\n11:20 \\u2013 11:40\\uff1a\\u53c2\\u89c2\\u9e1f\\u5de2\\u6c34\\u7acb\\u65b9\\u5916\\u89c2\\uff1b\\r\\n12:00 - 13:00\\uff1a \\u5728\\u5927\\u7897\\u5c45\\u5348\\u9910\\uff1b\\r\\n13:30 - 14:10\\uff1a \\u6e38\\u89c8\\u666f\\u5c71\\u516c\\u56ed\\uff1b\\r\\n14:30 - 16:10\\uff1a \\u6e38\\u89c8\\u5929\\u575b\\uff1b\\r\\n16:30 - 17:30\\uff1a\\u9001\\u9152\\u5e97\\u3002\",\"title\":\"(\\u5317\\u4eac\\u56fe\\u5170\\u6735)\\u5317\\u4eac\\u7cbe\\u54c1\\u4e24\\u65e5\\u6e38 \\uff08\\u7b2c\\u4e8c\\u5929\\uff0c\\u9890\\u548c\\u56ed\\u3001\\u9e1f\\u5de2\\u6c34\\u7acb\\u65b9\\u5916\\u89c2\\u3001\\u5348\\u9910\\u3001\\u666f\\u5c71\\u3001\\u5929\\u575b\\uff09\",\"breakFirst\":0,\"lunch\":1,\"dinner\":0}]}}","notHander":"1"} +ERROR - 2018-04-02 10:42:51 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:42:51 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:42:51 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:43:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:43:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:43:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:48:46 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:48:46 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 10:48:46 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:08:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:08:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:08:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:16:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:16:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:16:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:50:33 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:50:33 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:50:33 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:50:33 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:52:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:52:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:52:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:52:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:53:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:53:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:53:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:53:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:55:20 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:55:20 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:55:20 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:55:20 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:55:20 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:56:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:56:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:56:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:56:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:56:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:59:51 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:59:51 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:59:51 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:59:51 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 11:59:51 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 12:09:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 12:09:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 12:09:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 12:09:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 12:09:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 16:01:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 16:01:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 16:01:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 16:01:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 16:01:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 16:03:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 16:03:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 16:03:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 16:03:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 16:03:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:35 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:35 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:35 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:35 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:55:35 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:56:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:56:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:56:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:56:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 17:56:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 18:13:17 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 18:13:17 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 18:13:17 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 18:13:17 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-02 18:13:17 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 diff --git a/webht/third_party/trippestOrderSync/logs/log-2018-04-03.php b/webht/third_party/trippestOrderSync/logs/log-2018-04-03.php new file mode 100644 index 00000000..67a4bf46 --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/log-2018-04-03.php @@ -0,0 +1,676 @@ + + +ERROR - 2018-04-03 12:03:56 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 12:03:56 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 12:03:56 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 12:03:56 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 12:03:56 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:55:16 --> Severity: Notice --> Trying to get property of non-object D:\workspace\trippest\application\controllers\TulanduoApi.php 42 +ERROR - 2018-04-03 13:55:16 --> Severity: Notice --> Trying to get property of non-object D:\workspace\trippest\application\controllers\TulanduoApi.php 43 +ERROR - 2018-04-03 13:55:16 --> get_orderlist failed. Msg:; Request: {"userId":"358","key":"a08f26ddc5b1bd4c8e5eafcac28fc1ec","startOrderDate":"2018-04-01","endOrderDate":"2018-04-04"} +ERROR - 2018-04-03 13:55:16 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:55:16 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:55:16 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:55:16 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:55:16 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:55:44 --> Severity: Notice --> Trying to get property of non-object D:\workspace\trippest\application\controllers\TulanduoApi.php 43 +ERROR - 2018-04-03 13:55:44 --> Severity: Notice --> Trying to get property of non-object D:\workspace\trippest\application\controllers\TulanduoApi.php 44 +ERROR - 2018-04-03 13:55:44 --> get_orderlist failed. Msg:; Request: {"userId":"358","key":"a08f26ddc5b1bd4c8e5eafcac28fc1ec","startOrderDate":"2018-04-01","endOrderDate":"2018-04-04"} +ERROR - 2018-04-03 13:55:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:55:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:55:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:55:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:55:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:56:05 --> Severity: Notice --> Trying to get property of non-object D:\workspace\trippest\application\controllers\TulanduoApi.php 44 +ERROR - 2018-04-03 13:56:05 --> Severity: Notice --> Trying to get property of non-object D:\workspace\trippest\application\controllers\TulanduoApi.php 45 +ERROR - 2018-04-03 13:56:05 --> get_orderlist failed. Msg:; Request: {"userId":"358","key":"a08f26ddc5b1bd4c8e5eafcac28fc1ec","startOrderDate":"2018-04-01","endOrderDate":"2018-04-04"} +ERROR - 2018-04-03 13:56:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:56:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:56:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:56:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:56:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:56:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:56:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:56:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:56:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:56:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:58:06 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:58:06 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:58:06 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:58:06 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 13:58:06 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:10:41 --> Severity: Warning --> array_map(): Argument #2 should be an array D:\workspace\trippest\application\controllers\TulanduoApi.php 47 +ERROR - 2018-04-03 14:11:02 --> Severity: Warning --> array_map(): Argument #2 should be an array D:\workspace\trippest\application\controllers\TulanduoApi.php 47 +ERROR - 2018-04-03 14:11:02 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]')' 附近有语法错误。 @:SELECT COLI_GroupCode + FROM BIZ_ConfirmLineInfo coli + WHERE coli.COLI_GroupCode IN () +ERROR - 2018-04-03 14:11:30 --> Severity: Warning --> array_map(): Argument #2 should be an array D:\workspace\trippest\application\controllers\TulanduoApi.php 47 +ERROR - 2018-04-03 14:11:30 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:11:30 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:11:30 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:11:30 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:11:30 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:00 --> Severity: Notice --> Trying to get property of non-object D:\workspace\trippest\application\controllers\TulanduoApi.php 47 +ERROR - 2018-04-03 14:12:00 --> Severity: Notice --> Trying to get property of non-object D:\workspace\trippest\application\controllers\TulanduoApi.php 47 +ERROR - 2018-04-03 14:12:00 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:00 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:00 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:00 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:00 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:26 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 47 +ERROR - 2018-04-03 14:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:47 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:12:47 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:47 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:47 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:47 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:12:47 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:31 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:31 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:31 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:31 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:31 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:14:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:15:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:15:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:15:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:15:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:15:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:20:55 --> Severity: Notice --> Undefined offset: 0 D:\workspace\trippest\application\controllers\TulanduoApi.php 52 +ERROR - 2018-04-03 14:20:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:20:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:20:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:20:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:20:55 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:21:15 --> Severity: Notice --> Undefined offset: 0 D:\workspace\trippest\application\controllers\TulanduoApi.php 52 +ERROR - 2018-04-03 14:21:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:21:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:21:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:21:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:21:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:21:59 --> Severity: Notice --> Undefined offset: 0 D:\workspace\trippest\application\controllers\TulanduoApi.php 52 +ERROR - 2018-04-03 14:21:59 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:21:59 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:21:59 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:21:59 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:21:59 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:42 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:43 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:43 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:43 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:43 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:43 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:43 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:43 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:43 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:43 --> Severity: Notice --> Array to string conversion D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:28:43 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:28:43 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:28:43 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:28:43 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:28:43 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> Missing argument 2 for TulanduoApi::{closure}() D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: k D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> Missing argument 2 for TulanduoApi::{closure}() D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: k D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> Missing argument 2 for TulanduoApi::{closure}() D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: k D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> Missing argument 2 for TulanduoApi::{closure}() D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: k D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> Missing argument 2 for TulanduoApi::{closure}() D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: k D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> Missing argument 2 for TulanduoApi::{closure}() D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: k D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> Missing argument 2 for TulanduoApi::{closure}() D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: k D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> Missing argument 2 for TulanduoApi::{closure}() D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: k D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> Missing argument 2 for TulanduoApi::{closure}() D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: k D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> Missing argument 2 for TulanduoApi::{closure}() D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: k D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> Missing argument 2 for TulanduoApi::{closure}() D:\workspace\trippest\application\controllers\TulanduoApi.php 53 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: k D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:32:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:33:14 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Notice --> Undefined variable: GroupCode_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> array_keys() expects parameter 1 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> in_array() expects parameter 2 to be array, null given D:\workspace\trippest\application\controllers\TulanduoApi.php 54 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:33:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:47:23 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:47:23 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:47:23 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:47:23 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:47:23 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:47:23 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:48:49 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:48:49 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:48:49 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:48:49 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:48:49 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:48:49 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:49:12 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:49:12 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:49:12 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:49:12 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:49:12 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:49:12 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:49:53 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:49:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:49:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:49:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:49:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:49:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:51:12 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:51:12 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:51:12 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:51:12 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:51:12 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:51:12 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:52:52 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:52:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:52:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:52:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:52:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:52:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:54:03 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:54:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:54:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:54:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:54:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:54:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:54:18 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:54:18 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:54:18 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:54:18 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:54:18 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:54:18 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:55:10 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:55:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:55:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:55:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:55:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:55:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:56:29 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:56:29 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:56:29 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:56:29 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:56:29 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:56:29 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:57:02 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:57:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:57:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:57:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:57:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:57:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:58:33 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:58:33 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 60 +ERROR - 2018-04-03 14:58:33 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:58:33 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:58:33 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:58:33 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:58:33 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:15 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:59:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:34 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:59:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:52 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 14:59:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 14:59:53 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 15:00:15 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 15:00:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 15:00:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 15:00:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 15:00:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 15:00:15 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:43:22 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 16:43:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:43:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:43:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:43:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:43:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:43:52 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 16:43:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:43:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:43:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:43:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:43:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:44:34 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 16:44:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:44:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:44:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:44:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 16:44:34 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 17:03:05 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 17:03:05 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-03 17:03:05 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 62 +ERROR - 2018-04-03 17:03:05 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]'N' 附近有语法错误。 @:INSERT INTO BIZ_ConfirmLineInfo +( + COLI_ID, + COLI_GUT_SN, + COLI_Area, + COLI_ApplyDate, + COLI_Price, + COLI_Cost, + COLI_Currency, + COLI_TrueCardRate, + COLI_AgencyID, + COLI_OrderDetailText, + COLI_SenderIP, + COLI_WebCode, + COLI_servicetype, + COLI_sourcetype, + COLI_ConfirmType, + COLI_State, + COLI_Department, + COLI_AddCode, + COLI_OrderSource, + COLI_Memo, + COLI_OriginalText +) +VALUES +( + '180403006', + NULL, + 2, + NULL, + NULL, + 0, + NULL, + NULL, + NULL, + NNULL, + '', + 'D', + 32090, + 52001, + 9, + 30, + '15227461856300', + '62001', + '北京精品两日游(目的地) +', + NULL, + N +ERROR - 2018-04-03 17:04:46 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 17:04:46 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-03 17:04:46 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 62 +ERROR - 2018-04-03 17:04:46 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 63 +ERROR - 2018-04-03 17:04:46 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]'N' 附近有语法错误。 @:INSERT INTO BIZ_ConfirmLineInfo +( + COLI_ID, + COLI_GUT_SN, + COLI_Area, + COLI_ApplyDate, + COLI_Price, + COLI_Cost, + COLI_Currency, + COLI_TrueCardRate, + COLI_AgencyID, + COLI_OrderDetailText, + COLI_SenderIP, + COLI_WebCode, + COLI_servicetype, + COLI_sourcetype, + COLI_ConfirmType, + COLI_State, + COLI_Department, + COLI_AddCode, + COLI_OrderSource, + COLI_Memo, + COLI_OriginalText +) +VALUES +( + '180403012', + NULL, + 2, + NULL, + NULL, + 0, + NULL, + NULL, + '北京精品两日游(目的地) +', + NNULL, + '', + 'D', + 32090, + 52001, + 9, + 30, + '15227462867070', + '62001', + '北京精品两日游(目的地) +', + NULL, + N +ERROR - 2018-04-03 17:06:04 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 17:06:04 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-03 17:06:04 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 62 +ERROR - 2018-04-03 17:06:04 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 63 +ERROR - 2018-04-03 17:06:04 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]'N' 附近有语法错误。 @:INSERT INTO BIZ_ConfirmLineInfo +( + COLI_ID, + COLI_GUT_SN, + COLI_Area, + COLI_ApplyDate, + COLI_Price, + COLI_Cost, + COLI_Currency, + COLI_TrueCardRate, + COLI_AgencyID, + COLI_OrderDetailText, + COLI_SenderIP, + COLI_WebCode, + COLI_servicetype, + COLI_sourcetype, + COLI_ConfirmType, + COLI_State, + COLI_Department, + COLI_AddCode, + COLI_OrderSource, + COLI_Memo, + COLI_OriginalText +) +VALUES +( + '180403018', + NULL, + 2, + NULL, + NULL, + 0, + NULL, + NULL, + '北京精品两日游(目的地) +', + N'', + '', + 'D', + 32090, + 52001, + 9, + 30, + '15227463643910', + '62001', + '北京精品两日游(目的地) +', + NULL, + N +ERROR - 2018-04-03 17:07:11 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 17:07:11 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-03 17:07:11 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 62 +ERROR - 2018-04-03 17:07:11 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 63 +ERROR - 2018-04-03 17:07:11 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]'N' 附近有语法错误。 @:INSERT INTO BIZ_ConfirmLineInfo +( + COLI_ID, + COLI_GUT_SN, + COLI_Area, + COLI_ApplyDate, + COLI_Price, + COLI_Cost, + COLI_Currency, + COLI_TrueCardRate, + COLI_AgencyID, + COLI_OrderDetailText, + COLI_SenderIP, + COLI_WebCode, + COLI_servicetype, + COLI_sourcetype, + COLI_ConfirmType, + COLI_State, + COLI_Department, + COLI_AddCode, + COLI_OrderSource, + COLI_Memo, + COLI_OriginalText +) +VALUES +( + '180403024', + NULL, + 2, + NULL, + NULL, + 0, + NULL, + NULL, + '北京精品两日游(目的地) +', + N'', + '', + 'D', + 32090, + 52001, + 9, + 30, + '15227464314580', + '62001', + '北京精品两日游(目的地) +', + NULL, + N +ERROR - 2018-04-03 17:18:27 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 17:18:27 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-03 17:18:27 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 62 +ERROR - 2018-04-03 17:18:27 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 63 +ERROR - 2018-04-03 17:18:27 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]列名 'NNULL' 无效。 @:INSERT INTO BIZ_ConfirmLineInfo +( + COLI_ID, + COLI_GUT_SN, + COLI_Area, + COLI_ApplyDate, + COLI_Price, + COLI_Cost, + COLI_Currency, + COLI_TrueCardRate, + COLI_AgencyID, + COLI_OrderDetailText, + COLI_SenderIP, + COLI_WebCode, + COLI_servicetype, + COLI_sourcetype, + COLI_ConfirmType, + COLI_State, + COLI_Department, + COLI_AddCode, + COLI_OrderSource, + COLI_Memo, + COLI_OriginalText +) +VALUES +( + '180403030', + NULL, + 2, + NULL, + NULL, + NULL, + 0, + NULL, + NULL, + N'北京精品两日游(目的地) +', + '', + '', + 'D', + 32090, + 52001, + 9, + 30, + '15227471078350', + '62001', + '北京精品两日游(目的地) +', + NNULL +) +ERROR - 2018-04-03 17:18:57 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 17:18:57 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-03 17:18:57 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 62 +ERROR - 2018-04-03 17:18:57 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 63 +ERROR - 2018-04-03 17:18:58 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-03 17:18:58 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 62 +ERROR - 2018-04-03 17:18:58 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 63 +ERROR - 2018-04-03 17:18:58 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-03 17:18:58 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 62 +ERROR - 2018-04-03 17:18:58 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 63 +ERROR - 2018-04-03 17:18:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 17:18:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 17:18:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 17:18:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 17:18:58 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 17:20:32 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-03 17:20:32 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-03 17:20:32 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 62 +ERROR - 2018-04-03 17:20:32 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 63 +ERROR - 2018-04-03 17:20:32 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-03 17:20:32 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 62 +ERROR - 2018-04-03 17:20:32 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 63 +ERROR - 2018-04-03 17:20:32 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-03 17:20:32 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 62 +ERROR - 2018-04-03 17:20:32 --> Severity: Notice --> Undefined index: orderRemark D:\workspace\trippest\application\controllers\TulanduoApi.php 63 +ERROR - 2018-04-03 17:20:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 17:20:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 17:20:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 17:20:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-03 17:20:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 diff --git a/webht/third_party/trippestOrderSync/logs/log-2018-04-04.php b/webht/third_party/trippestOrderSync/logs/log-2018-04-04.php new file mode 100644 index 00000000..2edf3a47 --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/log-2018-04-04.php @@ -0,0 +1,260 @@ + + +ERROR - 2018-04-04 09:12:13 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 09:12:13 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-04 09:12:13 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-04 09:12:13 --> Severity: Notice --> Undefined index: orderTime D:\workspace\trippest\application\controllers\TulanduoApi.php 58 +ERROR - 2018-04-04 09:12:13 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 09:12:13 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 09:12:13 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 09:12:13 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 09:12:13 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 09:13:32 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 09:13:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 09:13:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 09:13:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 09:13:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 09:13:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:45:57 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:45:57 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:45:57 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]列名 'NNULL' 无效。 @:INSERT INTO GRoupInfo + (GRI_No + ,GRI_Name + ,GRI_PersonNum + ,GRI_Days + ,GRI_IsCancel + ,GRI_OrderType) + VALUES (NNULL,NNULL,NULL,NULL,0,NULL) +ERROR - 2018-04-04 10:47:02 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:47:02 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:47:02 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]列名 'NNULL' 无效。 @:INSERT INTO GRoupInfo + (GRI_No + ,GRI_Name + ,GRI_PersonNum + ,GRI_Days + ,GRI_IsCancel + ,GRI_OrderType) + VALUES (NNULL,NNULL,NULL,NULL,0,NULL) +ERROR - 2018-04-04 10:47:52 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:47:52 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:47:52 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]不能将值 NULL 插入列 'DeleteFlag',表 'tourmanager.dbo.GRoupInfo';列不允许有 Null 值。INSERT 失败。 @:INSERT INTO GRoupInfo + (GRI_No + ,GRI_Name + ,GRI_PersonNum + ,GRI_Days + ,GRI_IsCancel + ,GRI_OrderType) + VALUES (N'CHBJ170823-BHX170809390-1',N'CHBJ170823-BHX170809390-1',2,1,0,227002) +ERROR - 2018-04-04 10:49:16 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:49:16 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:49:16 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]INSERT 语句中列的数目大于 VALUES 子句中指定的值的数目。VALUES 子句中值的数目必须与 INSERT 语句中指定的列的数目匹配。 @:INSERT INTO GRoupInfo + (GRI_No + ,GRI_Name + ,GRI_PersonNum + ,GRI_Days + ,GRI_IsCancel + ,DeleteFlag + ,GRI_OrderType) + VALUES (N'CHBJ170823-BHX170809390-1',N'CHBJ170823-BHX170809390-1',2,1,0,0) +ERROR - 2018-04-04 10:49:55 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:49:55 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:49:55 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]列名 'CHBJ170823' 无效。 @:select MAX(GRI_SN) as insert_id FROM GRoupInfo WHERE GRI_No=CHBJ170823-BHX170809390-1 +ERROR - 2018-04-04 10:50:41 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:50:41 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:50:41 --> Severity: Notice --> Undefined property: TulanduoApi::$GRI_SN D:\workspace\trippest\application\controllers\TulanduoApi.php 73 +ERROR - 2018-04-04 10:50:41 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:50:41 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:50:41 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:50:41 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:50:41 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:54:24 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:54:24 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:54:24 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:54:24 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:54:24 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:54:24 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:54:24 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:55:37 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:55:37 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:55:37 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:55:37 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:55:37 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:55:37 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:55:37 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:56:28 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:56:28 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:56:28 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:56:28 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:56:28 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:56:28 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:56:28 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:59:03 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:59:03 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 10:59:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:59:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:59:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:59:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 10:59:03 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:00:10 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:00:10 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:00:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:00:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:00:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:00:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:00:10 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:07:14 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:07:14 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:07:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:07:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:07:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:07:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:07:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:09:25 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:09:25 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:09:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:09:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:09:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:09:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:09:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:12:44 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:12:44 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:12:44 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 57 +ERROR - 2018-04-04 11:12:44 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 59 +ERROR - 2018-04-04 11:12:44 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 73 +ERROR - 2018-04-04 11:12:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:12:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:12:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:12:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:12:44 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:16:06 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:16:06 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:16:06 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 57 +ERROR - 2018-04-04 11:16:06 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 59 +ERROR - 2018-04-04 11:16:06 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 73 +ERROR - 2018-04-04 11:16:06 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:16:07 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:16:07 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:16:07 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:16:07 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:16:52 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:16:52 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 11:16:52 --> Severity: Notice --> Undefined variable: ss D:\workspace\trippest\application\controllers\TulanduoApi.php 82 +ERROR - 2018-04-04 11:16:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:16:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:16:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:16:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 11:16:52 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:12:26 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:12:26 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:12:26 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:12:26 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:12:26 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:13:56 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:13:56 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:13:56 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:13:56 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:13:56 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:13:56 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:13:56 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:17:23 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:17:23 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:17:23 --> Severity: Notice --> Undefined variable: today_obj D:\workspace\trippest\application\controllers\TulanduoApi.php 61 +ERROR - 2018-04-04 15:18:00 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:18:00 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:18:01 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:18:01 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:18:01 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:18:01 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:18:01 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:18:39 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:18:39 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:18:39 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:18:39 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:18:39 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:18:39 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:18:39 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:28:48 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:28:48 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 15:28:48 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:28:48 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:28:48 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:28:48 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 15:28:48 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:27:29 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:27:29 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:27:29 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:27:54 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:27:54 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:27:54 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:27:59 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:27:59 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:27:59 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:27:59 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:27:59 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:31:05 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:31:05 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:31:05 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:31:05 --> tag475000826 +ERROR - 2018-04-04 16:31:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:31:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:31:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:31:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:31:05 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:32:32 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:32:32 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:32:32 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:32:32 --> tag475000827 +ERROR - 2018-04-04 16:32:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:32:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:32:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:32:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:32:32 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:35:21 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:35:21 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:35:21 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:35:21 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]拒绝了对对象 'BIZ_GUEST' (数据库 'Tourmanager',架构 'dbo')的 INSERT 权限。 @:INSERT INTO BIZ_Guest + ( + GUT_FirstName, + GUT_LastName, + GUT_Title, + GUT_Email, + GUT_Email2, + GUT_NationalityID, + GUT_Passport, + GUT_TEL, + GUT_MoveTel, + GUT_AddCode, + GUT_CreateDate + ) +VALUES + ( + N'', + N'Ms. Dana Schwanz', + NULL, + NULL, + NULL, + NULL, + '471756661', + NULL, + NULL, + '15228309213330', + GETDATE() + ) +ERROR - 2018-04-04 16:43:35 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:43:35 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:43:35 --> Severity: Notice --> Undefined index: agcOrderNo D:\workspace\trippest\application\controllers\TulanduoApi.php 48 +ERROR - 2018-04-04 16:43:35 --> tag475000828 +ERROR - 2018-04-04 16:43:35 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:43:35 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:43:35 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:43:35 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-04 16:43:35 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 diff --git a/webht/third_party/trippestOrderSync/logs/log-2018-04-08.php b/webht/third_party/trippestOrderSync/logs/log-2018-04-08.php new file mode 100644 index 00000000..e6e505fb --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/log-2018-04-08.php @@ -0,0 +1,163 @@ + + +ERROR - 2018-04-08 15:57:06 --> array ( + 0 => 'T180405-BHJ180331588-D2', + 1 => 'T180405-BHJ180331588-D1', + 2 => 'T180412-BHJ180331474', + 3 => 'CHBJ180411-BHJ180331354 ', + 4 => 'CHBJ180416-BHJ180331486', + 5 => 'CHBJ180417-BHJ180331025M (BR-648698597)', + 6 => 'CHBJ180526-BHJ180331450', + 7 => 'CHBJ180405-BHJ180401102', + 8 => 'CHBJ180502-BTM180402019M(BR-648875768 )', + 9 => 'CHBJ180420-BTM180402025M(BR-648943709)', + 10 => 'T180403-BTM180402037M(GYG32384328)', + 11 => 'CHBJ180404-BTM180402102', + 12 => 'CHBJ180405-BTM180402420', + 13 => 'CHBJ180408-BTM180403001M(BR-649017533)', + 14 => 'CHBJ180411-BTM180403025M(BR-649019688)', + 15 => 'CHBJ180404-BTM180402918', + 16 => 'CHBJ180421-BTM180403031M(BR-648429882)', + 17 => 'CHBJ180407-BTM180403049M(BR-649133991)', + 18 => 'CHBJ180427-BTM180402690', + 19 => 'CHBJ180622-BTM180403037M(BR-649040809)', +) +ERROR - 2018-04-08 15:57:06 --> INSERT INTO BIZ_Guest + ( + GUT_FirstName, + GUT_LastName, + GUT_Title, + GUT_Email, + GUT_Email2, + GUT_NationalityID, + GUT_Passport, + GUT_TEL, + GUT_MoveTel, + GUT_AddCode, + GUT_CreateDate + ) +VALUES + ( + N'', + N'LAI TIEN CHIN ', + NULL, + NULL, + NULL, + NULL, + 'A34204892', + NULL, + NULL, + '15231742268330', + GETDATE() + ) +ERROR - 2018-04-08 15:57:06 --> INSERT INTO GRoupInfo + (GRI_No + ,GRI_Name + ,GRI_PersonNum + ,GRI_Days + ,GRI_IsCancel + ,DeleteFlag + ,GRI_OrderType) + VALUES (N'T180405-BHJ180331588-D2',N'T180405-BHJ180331588-D2',3,1,0,0,227002) +ERROR - 2018-04-08 15:57:06 --> INSERT INTO BIZ_ConfirmLineInfo +( + COLI_ID, + COLI_GUT_SN, + COLI_Area, + COLI_ApplyDate, + COLI_Price, + COLI_Cost, + COLI_Currency, + COLI_TrueCardRate, + COLI_AgencyID, + COLI_OrderDetailText, + COLI_SenderIP, + COLI_WebCode, + COLI_servicetype, + COLI_sourcetype, + COLI_ConfirmType, + COLI_State, + COLI_Department, + COLI_AddCode, + COLI_OrderSource, + COLI_Memo, + COLI_GRI_SN, + COLI_GroupCode, + COLI_OriginalText +) +VALUES +( + '180408012', + NULL, + 2, + '2018-04-01', + NULL, + NULL, + 0, + NULL, + NULL, + N'来自图兰朵系统同步测试 16136西安汉阳陵市内精品一日游(目的地)', + '', + '', + 'D', + 32090, + 52001, + 7, + 30, + '15231742269430', + '62001', + '来自图兰朵系统同步测试 16136西安汉阳陵市内精品一日游(目的地)', + NULL, + N'T180405-BHJ180331588-D2', + N'' +) +ERROR - 2018-04-08 15:57:06 --> tag +ERROR - 2018-04-08 15:57:06 --> INSERT INTO BIZ_ConfirmLineDetail +( + COLD_COLI_SN, + COLD_ServiceType, + COLD_StartDate, + COLD_EndDate, + COLD_TotalCost, + COLD_TotalPrice, + COLD_Count, + COLD_PersonNum, + COLD_ChildNum, + COLD_BabyNum, + cold_state, + DeleteFlag, + COLD_DeliveryCharge, + COLD_AddCode, + COLD_PlanVEI_SN, + COLD_SPFS, + COLD_Memo, + COLD_ServiceSN +) +VALUES +( + NULL, + 'D', + '2018-04-05', + '2018-04-05', + NULL, + NULL, + NULL, + 3, + 0, + NULL, + 7, + 0, + 0, + '15231742269670', + NULL, + NULL, + '西安汉阳陵市内精品一日游(目的地)', + NULL +) +ERROR - 2018-04-08 15:57:07 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-08 15:57:07 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-08 15:57:07 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-08 15:57:07 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-08 15:57:07 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-08 15:57:07 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-08 15:57:07 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 diff --git a/webht/third_party/trippestOrderSync/logs/log-2018-04-09.php b/webht/third_party/trippestOrderSync/logs/log-2018-04-09.php new file mode 100644 index 00000000..f2cedb62 --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/log-2018-04-09.php @@ -0,0 +1,201 @@ + + +ERROR - 2018-04-09 13:50:17 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"startOrderDate\":\"2018-04-01\",\"endOrderDate\":\"2018-04-08\"}","notHander":"1"} +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 85 +ERROR - 2018-04-09 13:50:17 --> ids array ( + 0 => 16136, + 1 => 16137, + 2 => 16139, + 3 => 16140, + 4 => 16141, + 5 => 16142, + 6 => 16143, + 7 => 16152, + 8 => 16158, + 9 => 16160, + 10 => 16161, + 11 => 16164, + 12 => 16188, + 13 => 16189, + 14 => 16190, + 15 => 16192, + 16 => 16199, + 17 => 16200, + 18 => 16201, + 19 => 16202, +) +ERROR - 2018-04-09 13:50:18 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"startOrderDate\":\"2018-04-01\",\"endOrderDate\":\"2018-04-08\",\"orderId\":16136}","notHander":"1"} +ERROR - 2018-04-09 13:50:18 --> orderId 16136 +ERROR - 2018-04-09 13:50:18 --> 2018-04-05: 汉阳陵+市内 +用车安排: 西安-瑞风张涛师傅车队; 7座(9座大通)司机: 王师傅(15529080993); [3新加坡,汉阳陵一日游,雁塔假日] +带团导游: 西安王辉Rosa; (13519169439); +ERROR - 2018-04-09 13:50:18 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:50:18 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:50:18 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:50:18 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:50:18 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:50:18 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:51:14 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-08\"}","notHander":"1"} +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:51:14 --> ids array ( + 0 => 12433, + 1 => 13087, + 2 => 13144, + 3 => 13284, + 4 => 13386, + 5 => 13458, + 6 => 13466, + 7 => 13608, + 8 => 13622, + 9 => 13667, + 10 => 13679, + 11 => 13765, + 12 => 13783, + 13 => 13875, + 14 => 13921, + 15 => 13937, + 16 => 13938, + 17 => 13964, + 18 => 14041, + 19 => 14042, +) +ERROR - 2018-04-09 13:51:14 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-08\",\"orderId\":12433}","notHander":"1"} +ERROR - 2018-04-09 13:51:14 --> orderId 12433 +ERROR - 2018-04-09 13:51:14 --> 2018-04-05: 北京精品一日游 +用车安排: 北京-王会生13051277931(奔面系列); 奔面(*)司机: A-TBC(*); [精品两日游;6人;北京新世界酒店 /北京朝阳悠唐皇冠假日酒店/北京金茂万丽酒店] +带团导游: 北京况怡Tiger; (13693050013); +ERROR - 2018-04-09 13:51:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:51:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:51:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:51:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:51:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:51:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:00 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 13:54:02 --> 2018-04-08: 北京精品一日游 +2018-04-09: 北京精品两日游(D2) +2018-04-10: 北京精品三日游(D3) +用车安排: 北京-王会生13051277931(奔面系列); 奔面(*)司机: A-TBC(*); [精品三日游;4人;北京内蒙古大厦 /北京希尔顿逸林酒店 ] +带团导游: 北京孙玲玲Linda(13521990227); +ERROR - 2018-04-09 13:54:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:54:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:54:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:54:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:54:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 13:54:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:47 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:00:48 --> 日程: 2018-04-08: 北京精品一日游; 2018-04-09: 北京精品两日游(D2); 2018-04-10: 北京精品三日游(D3); +用车安排: 北京-王会生13051277931(奔面系列); 奔面(*)司机: A-TBC(*); [精品三日游;4人;北京内蒙古大厦 /北京希尔顿逸林酒店 ] +带团导游: 北京孙玲玲Linda(13521990227); +ERROR - 2018-04-09 14:00:48 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:00:48 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:00:48 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:00:48 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:00:48 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:00:48 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:14 --> Severity: Notice --> Undefined index: agcName D:\workspace\trippest\application\controllers\TulanduoApi.php 87 +ERROR - 2018-04-09 14:03:16 --> Severity: Notice --> Undefined property: stdClass::$guiderOperations D:\workspace\trippest\application\controllers\TulanduoApi.php 116 +ERROR - 2018-04-09 14:03:16 --> Severity: Warning --> Invalid argument supplied for foreach() D:\workspace\trippest\application\controllers\TulanduoApi.php 116 +ERROR - 2018-04-09 14:03:16 --> 日程: 2018-04-01: 单租车接机; +用车安排: 凯美瑞车队-宋师傅13811026411; 5座轿车(京BZ1864/black/5seats/car)司机: Mr.WANG/JianYU 王建宇(13161343885); [单租车接机;2人;北京金隅喜来登酒店;接DL0129(Arr1950@T2);] +带团导游: +ERROR - 2018-04-09 14:03:16 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:03:16 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:03:16 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:03:16 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:03:16 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-09 14:03:16 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 diff --git a/webht/third_party/trippestOrderSync/logs/log-2018-04-10.php b/webht/third_party/trippestOrderSync/logs/log-2018-04-10.php new file mode 100644 index 00000000..ebca2fb8 --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/log-2018-04-10.php @@ -0,0 +1,2 @@ + + diff --git a/webht/third_party/trippestOrderSync/logs/log-2018-04-13.php b/webht/third_party/trippestOrderSync/logs/log-2018-04-13.php new file mode 100644 index 00000000..0d476b64 --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/log-2018-04-13.php @@ -0,0 +1,76 @@ + + +ERROR - 2018-04-13 16:51:57 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:51:59 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":2,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:52:00 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":3,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:52:01 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":4,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:52:02 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":4,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\",\"orderId\":13458}","notHander":"1"} +ERROR - 2018-04-13 16:52:02 --> GRI +ERROR - 2018-04-13 16:52:02 --> COLI475000834 +ERROR - 2018-04-13 16:52:02 --> COLD490000931 +ERROR - 2018-04-13 16:52:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:52:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:52:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:52:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:52:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:52:02 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:54:23 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:54:24 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":2,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:54:24 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":3,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:54:25 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":4,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:54:25 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":4,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\",\"orderId\":13458}","notHander":"1"} +ERROR - 2018-04-13 16:54:25 --> in gri +ERROR - 2018-04-13 16:54:25 --> GRI +ERROR - 2018-04-13 16:54:25 --> COLI475000835 +ERROR - 2018-04-13 16:54:25 --> COLD490000932 +ERROR - 2018-04-13 16:54:25 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:54:25 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:54:25 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:54:25 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:54:25 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:54:25 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:56:06 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:56:06 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":2,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:56:07 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":3,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:56:07 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":4,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:56:08 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":4,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\",\"orderId\":13458}","notHander":"1"} +ERROR - 2018-04-13 16:56:08 --> in gri +ERROR - 2018-04-13 16:56:08 --> GRI +ERROR - 2018-04-13 16:56:08 --> COLI475000836 +ERROR - 2018-04-13 16:56:08 --> COLD490000933 +ERROR - 2018-04-13 16:56:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:56:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:56:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:56:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:56:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:56:08 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:57:12 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:57:13 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":2,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:57:13 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":3,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:57:14 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":4,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 16:57:14 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":4,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\",\"orderId\":13458}","notHander":"1"} +ERROR - 2018-04-13 16:57:14 --> in gri +ERROR - 2018-04-13 16:57:14 --> GRI +ERROR - 2018-04-13 16:57:14 --> COLI475000837 +ERROR - 2018-04-13 16:57:14 --> COLD490000934 +ERROR - 2018-04-13 16:57:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:57:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:57:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:57:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:57:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 16:57:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 17:01:12 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 17:01:13 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":2,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 17:01:13 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":3,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 17:01:14 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":4,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\"}","notHander":"1"} +ERROR - 2018-04-13 17:01:14 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":4,\"startTravelDate\":\"2018-04-01\",\"endTravelDate\":\"2018-04-03\",\"orderId\":13458}","notHander":"1"} +ERROR - 2018-04-13 17:01:14 --> in gri +ERROR - 2018-04-13 17:01:14 --> GRI31 +ERROR - 2018-04-13 17:01:14 --> COLI475000838 +ERROR - 2018-04-13 17:01:14 --> COLD490000935 +ERROR - 2018-04-13 17:01:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 17:01:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 17:01:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, array given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 17:01:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 17:01:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 +ERROR - 2018-04-13 17:01:14 --> Severity: Warning --> get_class() expects parameter 1 to be object, string given D:\workspace\system\libraries\Profiler.php 166 diff --git a/webht/third_party/trippestOrderSync/logs/log-2018-04-15.php b/webht/third_party/trippestOrderSync/logs/log-2018-04-15.php new file mode 100644 index 00000000..af2866f7 --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/log-2018-04-15.php @@ -0,0 +1,72 @@ + + +ERROR - 2018-04-15 14:37:11 --> curl postBodyString: { + "jsonParams": "{\"userId\":\"358\",\"key\":\"a08f26ddc5b1bd4c8e5eafcac28fc1ec\",\"orderData\":{\"travelFees\":[{\"type\":\"团款\",\"money\":\"756.00\",\"num\":1,\"unit\":\"6.4795\",\"sumMoney\":\"4898.57\",\"remark\":\"交易号(自动录入):17T02847CV281080D\"}],\"replaceCollections\":[],\"replacePays\":[],\"scheduleDetails\":[],\"customers\":[{\"name\":\"ZERVOS JOANNE\",\"peopleType\":\"成人\",\"documentType\":\"Passport No.\",\"documentNo\":\"511460159\",\"otherInfo\":\"\"},{\"name\":\"MAGUIRE PETER\",\"peopleType\":\"成人\",\"documentType\":\"Passport No.\",\"documentNo\":\"495326176\",\"otherInfo\":\"\"},{\"name\":\"MAGUIRE JOHN\",\"peopleType\":\"成人\",\"documentType\":\"Passport No.\",\"documentNo\":\"526333245\",\"otherInfo\":\"\"},{\"name\":\"MAGUIRE BILL\",\"peopleType\":\"成人\",\"documentType\":\"Passport No.\",\"documentNo\":\"480595859\",\"otherInfo\":\"\"}],\"orderType\":1,\"routeName\":\"北京精品两日游(目的地)\",\"routeType\":\"北京目的地线路\",\"agcOrderNo\":\"CHBJ170823-BHX170809390\",\"adultNum\":2,\"childNum\":0,\"destination\":\"北京\",\"travelDate\":\"2017-08-23\",\"leavedDate\":\"2017-08-23\"}}", + "notHander": "1" +} +ERROR - 2018-04-15 16:25:26 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-10\",\"endTravelDate\":\"2018-04-10\"}","notHander":"1"} +ERROR - 2018-04-15 16:25:26 --> TulanduoApi get_orderlist failed. Msg:; Request: {} +ERROR - 2018-04-15 16:25:52 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-10\",\"endTravelDate\":\"2018-04-10\"}","notHander":"1"} +ERROR - 2018-04-15 16:25:52 --> TulanduoApi get_orderlist failed. Msg:; Request: {} +ERROR - 2018-04-15 16:26:47 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-10\",\"endTravelDate\":\"2018-04-10\"}","notHander":"1"} +ERROR - 2018-04-15 16:26:47 --> TulanduoApi get_orderlist failed. Msg:; Request: {} +ERROR - 2018-04-15 16:27:04 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-10\",\"endTravelDate\":\"2018-04-10\"}","notHander":"1"} +ERROR - 2018-04-15 16:27:04 --> in gri +ERROR - 2018-04-15 16:27:04 --> Severity: Notice --> Undefined variable: allDetails_to_HT D:\workspace\trippest\application\controllers\TulanduoApi.php 184 +ERROR - 2018-04-15 16:27:04 --> COLI_ID 180415156 +ERROR - 2018-04-15 16:30:31 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-12\",\"endTravelDate\":\"2018-04-12\"}","notHander":"1"} +ERROR - 2018-04-15 16:30:31 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":2,\"startTravelDate\":\"2018-04-12\",\"endTravelDate\":\"2018-04-12\"}","notHander":"1"} +ERROR - 2018-04-15 16:30:31 --> in gri +ERROR - 2018-04-15 16:30:31 --> COLI_ID 180415162 +ERROR - 2018-04-15 16:33:09 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-12\",\"endTravelDate\":\"2018-04-12\"}","notHander":"1"} +ERROR - 2018-04-15 16:33:10 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":2,\"startTravelDate\":\"2018-04-12\",\"endTravelDate\":\"2018-04-12\"}","notHander":"1"} +ERROR - 2018-04-15 16:33:10 --> in gri +ERROR - 2018-04-15 16:33:10 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]在 SET 子句中多次指定了列名 'COLD_Memo'。在同一 SET 子句中不得为一个列分配多个值。请修改 SET 子句,以确保一个列仅更新一次。如果 SET 子句更新了某视图的多列,那么列名 'COLD_Memo' 可能会在该视图定义中出现两次。 @:INSERT INTO BIZ_ConfirmLineDetail +( + COLD_COLI_SN, + COLD_ServiceType, + COLD_StartDate, + COLD_EndDate, + COLD_TotalCost, + COLD_TotalPrice, + COLD_Count, + COLD_PersonNum, + COLD_ChildNum, + COLD_BabyNum, + cold_state, + DeleteFlag, + COLD_DeliveryCharge, + COLD_AddCode, + COLD_PlanVEI_SN, + COLD_SPFS, + COLD_Memo, + COLD_Memo, + COLD_ServiceSN +) +VALUES +( + 475000866, + 'D', + '2018-04-12', + '2018-04-13', + NULL, + NULL, + NULL, + 1, + 0, + NULL, + 7, + 0, + 0, + '15237811903740', + 1343, + NULL, + NULL, + '{"Pick up":"7:20 \/ \u5317\u4eac\u4e3d\u82d1\u516c\u5bd3 Lee Garden Service Apartment Beijing","Drop off":"\u5317\u4eac\u4e3d\u82d1\u516c\u5bd3 Lee Garden Service Apartment Beijing"}', + NULL +) +ERROR - 2018-04-15 16:33:10 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at D:\workspace\trippest\application\controllers\TulanduoApi.php:84) D:\workspace\system\core\Common.php 439 +ERROR - 2018-04-15 16:33:30 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-12\",\"endTravelDate\":\"2018-04-12\"}","notHander":"1"} +ERROR - 2018-04-15 16:33:30 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":2,\"startTravelDate\":\"2018-04-12\",\"endTravelDate\":\"2018-04-12\"}","notHander":"1"} +ERROR - 2018-04-15 16:33:30 --> in gri +ERROR - 2018-04-15 16:33:31 --> COLI_ID 180415174 diff --git a/webht/third_party/trippestOrderSync/logs/log-2018-04-16.php b/webht/third_party/trippestOrderSync/logs/log-2018-04-16.php new file mode 100644 index 00000000..67435b5b --- /dev/null +++ b/webht/third_party/trippestOrderSync/logs/log-2018-04-16.php @@ -0,0 +1,81 @@ + + +ERROR - 2018-04-16 17:16:36 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"13634\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} +ERROR - 2018-04-16 17:16:36 --> order 475000954 +ERROR - 2018-04-16 17:16:36 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]违反了 PRIMARY KEY 约束 'PK_GRoupInfo'。不能在对象 'dbo.GRoupInfo' 中插入重复键。 @:IF EXISTS( + SELECT TOP 1 1 + FROM BIZ_ConfirmLineInfo + WHERE COLI_SN=475000954 AND COLI_GRI_SN is NULL + ) + INSERT INTO GRoupInfo + (GRI_No + ,GRI_Name + ,GRI_PersonNum + ,GRI_Days + ,GRI_IsCancel + ,DeleteFlag + ,GRI_OrderType) + VALUES (N'T180417-BTM180122007M(BR-640151641)',N'',2,1,0,0,227002) +ERROR - 2018-04-16 17:21:20 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"13634\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} +ERROR - 2018-04-16 17:21:20 --> order 475000954 +ERROR - 2018-04-16 17:21:20 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]违反了 PRIMARY KEY 约束 'PK_GRoupInfo'。不能在对象 'dbo.GRoupInfo' 中插入重复键。 @:IF EXISTS( + SELECT TOP 1 1 + FROM BIZ_ConfirmLineInfo + WHERE COLI_SN=475000954 AND COLI_GRI_SN is NULL + ) + INSERT INTO GRoupInfo + (GRI_No + ,GRI_Name + ,GRI_PersonNum + ,GRI_Days + ,GRI_IsCancel + ,DeleteFlag + ,GRI_OrderType) + VALUES (N'T180417-BTM180122007M(BR-640151641)',N'',2,1,0,0,227002) +ERROR - 2018-04-16 17:28:21 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-17\",\"endTravelDate\":\"2018-04-18\"}","notHander":"1"} +ERROR - 2018-04-16 17:28:22 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":2,\"startTravelDate\":\"2018-04-17\",\"endTravelDate\":\"2018-04-18\"}","notHander":"1"} +ERROR - 2018-04-16 17:28:22 --> gci 108 +ERROR - 2018-04-16 17:30:19 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"10192\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} +ERROR - 2018-04-16 17:30:19 --> order 475001062 +ERROR - 2018-04-16 17:30:19 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]列名 'N475001062' 无效。 @:INSERT INTO GRoupInfo + (GRI_No + ,GRI_Name + ,GRI_PersonNum + ,GRI_Days + ,GRI_IsCancel + ,DeleteFlag + ,GRI_OrderType) + VALUES (N475001062,N'中华游180413-LILY170824015-CHXAD1','',1,1,0,0) +ERROR - 2018-04-16 17:30:39 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"10192\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} +ERROR - 2018-04-16 17:30:39 --> order 475001062 +ERROR - 2018-04-16 17:30:39 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]违反了 PRIMARY KEY 约束 'PK_GRoupInfo'。不能在对象 'dbo.GRoupInfo' 中插入重复键。 @:INSERT INTO GRoupInfo + (GRI_No + ,GRI_Name + ,GRI_PersonNum + ,GRI_Days + ,GRI_IsCancel + ,DeleteFlag + ,GRI_OrderType) + VALUES (N'中华游180413-LILY170824015-CHXAD1',N'',1,1,0,0,227002) +ERROR - 2018-04-16 17:46:18 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"10192\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} +ERROR - 2018-04-16 17:46:18 --> order 475001062 +ERROR - 2018-04-16 17:46:19 --> Query error: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]'coli' 附近有语法错误。 @:UPDATE BIZ_ConfirmLineInfo coli SET + COLI_GRI_SN=183489, + COLI_GroupCode='中华游180413-LILY170824015-CHXAD1' + WHERE COLI_SN=475001062 + +ERROR - 2018-04-16 17:47:56 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"10192\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} +ERROR - 2018-04-16 17:47:56 --> order 475001062 +ERROR - 2018-04-16 17:49:47 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-18\",\"endTravelDate\":\"2018-04-18\"}","notHander":"1"} +ERROR - 2018-04-16 17:49:48 --> gci 108 +ERROR - 2018-04-16 17:53:34 --> curl postBodyString: {"jsonParams":"{\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\",\"pageSize\":20,\"pageIndex\":1,\"startTravelDate\":\"2018-04-19\",\"endTravelDate\":\"2018-04-19\"}","notHander":"1"} +ERROR - 2018-04-16 17:53:35 --> gci 109 +ERROR - 2018-04-16 18:02:29 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"10192\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} +ERROR - 2018-04-16 18:02:30 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"13145\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} +ERROR - 2018-04-16 18:02:30 --> Severity: Notice --> Undefined property: stdClass::$touristCarOperations D:\workspace\trippest\application\controllers\TulanduoApi.php 224 +ERROR - 2018-04-16 18:02:30 --> Severity: Warning --> Invalid argument supplied for foreach() D:\workspace\trippest\application\controllers\TulanduoApi.php 224 +ERROR - 2018-04-16 18:02:30 --> Severity: Notice --> Undefined property: TulanduoApi::$query D:\workspace\system\core\Model.php 51 +ERROR - 2018-04-16 18:04:40 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"10192\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} +ERROR - 2018-04-16 18:04:40 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"13145\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} +ERROR - 2018-04-16 18:05:08 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"10192\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} +ERROR - 2018-04-16 18:05:09 --> curl postBodyString: {"jsonParams":"{\"orderId\":\"13145\",\"userId\":\"1134\",\"key\":\"73d180d05d425fd192e1c5b3097e75ff\"}","notHander":"1"} diff --git a/webht/third_party/trippestOrderSync/models/TuLanDuo_addOrUpdateRouteOrderContentBuilder.php b/webht/third_party/trippestOrderSync/models/TuLanDuo_addOrUpdateRouteOrderContentBuilder.php new file mode 100644 index 00000000..f95cfd38 --- /dev/null +++ b/webht/third_party/trippestOrderSync/models/TuLanDuo_addOrUpdateRouteOrderContentBuilder.php @@ -0,0 +1,334 @@ +orderData['travelFees'] = array(); //团款明细 + $this->orderData['replaceCollections'] = array(); //代收明细 + $this->orderData['replacePays'] = array(); //代付明细 + $this->orderData['scheduleDetails'] = array(); //行程详细,数组类型,按照第一天往后有序排列 + $this->orderData['customers'] = array(); //游客信息 + } + + public function getBizContent() + { + if(!empty($this->orderData)){ + $this->bizContentarr['orderData'] = $this->orderData; + $this->bizContent = json_encode($this->bizContentarr,JSON_UNESCAPED_UNICODE); + } + return $this->bizContent; + } + + public function setUserId($userId) + { + $this->userId = $userId; + $this->bizContentarr['userId'] = $userId; + return $this; + } + public function setKey($Key) + { + $this->key = $Key; + $this->bizContentarr['key'] = $Key; + return $this; + } + /** 订单基本信息 */ + public function setOrderId($orderId) + { + $this->orderData['orderId'] = $orderId; + return $this; + } + public function setModifyLogInfo($modifyLogInfo) + { + $this->orderData['modifyLogInfo'] = $modifyLogInfo; + return $this; + } + public function setOrderType($orderType) + { + $this->orderData['orderType'] = $orderType; + return $this; + } + public function setRouteName($routeName) + { + $this->orderData['routeName'] = $routeName; + return $this; + } + public function setRouteType($routeType) + { + $this->orderData['routeType'] = $routeType; + return $this; + } + public function setAgcOrderNo($agcOrderNo) + { + $this->orderData['agcOrderNo'] = $agcOrderNo; + return $this; + } + public function setAdultNum($adultNum) + { + $this->orderData['adultNum'] = $adultNum; + return $this; + } + public function setChildNum($childNum) + { + $this->orderData['childNum'] = $childNum; + return $this; + } + public function setGuiderNum($guiderNum) + { + $this->orderData['guiderNum'] = $guiderNum; + return $this; + } + public function setGuiderInfo($guiderInfo) + { + $this->orderData['guiderInfo'] = $guiderInfo; + return $this; + } + public function setToTraffic($toTraffic) + { + $this->orderData['toTraffic'] = $toTraffic; + return $this; + } + public function setBackTraffic($backTraffic) + { + $this->orderData['backTraffic'] = $backTraffic; + return $this; + } + public function setRoomStandard($roomStandard) + { + $this->orderData['roomStandard'] = $roomStandard; + return $this; + } + public function setOrderRemark($orderRemark) + { + $this->orderData['orderRemark'] = $orderRemark; + return $this; + } + public function setRouteStandard($routeStandard) + { + $this->orderData['routeStandard'] = $routeStandard; + return $this; + } + public function setDestination($destination) + { + $this->orderData['destination'] = $destination; + return $this; + } + public function setTravelDate($travelDate) + { + $this->orderData['travelDate'] = $travelDate; + return $this; + } + public function setLeavedDate($leavedDate) + { + $this->orderData['leavedDate'] = $leavedDate; + return $this; + } + + /** 团款数组 */ + public function setTravelFeesType($index, $type) + { + $this->orderData['travelFees'][$index]['type'] = $type; + return $this; + } + public function setTravelFeesMoney($index, $money) + { + $this->orderData['travelFees'][$index]['money'] = $money; + return $this; + } + public function setTravelFeesNum($index, $num) + { + $this->orderData['travelFees'][$index]['num'] = $num; + return $this; + } + public function setTravelFeesUnit($index, $unit) + { + $this->orderData['travelFees'][$index]['unit'] = $unit; + return $this; + } + public function setTravelFeesSumMoney($index, $sumMoney) + { + $this->orderData['travelFees'][$index]['sumMoney'] = $sumMoney; + return $this; + } + public function setTravelFeesRemark($index, $remark) + { + $this->orderData['travelFees'][$index]['remark'] = $remark; + return $this; + } + + /** 代付数组 */ + public function setReplacePaysType($index, $type) + { + $this->orderData['replacePays'][$index]['type'] = $type; + return $this; + } + public function setReplacePaysMoney($index, $money) + { + $this->orderData['replacePays'][$index]['money'] = $money; + return $this; + } + public function setReplacePaysRemark($index, $remark) + { + $this->orderData['replacePays'][$index]['remark'] = $remark; + return $this; + } + + /** 代收数组 */ + public function setReplaceCollectionsType($index, $type) + { + $this->orderData['replaceCollections'][$index]['type'] = $type; + return $this; + } + public function setReplaceCollectionsMoney($index, $money) + { + $this->orderData['replaceCollections'][$index]['money'] = $money; + return $this; + } + public function setReplaceCollectionsRemark($index, $remark) + { + $this->orderData['replaceCollections'][$index]['remark'] = $remark; + return $this; + } + + /** 行程详细数组 */ + public function setScheduleDetailsTitle($index, $title) + { + $this->orderData['scheduleDetails'][$index]['title'] = $title; + return $this; + } + public function setScheduleDetailsContent($index, $content) + { + $this->orderData['scheduleDetails'][$index]['content'] = $content; + return $this; + } + public function setScheduleDetailsTraffic($index, $traffic) + { + $this->orderData['scheduleDetails'][$index]['traffic'] = $traffic; + return $this; + } + public function setScheduleDetailsAccommodation($index, $accommodation) + { + $this->orderData['scheduleDetails'][$index]['accommodation'] = $accommodation; + return $this; + } + public function setScheduleDetailsBreakFirst($index, $breakFirst) + { + $this->orderData['scheduleDetails'][$index]['breakFirst'] = $breakFirst; + return $this; + } + public function setScheduleDetailsDinner($index, $dinner) + { + $this->orderData['scheduleDetails'][$index]['dinner'] = $dinner; + return $this; + } + public function setScheduleDetailsLunch($index, $lunch) + { + $this->orderData['scheduleDetails'][$index]['lunch'] = $lunch; + return $this; + } + + /** 游客信息数组 */ + public function setCustomersName($index, $name) + { + $this->orderData['customers'][$index]['name'] = $name; + return $this; + } + public function setCustomersPeopleType($index, $peopleType) + { + $this->orderData['customers'][$index]['peopleType'] = $peopleType; + return $this; + } + public function setCustomersDocumentType($index, $documentType) + { + $this->orderData['customers'][$index]['documentType'] = $documentType; + return $this; + } + public function setCustomersDocumentNo($index, $documentNo) + { + $this->orderData['customers'][$index]['documentNo'] = $documentNo; + return $this; + } + public function setCustomersPhoneNo($index, $phoneNo) + { + $this->orderData['customers'][$index]['phoneNo'] = $phoneNo; + return $this; + } + public function setCustomersOtherInfo($index, $otherInfo) + { + $this->orderData['customers'][$index]['otherInfo'] = $otherInfo; + return $this; + } + + +} + +?> diff --git a/webht/third_party/trippestOrderSync/models/TuLanDuo_queryContentBuilder.php b/webht/third_party/trippestOrderSync/models/TuLanDuo_queryContentBuilder.php new file mode 100644 index 00000000..7ffc4956 --- /dev/null +++ b/webht/third_party/trippestOrderSync/models/TuLanDuo_queryContentBuilder.php @@ -0,0 +1,131 @@ + + * @date 2018-03-31 + */ +class TuLanDuo_queryContentBuilder extends CI_Model +{ + private $userId; + private $Key; + + private $pageSize=20; //”Integer”//每页数量 每页最多返回50行 + private $pageIndex=1; //”Integer”//页码。第几页数据 + private $orderType; //”Integer”//订单类型,1=独立成团,2=散客团 【精准查询】 + private $orderStatus; //”Integer”//订单状态 1=已确认,0=待确认 + private $startTravelDate; //”String”//当前出游时间之后 【精准查询】 + private $endTravelDate; //”String”//当前出游时间之前 【精准查询】 + private $startOrderDate; //”String”//当前预定时间之后 【精准查询】 + private $endOrderDate; //”String”//当前预定时间之前 【精准查询】 + private $agcOrderNo; //”String”//组团社团号 【模糊查询】 + private $adultNum; //”Integer”//大人数量 【精准查询】 + private $childNum; //”Integer”//小孩数量 【精准查询】 + private $customerName; //”String”//订单游客名单 【模糊查询】 + private $routeName; //”String”//行程名称 。 【模糊查询】 + private $operationDep; //”String”//操作部门 , 【精准查询】 + + private $orderId; //”Integer”//订单ID + + private $bizContentarr = array(); + + private $bizContent = NULL; + + public function getBizContent() + { + if(!empty($this->bizContentarr)){ + $this->bizContent = json_encode($this->bizContentarr,JSON_UNESCAPED_UNICODE); + } + return $this->bizContent; + } + + public function setUserId($userId) + { + $this->userId = $userId; + $this->bizContentarr['userId'] = $userId; + return $this; + } + public function setKey($Key) + { + $this->key = $Key; + $this->bizContentarr['key'] = $Key; + return $this; + } + + public function getPageSize() + { + return $this->pageSize; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + $this->bizContentarr['pageSize'] = $pageSize; + return $this; + } + public function getPageIndex() + { + return $this->pageIndex; + } + public function setPageIndex($pageIndex) + { + $this->pageIndex = $pageIndex; + $this->bizContentarr['pageIndex'] = $pageIndex; + return $this; + } + + public function getStartTravelDate() + { + return $this->startTravelDate; + } + public function setStartTravelDate($startTravelDate) + { + $this->startTravelDate = $startTravelDate; + $this->bizContentarr['startTravelDate'] = $startTravelDate; + return $this; + } + public function getEndTravelDate() + { + return $this->endTravelDate; + } + public function setEndTravelDate($endTravelDate) + { + $this->endTravelDate = $endTravelDate; + $this->bizContentarr['endTravelDate'] = $endTravelDate; + return $this; + } + + public function getStartOrderDate() + { + return $this->startOrderDate; + } + public function setStartOrderDate($startOrderDate) + { + $this->startOrderDate = $startOrderDate; + $this->bizContentarr['startOrderDate'] = $startOrderDate; + return $this; + } + public function getEndOrderDate() + { + return $this->endOrderDate; + } + public function setEndOrderDate($endOrderDate) + { + $this->endOrderDate = $endOrderDate; + $this->bizContentarr['endOrderDate'] = $endOrderDate; + return $this; + } + + public function getOrderId() + { + return $this->orderId; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + $this->bizContentarr['orderId'] = $orderId; + return $this; + } + // 其他还没用到先不写了... +} + +?> diff --git a/webht/third_party/trippestOrderSync/models/index.html b/webht/third_party/trippestOrderSync/models/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/webht/third_party/trippestOrderSync/models/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/models/orders_model.php b/webht/third_party/trippestOrderSync/models/orders_model.php new file mode 100644 index 00000000..d2b78bd0 --- /dev/null +++ b/webht/third_party/trippestOrderSync/models/orders_model.php @@ -0,0 +1,1546 @@ +HT = $this->load->database('HT', TRUE); + //读取默认配置 + $this->COLI_WebCode = $this->config->item('Site_Code'); + $this->COLI_Area = $this->config->item('Site_Area'); + $this->COLI_CustomerType = $this->config->item('Site_DepartmentID'); + $this->COLI_department = $this->config->item('Site_Department'); + $this->COLI_Currency = $this->config->item('Site_Currency'); + $this->COLI_InterestRate = $this->config->item('Site_InterestRate'); + $this->COLI_TrueCardRate = $this->config->item('Site_TrueCardRate'); + $this->COLI_TouristLGC = $this->config->item('Site_ServiceLGC'); + $this->COLI_OrderStartDate = null; + $this->COLI_Keywords = NULL; + switch ($this->check_device()) { + case 'mobile': + $this->COLI_OrderSource = '62003'; + break; + case 'tablet': + $this->COLI_OrderSource = '62002'; + break; + default: + $this->COLI_OrderSource = '62001'; + } + } + + public function get_orderinfo_detail($COLI_ID) + { + $sql = "SELECT coli.COLI_ID, + coli.COLI_Department, + cold.COLD_ServiceSN, + cold.COLD_ServiceSN2, + cold.COLD_ServiceCity, + * + FROM BIZ_ConfirmLineInfo coli + INNER JOIN BIZ_ConfirmLineDetail cold ON cold.COLD_COLI_SN=coli.COLI_SN + WHERE coli.COLI_ID='$COLI_ID' + ORDER BY COLI_ApplyDate DESC"; + $query = $this->HT->query($sql); + return $query->result(); + } + + public function get_guestlist($COLD_SN_str) + { + $sql = "SELECT * + FROM BIZ_BookPeopleList BPL + INNER JOIN BIZ_BookPeople BPE ON BPL_BPE_SN=BPE_SN + WHERE BPL_COLD_SN IN ($COLD_SN_str)"; + $query = $this->HT->query($sql); + return $query->result(); + } + + public function get_scheduleDetails($COLD_SN_str) + { + $sql = "SELECT * + FROM BIZ_PackageInfo2 pag2 + INNER JOIN BIZ_PackageInfo pag ON pag.PAG_SN=pag2.PAG2_PAG_SN + INNER JOIN BIZ_ConfirmLineDetail cold ON cold.COLD_ServiceSN=pag2.PAG2_PAG_SN + AND (PAG2_LGC = 2) + WHERE COLD_SN IN ($COLD_SN_str)"; + $query = $this->HT->query($sql); + return $query->result(); + } + + public function get_packageDetails($pag_code_str) + { + $sql = "SELECT * + FROM BIZ_PackageInfo2 pag2 + INNER JOIN BIZ_PackageInfo pag ON pag.PAG_SN=pag2.PAG2_PAG_SN and pag2.PAG2_LGC=2 and pag.PAG_DEI_SN=30 + WHERE pag.PAG_Code IN ($pag_code_str) + order by pag.PAG_Code "; + $query = $this->HT->query($sql); + return $query->result(); + } + + public function get_paymentDetails($COLI_ID) + { + $sql = "SELECT * + FROM BIZ_GroupAccountInfo bgai + INNER JOIN BIZ_ConfirmLineInfo coli ON bgai.GAI_COLI_SN=coli.COLI_SN + WHERE coli_ID = '$COLI_ID'"; + $query = $this->HT->query($sql); + return $query->result(); + } + + public function get_groupCodeList($GroupCodeList_str) + { + $sql = "SELECT GRI_No + FROM GRoupInfo gri + INNER JOIN BIZ_ConfirmLineInfo coli ON coli.COLI_GRI_SN=gri.GRI_SN + WHERE gri.GRI_No IN ($GroupCodeList_str)"; + $query = $this->HT->query($sql); + return $query->result(); + } + + public function get_packageSN($pag_code) + { + $sql = "SELECT top 1 PAG2_SN + FROM BIZ_PackageInfo2 pag2 + INNER JOIN BIZ_PackageInfo pag ON pag.PAG_SN=pag2.PAG2_PAG_SN + WHERE pag.PAG_Code = '$pag_code' and pag2.PAG2_LGC=2 and pag.PAG_DEI_SN=30 + "; + $query = $this->HT->query($sql); + if ($query->row()) { + return $query->row()->PAG2_SN; + } + return NULL; + } + public function get_groupCombineInfo($coli_sn=0, $startDate=null, $endDate=NULL) + { + $sql = "SELECT top 1000 coli.COLI_GRI_SN, cold.COLD_SN, gci.* + FROM BIZ_GroupCombineInfo gci + INNER JOIN BIZ_ConfirmLineInfo coli ON coli.COLI_SN=gci.GCI_COLI_SN + INNER JOIN BIZ_ConfirmLineDetail cold ON cold.COLD_COLI_SN=coli.COLI_SN + WHERE 1=1 "; + if ($coli_sn !== 0) { + $sql .= " and gci.GCI_COLI_SN='$coli_sn' "; + } + if ($startDate !== NULL) { + // $sql .= " and gci.GCI_travelDate between '$startDate' and '$endDate' "; + } + $query = $this->HT->query($sql); + return $query->result(); + } + + public $GRI_SN=0; // 团号 + public $GRI_No; // 团号 + public $GRI_OrderType; // 订单类型 + public $GRI_Name; // 团名 + public $GRI_PersonNum; // 人数 + public $GRI_Days; // 行程天数 + public $GRI_IsCancel=0; + public $GRI_DeleteFlag=0; + /** 团信息 */ + public function groupinfo_save() + { + $sql = "INSERT INTO GRoupInfo + (GRI_No + ,GRI_Name + ,GRI_PersonNum + ,GRI_Days + ,GRI_IsCancel + ,DeleteFlag + ,GRI_OrderType) + VALUES (N?,N?,?,?,?,?,?)"; + $query = $this->HT->query($sql, array( + $this->GRI_No, + $this->GRI_Name, + $this->GRI_PersonNum, + $this->GRI_Days, + $this->GRI_IsCancel, + $this->GRI_DeleteFlag, + $this->GRI_OrderType + )); + $this->GRI_SN = $this->HT->query("select MAX(GRI_SN) as insert_id FROM GRoupInfo WHERE GRI_No='" . $this->GRI_No . "'")->row('insert_id'); + return $this->GRI_SN; + } + + public $GCI_SN; + public $GCI_combineNo=''; // 拼团团号 + public $GCI_COLI_SN; // 订单key + public $GCI_VendorOrderId; // 地接社系统订单id + public $GCI_FromAgc; // 组团社来源 + public $GCI_groupType; // 组团社来源 + public $GCI_travelDate; + public $GCI_leaveDate; + public $GCI_createTime; + /** 目的地订单 拼团信息 */ + public function biz_groupcombineinfo_save() + { + $sql = "IF NOT EXISTS( + SELECT TOP 1 1 + FROM BIZ_GroupCombineInfo + WHERE GCI_VendorOrderId = ? + ) + INSERT INTO BIZ_GroupCombineInfo + (GCI_combineNo + ,GCI_COLI_SN + ,GCI_VendorOrderId + ,GCI_FromAgc + ,GCI_groupType + ,GCI_travelDate + ,GCI_leaveDate + ,GCI_createTime) + VALUES + (N? + ,? + ,? + ,N? + ,? + ,? + ,? + ,?) + "; + $query = $this->HT->query($sql, array( + $this->GCI_VendorOrderId + // ,$this->GCI_COLI_SN + ,$this->GCI_combineNo + ,$this->GCI_COLI_SN + ,$this->GCI_VendorOrderId + ,$this->GCI_FromAgc + ,$this->GCI_groupType + ,$this->GCI_travelDate + ,$this->GCI_leaveDate + ,$this->GCI_createTime + )); + $this->GCI_SN = $this->HT->query("select MAX(GCI_SN) as insert_id FROM BIZ_GroupCombineInfo WHERE GCI_combineNo='" . $this->GCI_combineNo . "'")->row('insert_id'); + return $this->GCI_SN; + } + public function combineoperation_exist($combineNo='', $operation="") + { + if( ! $combineNo) { return false; } + $sql = "SELECT TOP 1 GCOD_GCI_combineNo + FROM BIZ_GroupCombineOperationDetail + WHERE GCOD_GCI_combineNo = N? and GCOD_operationType=?"; + $query = $this->HT->query($sql, array( + $combineNo,$operation + )); + return $query->result(); + } + public $GCOD_SN; + public $GCOD_GCI_combineNo = ''; + public $GCOD_operationType = ''; + public $GCOD_subType = ''; + public $GCOD_title = ''; + public $GCOD_dutyName = ''; + public $GCOD_dutyTel; + public $GCOD_dutyPhoto; + public $GCOD_startDate; + public $GCOD_endDate; + public $GCOD_useNum=1; + public $GCOD_sumMoney; + public $GCOD_standard = ''; + public $GCOD_carLicense = ''; + public $GCOD_remark = ''; + public $GCOD_creatTime; + public function biz_groupcombineoperationdetail_save() + { + // IF NOT EXISTS( + // SELECT TOP 1 1 + // FROM BIZ_GroupCombineOperationDetail + // WHERE GCOD_GCI_combineNo = N? and GCOD_operationType=N? + // ) + $sql = "INSERT INTO BIZ_GroupCombineOperationDetail + (GCOD_GCI_combineNo + ,GCOD_operationType + ,GCOD_subType + ,GCOD_title + ,GCOD_dutyName + ,GCOD_dutyTel + ,GCOD_dutyPhoto + ,GCOD_startDate + ,GCOD_endDate + ,GCOD_useNum + ,GCOD_sumMoney + ,GCOD_standard + ,GCOD_carLicense + ,GCOD_remark + ,GCOD_creatTime) + VALUES + (N? + ,N? + ,N? + ,N? + ,N? + ,? + ,? + ,? + ,? + ,? + ,? + ,N? + ,N? + ,N? + ,GETDATE()) + "; + $query = $this->HT->query($sql, array( + $this->GCOD_GCI_combineNo + ,$this->GCOD_operationType + // ,$this->GCOD_GCI_combineNo + // ,$this->GCOD_operationType + ,$this->GCOD_subType + ,$this->GCOD_title + ,$this->GCOD_dutyName + ,$this->GCOD_dutyTel + ,$this->GCOD_dutyPhoto + ,$this->GCOD_startDate + ,$this->GCOD_endDate + ,$this->GCOD_useNum + ,$this->GCOD_sumMoney + ,$this->GCOD_standard + ,$this->GCOD_carLicense + ,$this->GCOD_remark + )); + return $query; + } + + + + var $GUT_SN; + var $GUT_FirstName; //联系人 + var $GUT_LastName = ""; //联系人 + var $GUT_Title; //称谓 + var $GUT_Email; //主email + var $GUT_Email2; //备用email + var $GUT_NationalityID; //国家 + var $GUT_Passport; //护照 + var $GUT_TEL; //座机 + var $GUT_MoveTel; //手机 + + /** + * 商务联系人表入库 + * + * @return int GUT_SN 插入id + */ + + function biz_guest_save() { + //生成一个号码,用于MAX函数来查询插入ID时避免获得其它线程插入的值 + $AddCode = $this->MakeOrderNumber(); + $sql = "INSERT INTO BIZ_Guest \n" + . " ( \n" + . " GUT_FirstName, \n" + . " GUT_LastName, \n" + . " GUT_Title, \n" + . " GUT_Email, \n" + . " GUT_Email2, \n" + . " GUT_NationalityID, \n" + . " GUT_Passport, \n" + . " GUT_TEL, \n" + . " GUT_MoveTel, \n" + . " GUT_AddCode, \n" + . " GUT_CreateDate \n" + . " ) \n" + . "VALUES \n" + . " ( \n" + . " N?, \n" + . " N?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " GETDATE() \n" + . " )"; + $query = $this->HT->query($sql, array( + mb_convert_encoding($this->GUT_FirstName, 'UTF-8'), + mb_convert_encoding($this->GUT_LastName, 'UTF-8'), + $this->GUT_Title, + $this->GUT_Email, + $this->GUT_Email2, + $this->GUT_NationalityID, + mb_convert_encoding($this->GUT_Passport, 'UTF-8'), + $this->GUT_TEL, + $this->GUT_MoveTel, $AddCode + )); + $this->GUT_SN = $this->HT->query('select MAX(GUT_SN) as insert_id FROM BIZ_Guest WHERE GUT_AddCode=' . $AddCode)->row('insert_id'); + return $this->GUT_SN; + } + + public function get_SN_by_groupCode($code) + { + $sql = "SELECT top 1 COLI_SN,GRI_SN + FROM BIZ_ConfirmLineInfo coli + LEFT JOIN GRoupInfo gri ON coli.COLI_GRI_SN=gri.GRI_SN + WHERE gri.GRI_No LIKE '$code%'"; + $query = $this->HT->query($sql); + if ($query->row()) { + $this->BIZ_COLI_SN = $query->row()->COLI_SN; + $this->GRI_SN = $query->row()->GRI_SN; + return $query->row(); + } + return NULL; + } + + var $BIZ_COLI_SN; + var $BIZ_COLI_ID; + var $BIZ_COLI_GUT_SN; //联系人id + var $BIZ_COLI_Area; //市场 + var $BIZ_COLI_ApplyDate = ''; //提交日期 + var $BIZ_COLI_Price; //订单总价 + var $BIZ_COLI_Cost; //总成本 + var $BIZ_COLI_Currency; //币种 + var $BIZ_COLI_TrueCardRate; //信用卡手续费 + var $BIZ_COLI_SenderIP = ''; //客人ip + var $BIZ_COLI_WebCode = ''; //站点code + var $BIZ_COLI_servicetype; //订单来源类型 + var $BIZ_COLI_sourcetype; //预定类型 + var $BIZ_COLI_AgencyID; + var $BIZ_COLI_ConfirmType; //提交方式 + var $BIZ_COLI_OrderDetailText; + var $BIZ_COLI_OriginalText=''; + var $BIZ_COLI_Memo; + var $BIZ_COLI_GRI_SN; + var $BIZ_COLI_GroupCode=''; + var $BIZ_COLI_State; + + /** + * 商务订单主表入库 + * @return int BIZ_COLI_ID 插入id + */ + function biz_confirm_save() { + // if (empty($this->BIZ_COLI_WebCode)) { + $this->BIZ_COLI_WebCode = '';// 来源图兰朵 + // } + //生成一个号码,用于MAX函数来查询插入ID时避免获得其它线程插入的值 + $AddCode = $this->MakeOrderNumber(); + $sql = "INSERT INTO BIZ_ConfirmLineInfo \n" + . "( \n" + . " COLI_ID, \n" + . " COLI_GUT_SN, \n" + . " COLI_Area, \n" + . " COLI_ApplyDate, \n" + . " COLI_Price, \n" + . " COLI_Cost, \n" + . " COLI_Currency, \n" + . " COLI_TrueCardRate, \n" + . " COLI_AgencyID, \n" + . " COLI_OrderDetailText, \n" + . " COLI_SenderIP, \n" + . " COLI_WebCode, \n" + . " COLI_servicetype, \n" + . " COLI_sourcetype, \n" + . " COLI_ConfirmType, \n" + . " COLI_State, \n" + . " COLI_Department, \n" + . " COLI_AddCode, \n" + . " COLI_OrderSource, \n" + . " COLI_Memo, \n" + . " COLI_GRI_SN, \n" + . " COLI_GroupCode, \n" + . " COLI_OriginalText \n" + . ") \n" + . "VALUES \n" + . "( \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " N?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " N?, \n" + . " N? \n" + . ")"; + $query = $this->HT->query($sql, array( + $this->BIZ_COLI_ID, + $this->BIZ_COLI_GUT_SN, + 2, + // $this->config->item('Site_Area'), + //date("Y-m-d H:i:s"), + $this->BIZ_COLI_ApplyDate, + $this->BIZ_COLI_Price, + $this->BIZ_COLI_Cost, + $this->config->item('Site_Currency'), + $this->BIZ_COLI_TrueCardRate, + $this->BIZ_COLI_AgencyID, + $this->BIZ_COLI_OrderDetailText, + $this->BIZ_COLI_SenderIP, + $this->BIZ_COLI_WebCode, + $this->BIZ_COLI_servicetype, + $this->BIZ_COLI_sourcetype, + $this->BIZ_COLI_ConfirmType, + $this->BIZ_COLI_State, + 30,// $this->config->item('Site_Department'), + $AddCode, + $this->COLI_OrderSource, + $this->BIZ_COLI_Memo, + $this->BIZ_COLI_GRI_SN, + $this->BIZ_COLI_GroupCode, + $this->BIZ_COLI_OriginalText + )); + $this->BIZ_COLI_SN = $this->HT->query('select MAX(COLI_SN) as insert_id FROM BIZ_ConfirmLineInfo WHERE COLI_AddCode=' . $AddCode)->row('insert_id'); + return $this->BIZ_COLI_SN; + } + + public function update_confirmLineInfo() + { + $sql = "UPDATE BIZ_ConfirmLineInfo SET + COLI_GRI_SN=?, + COLI_GroupCode=? + WHERE COLI_SN=? + "; + $query = $this->HT->query($sql, array( + $this->BIZ_COLI_GRI_SN + ,$this->BIZ_COLI_GroupCode + ,$this->BIZ_COLI_SN + )); + return $this->query; + } + + var $COLD_SN; + var $COLD_COLI_SN; // 订单主表sn + var $COLD_ServiceType; // 服务类型 + var $COLD_StartDate; // 产品的服务的开始日期 + var $COLD_EndDate; // 产品的服务的结束日期 + var $COLD_TotalCost; // 总成本 + var $COLD_TotalPrice; // 总报价 + var $COLD_Count; // 产品数量 + var $COLD_PersonNum; // 成人数 + var $COLD_ChildNum; // 小孩数 + var $COLD_BabyNum; // 婴儿数 + var $cold_state; // 状态 + var $DeleteFlag; // 删除标志 + var $COLD_DeliveryCharge = 0; //服务费 + 快递费用 CNY + var $COLD_PlanVEI_SN = NULL; // 默认供应商 628-火车桂林国旅 + var $COLD_SPFS = NULL; // 快递方式:1自取 2酒店 3指定地址 + var $COLD_ServiceSN = NULL; // 产品ID 除机票外 其它自基础产品库各产品ID + var $COLD_Memo = NULL; + var $COLD_MemoText = NULL; + + /** + * 商务订单子(详细)表入库 + * + * @return int 插入id + */ + + function biz_confirm_detail_save() { + //生成一个号码,用于MAX函数来查询插入ID时避免获得其它线程插入的值 + $AddCode = $this->MakeOrderNumber(); + $sql = "INSERT INTO BIZ_ConfirmLineDetail \n" + . "( \n" + . " COLD_COLI_SN, \n" + . " COLD_ServiceType, \n" + . " COLD_StartDate, \n" + . " COLD_EndDate, \n" + . " COLD_TotalCost, \n" + . " COLD_TotalPrice, \n" + . " COLD_Count, \n" + . " COLD_PersonNum, \n" + . " COLD_ChildNum, \n" + . " COLD_BabyNum, \n" + . " cold_state, \n" + . " DeleteFlag, \n" + . " COLD_DeliveryCharge, \n" + . " COLD_AddCode, \n" + . " COLD_PlanVEI_SN, \n" + . " COLD_SPFS, \n" + . " COLD_Memo, \n" + . " COLD_MemoText, \n" + . " COLD_ServiceSN \n" + . ") \n" + . "VALUES \n" + . "( \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ? \n" + . ")"; + $HT1 = $this->load->database('HT', true); + $query = $HT1->query($sql, array( + $this->COLD_COLI_SN, + $this->COLD_ServiceType, + $this->COLD_StartDate, + $this->COLD_EndDate, + $this->COLD_TotalCost, + $this->COLD_TotalPrice, + $this->COLD_Count, + $this->COLD_PersonNum, + $this->COLD_ChildNum, + $this->COLD_BabyNum, + $this->cold_state, + $this->DeleteFlag, + $this->COLD_DeliveryCharge, + $AddCode, + $this->COLD_PlanVEI_SN, + $this->COLD_SPFS, + $this->COLD_Memo, + $this->COLD_MemoText, + $this->COLD_ServiceSN) + ); + //查出最近插入的id + $HT2 = $this->load->database('HT', true); + $this->COLD_SN = $HT2->query('select MAX(COLD_SN) as insert_id FROM BIZ_ConfirmLineDetail WHERE COLD_AddCode=' . $AddCode)->row('insert_id'); + return $this->COLD_SN; + } + + var $BIZ_COLL_COLI_SN; + var $BIZ_COLL_type; + var $BIZ_COLL_COLI_Field; + var $BIZ_COLL_COLI_value; + var $BIZ_COLL_OPI_SN; + + function biz_confirm_line_log_save() + { + $sql = "INSERT INTO BIZ_ConfirmLineLog ( + COLL_COLI_SN, + COLL_LogTime, + COLL_type, + COLL_COLI_Field, + COLL_COLI_value, + COLL_OPI_SN + ) VALUES (?,GETDATE(),?,?,?,?) "; + $HT1 = $this->load->database('HT', true); + $query = $HT1->query($sql, array($this->BIZ_COLL_COLI_SN, + $this->BIZ_COLL_type, + $this->BIZ_COLL_COLI_Field, + $this->BIZ_COLL_COLI_value, + $this->BIZ_COLL_OPI_SN) + ); + return $query; + } + + var $POI_SN; + var $POI_COLD_SN; + var $POI_FlightsNo = ''; + var $POI_AirPort = ''; + var $POI_Time; + var $POI_Hotel = ''; + var $POI_HotelAddress = ''; + var $POI_HotelPhone = ''; + var $POI_HotelCheckInName = ''; + var $POI_HotelCheckIn = ''; + var $POI_HotelCheckOut = ''; + var $POI_EndTime = ''; + var $POI_QuotationType; // 1 报价 2 网络支付价 3 促销价 + /** 包价线路订单入库 */ + public function biz_packageorder_save() + { + $sql = "INSERT INTO BIZ_PackageOrderInfo + (POI_COLD_SN + ,POI_FlightsNo + ,POI_AirPort + ,POI_Time + ,POI_Hotel + ,POI_QuotationType + ,POI_HotelAddress + ,POI_HotelPhone + ,POI_HotelCheckInName + ,POI_HotelCheckIn + ,POI_HotelCheckOut + ,POI_EndTime) + VALUES + (? + ,? + ,N? + ,? + ,N? + ,? + ,N? + ,N? + ,N? + ,N? + ,N? + ,N?) + "; + $query = $this->HT->query($sql, array( + $this->POI_COLD_SN + ,$this->POI_FlightsNo + ,$this->POI_AirPort + ,$this->POI_Time + ,$this->POI_Hotel + ,$this->POI_QuotationType + ,$this->POI_HotelAddress + ,$this->POI_HotelPhone + ,$this->POI_HotelCheckInName + ,$this->POI_HotelCheckIn + ,$this->POI_HotelCheckOut + ,$this->POI_EndTime + )); + $this->POI_SN = $this->HT->query('select MAX(POI_SN) as insert_id FROM BIZ_PackageOrderInfo WHERE POI_COLD_SN=' . $this->POI_COLD_SN)->row('insert_id'); + return $this->POI_SN; + } + + var $FOI_SN; + var $FOI_COLD_SN; // 订单子表sn + var $Aircompany; // 航空公司编码 + var $FlightsNo; // 航班号 + var $Cabin; // 舱位 + var $DepartAirport; // 出发机场 + var $ArrivalAirport; // 抵达机场 + var $DepartureCity; // 出发城市 + var $DepartureTime; // 出发日期 + var $ArrivalCity; // 抵达城市 + var $Arrivaltime; // 抵达时间 + var $DepartureDate; // 出发时间 + var $adultCost; // 成人成本 + var $childCost; // 小孩成倍 + var $babyCost; // 婴儿成本 + var $adultPrice; // 成人报价 + var $childPrice; // 小孩报价 + var $babyPrice; // 婴儿报价 + var $Stopover; // + var $PriceY; // Y仓价格 + var $price_low; // 最低价格 + var $FOI_Mile; // 里程 + var $TicketAddress; // 寄送地址 + var $FOI_CostTime = ''; // 运行时间 + var $Aircraft = ''; // 12306座位编号 + var $FOI_ServiceFee_adult = NULL; // 成人服务费 + var $FOI_ServiceFee_child = NULL; // 儿童服务费 + var $FOI_DeliveryFee = NULL; // 寄票费 + var $FOI_SelectedSeat = ""; // 选座 + + /** + * + * 商务机票订单入库 + * + */ + + function biz_flight_order_save() { + //生成一个号码,用于MAX函数来查询插入ID时避免获得其它线程插入的值 + $AddCode = $this->MakeOrderNumber(); + $sql = "INSERT INTO BIZ_FlightsOrderInfo \n" + . "( \n" + . " FOI_COLD_SN, \n" + . " Aircompany, \n" + . " FlightsNo, \n" + . " Cabin, \n" + . " DepartAirport, \n" + . " ArrivalAirport, \n" + . " DepartureCity, \n" + . " DepartureTime, \n" + . " ArrivalCity, \n" + . " Arrivaltime, \n" + . " DepartureDate, \n" + . " adultCost, \n" + . " childCost, \n" + . " babyCost, \n" + . " adultPrice, \n" + . " childPrice, \n" + . " babyPrice, \n" + . " Stopover, \n" + . " PriceY, \n" + . " price_low, \n" + . " FOI_Mile, \n" + . " TicketAddress, \n" + . " FOI_CostTime, \n" + . " FOI_AddCode, \n" + . " Aircraft, \n" + . " FOI_ServiceFee_adult, \n" + . " FOI_ServiceFee_child, \n" + . " FOI_SelectedSeat, \n" + . " FOI_DeliveryFee \n" + . ") \n" + . "VALUES \n" + . "( \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ? \n" + . ")"; + $HT1 = $this->load->database('HT', true); + $query = $HT1->query($sql, array($this->FOI_COLD_SN, + $this->Aircompany, + $this->FlightsNo, + $this->Cabin, + $this->DepartAirport, + $this->ArrivalAirport, + $this->DepartureCity, + $this->DepartureTime, + $this->ArrivalCity, + $this->Arrivaltime, + $this->DepartureDate, + $this->adultCost, + $this->childCost, + $this->babyCost, + $this->adultPrice, + $this->childPrice, + $this->babyPrice, + $this->Stopover, + $this->PriceY, + $this->price_low, + $this->FOI_Mile, + $this->TicketAddress, + $this->FOI_CostTime, + $AddCode, + $this->Aircraft, + $this->FOI_ServiceFee_adult, + $this->FOI_ServiceFee_child, + $this->FOI_SelectedSeat, + $this->FOI_DeliveryFee + )); + $this->FOI_SN = $HT1->query('select MAX(FOI_SN) as insert_id FROM BIZ_FlightsOrderInfo WHERE FOI_AddCode=' . $AddCode)->row('insert_id'); + return $this->FOI_SN; + } + + var $BPE_SN; + var $BPE_FirstName; //客人 + var $BPE_MiddleName; //客人 + var $BPE_LastName; //客人 + var $BPE_GuestType; //客人类型 + var $BPE_Passport; //护照 + var $BPE_imageSrc = NULL; //护照图片 + var $BPE_Nationality; //国籍 + var $BPE_SEX; //性别 + var $BPE_BirthDate; //生日 + var $BPE_PassportType = "Passport No."; //护照类型 + + /** + * + * 商务订单参团客人入库 + * + */ + + function biz_book_people_save() { + //生成一个号码,用于MAX函数来查询插入ID时避免获得其它线程插入的值 + $AddCode = $this->MakeOrderNumber(); + $sql = "INSERT INTO BIZ_BookPeople \n" + . "( \n" + . " BPE_FirstName, \n" + . " BPE_MiddleName, \n" + . " BPE_LastName, \n" + . " BPE_GuestType, \n" + . " BPE_Passport, \n" + . " BPE_imageSrc, \n" + . " BPE_Nationality, \n" + . " BPE_SEX, \n" + . " BPE_BirthDate, \n" + . " BPE_PassportType, \n" + . " BPE_AddCode \n" + . ") \n" + . "VALUES \n" + . "( \n" + . " N?, \n" + . " N?, \n" + . " N?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ? \n" + . ")"; + $query = $this->HT->query($sql, array( + mb_convert_encoding($this->BPE_FirstName, 'UTF-8'), + mb_convert_encoding($this->BPE_MiddleName, 'UTF-8'), + mb_convert_encoding($this->BPE_LastName, 'UTF-8'), $this->BPE_GuestType, + mb_convert_encoding($this->BPE_Passport, 'UTF-8'), $this->BPE_imageSrc, + $this->BPE_Nationality, + $this->BPE_SEX, $this->BPE_BirthDate, $this->BPE_PassportType, $AddCode)); + $this->BPE_SN = $this->HT->query('select MAX(BPE_SN) as insert_id FROM BIZ_BookPeople WHERE BPE_AddCode=' . $AddCode)->row('insert_id'); + return $this->BPE_SN; + } + + /** + * 参团人关联 + * + * @param int 商务子表sn + * @param int 参团客人sn + */ + function biz_bookpeople_List_save($COLD_SN, $BPE_SN) { + $sql = "INSERT INTO BIZ_BookPeopleList \n" + . "( \n" + . " BPL_COLD_SN, \n" + . " BPL_BPE_SN \n" + . ") \n" + . "VALUES \n" + . "( \n" + . " ?, \n" + . " ? \n" + . ")"; + // $query = $this->HT->query($sql, array($COLD_SN, $BPE_SN)); + } + + /* + * 生成订单号 + * 根据系统时间生成,精确到0.0001微秒 + */ + + function MakeOrderNumber() { + return str_replace('.', '', sprintf('%11.4f', gettimeofday(TRUE))); + } + + /** + * 生成商务订单号 + */ + function biz_make_order_number() { + /* + $date = date('ymd',time()); + $sql = "SELECT MAX( \n" + . " CONVERT( \n" + . " INT, \n" + . " CASE \n" + . " WHEN ISNUMERIC(RIGHT(COLI_ID, 3)) = 0 THEN LEFT(RIGHT(COLI_ID, 4), 3) \n" + . " ELSE RIGHT(COLI_ID, 3) \n" + . " END \n" + . " ) \n" + . " ) AS SN \n" + . "FROM dbo.BIZ_ConfirmLineInfo \n" + . "WHERE (LEFT(COLI_ID, 6) = ?)"; + $query = $this->HT->query($sql,array($date)); + $id = $query->row()->SN; + if (is_null($id)||empty($id)) + { + $id = 0; + } + $ids = $date.(sprintf('%03d',(int)$id+1)); + return $ids; + */ + //call $conn + include('c:/database_conn.php'); + $connection = array( + 'UID' => $db['HT']['username'], + 'PWD' => $db['HT']['password'], + 'Database' => 'tourmanager', + 'ConnectionPooling' => 1, + 'CharacterSet' => 'utf-8', + 'ReturnDatesAsStrings' => 1 + ); + $conn = sqlsrv_connect($db['HT']['hostname'], $connection); + $stmt = sqlsrv_query($conn, "declare @ccid varchar(20);exec dbo.SP_GetBIZOrderNo @ccid out;select @ccid as ccid;"); + if ($stmt === false) { + echo "Error in executing statement 3.\n"; + die(print_r(sqlsrv_errors(), true)); + } else { + //存储过程中每一个select都会产生一个结果集,取某个结果集就需要从第一个移动到需要的那个结果集 + //如果结果集为空就移到下一个 + while (sqlsrv_has_rows($stmt) !== TRUE) { + sqlsrv_next_result($stmt); + } + + $result_object = array(); + while ($row = sqlsrv_fetch_object($stmt)) { + $result_object[] = $row; + } + + sqlsrv_free_stmt($stmt); + sqlsrv_close($conn); + + return($result_object[0]->ccid); + } + } + + /** + * + * 更新订单状态(商务订单) + * + */ + public function update_biz_order($order_id, $pay_manager, $source_type, $state, $text = '') { + //更新订单 + $sql = "UPDATE BIZ_ConfirmLineInfo SET COLI_PayManner=?,COLI_sourcetype=?,COLI_State=?,COLI_OrderDetailText=COLI_OrderDetailText+? WHERE COLI_ID=?"; + $query = $this->HT->query($sql, array($pay_manager, $source_type, $state, $text, $order_id . '')); + $this->insert_acc_info($order_id); + return '是否执行:' . print_r($query, true) . ' sql:' . $sql . ' 参数:' . print_r(array($pay_manager, $source_type, $state, $text, $order_id . ''), true); + } + + /** + * + * 更新火车订单购票截图 + * + */ + public function update_train_order_pic($order_pic_id) { + //更新订单 + $sql = "exec dbo.SP_BIZ_GroupFinanceList_Insert '" . $order_pic_id . "'"; + //$query = $this->HT->query($sql); + + include('c:/database_conn.php'); + $connection = array( + 'UID' => $db['HT']['username'], + 'PWD' => $db['HT']['password'], + 'Database' => 'tourmanager', + 'ConnectionPooling' => 1, + 'CharacterSet' => 'utf-8', + 'ReturnDatesAsStrings' => 1 + ); + $conn = sqlsrv_connect($db['HT']['hostname'], $connection); + $stmt = sqlsrv_query($conn, $sql); + + return $stmt; + } + + /** + * + * 插入收款记录 + * + */ + public function insert_acc_info($order_id) { + //获取订单 + $sql = "Select Top 1 COLI_SN,COLI_ID,COLI_PayManner,COLI_Price From BIZ_ConfirmLineInfo Where COLI_ID = ?"; + $query = $this->HT->query($sql, array($order_id)); + $order_info = $query->row(); + //插入记录 + $sql = "INSERT INTO BIZ_GroupAccountInfo \n" + . " ( \n" + . " GAI_COLI_SN, \n" + . " GAI_COLI_ID, \n" + . " GAI_Type, \n" + . " GAI_SQJE, \n" + . " GAI_SQDate, \n" + . " GAI_SSJE, \n" + . " GAI_SQJECurrency, \n" + . " GAI_SSDate, \n" + . " GAI_CusName, \n" + . " GAI_CusEmail, \n" + . " GAI_Memo \n" + . " ) \n" + . "VALUES \n" + . " ( \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ? \n" + . " )"; + $query = $this->HT->query($sql, array($order_info->COLI_SN, + $order_info->COLI_ID, + $order_info->COLI_PayManner, + $order_info->COLI_Price, + date('Y-m-d H:i:s'), + $order_info->COLI_Price, + $this->config->item('Site_Currency'), + date('Y-m-d H:i:s'), + "", "", " ")); + } + + function GetNationalityID($nationalityName) { + if (!$nationalityName) { + return 0; + } + if (is_numeric($nationalityName)) { + return $nationalityName; + } else { + $sql = "SELECT TOP 1 ci2.COI2_COI_SN \n" + . "FROM COuntryInfo2 ci2 \n" + . "WHERE ci2.COI2_Country = ? "; + $query = $this->HT->query($sql, array($nationalityName)); + if ($query->result()) { + $row = $query->row(); + return $row->COI2_COI_SN; + } else { + return 0; + } + } + } + + function GetNationalityName($nationalityID) { + if (!is_numeric($nationalityID)) { + return $nationalityID; + } else { + $sql = "SELECT TOP 1 ci2.COI2_Country \n" + . "FROM COuntryInfo2 ci2 \n" + . "WHERE ci2.COI2_LGC = 2 \n" + . " AND ci2.COI2_COI_SN = ? "; + $query = $this->HT->query($sql, array($nationalityID)); + if ($query->result()) { + $row = $query->row(); + return $row->COI2_Country; + } else { + return $nationalityID; + } + } + } + + /** + * + * 获取商务订单信息 + * @param string $order_id 订单id + * @return mixed 订单信息 + * + */ + public function get_flight_order_by_id($order_id) { + $sql = "SELECT DISTINCT cli.COLI_ID, \n" + . " cli.COLI_Price, \n" + . " bg.GUT_FirstName, \n" + . " bg.GUT_LastName, \n" + . " bg.GUT_Email, \n" + . " bg.GUT_Email2, \n" + . " bpe.BPE_SN, \n" + . " bpe.BPE_GuestType, \n" + . " bpe.BPE_FirstName, \n" + . " bpe.BPE_MiddleName, \n" + . " bpe.BPE_LastName, \n" + . " bpe.BPE_GuestType, \n" + . " bpe.BPE_Passport, \n" + . " cld.COLD_Count, \n" + . " foi.FlightsNo, \n" + . " foi.DepartureDate, \n" + . " foi.DepartureTime, \n" + . " foi.ArrivalTime, \n" + . " cli.COLI_PayManner, \n" + . " cli.COLI_State, \n" + . " cli.COLI_sourcetype, \n" + . " foi.Cabin, \n" + . " foi.DepartAirport, \n" + . " foi.ArrivalAirport, \n" + . " cld.COLD_SN, \n" + . " foi.DepartureCity, \n" + . " foi.ArrivalCity, \n" + . " bg.GUT_TEL, \n" + . " bg.GUT_NationalityID, \n" + . " cli.COLI_OrderDetailText, \n" + . " bpe.BPE_imageSrc, \n" + . " cli.COLI_Cost, \n" + . " cld.COLD_TotalPrice, \n" + . " cld.COLD_TotalCost \n" + . "FROM BIZ_ConfirmLineInfo cli \n" + . " INNER JOIN BIZ_ConfirmLineDetail cld \n" + . " ON cli.COLI_SN = cld.COLD_COLI_SN \n" + . " INNER JOIN BIZ_GUEST bg \n" + . " ON bg.GUT_SN = cli.COLI_GUT_SN \n" + . " INNER JOIN BIZ_BookPeopleList bpl \n" + . " ON bpl.BPL_COLD_SN = cld.COLD_SN \n" + . " INNER JOIN BIZ_BookPeople bpe \n" + . " ON bpl.BPL_BPE_SN = bpe.BPE_SN \n" + . " INNER JOIN BIZ_FlightsOrderInfo foi \n" + . " ON foi.FOI_COLD_SN = cld.COLD_SN \n" + . "WHERE cli.COLI_ID = ? AND isnull(cld.deleteflag,0) = 0 "; + + $query = $this->HT->query($sql, array($order_id)); + return $query->result(); + } + + /** + * + * 获取机票订单乘员列表 + * @param string $order_id 订单id + * @return mixed 订单信息 + * + */ + public function get_bpe_list_by_id($order_id) { + $sql = "SELECT DISTINCT bpe.BPE_SN, \n" + . " bpe.BPE_FirstName, \n" + . " bpe.BPE_MiddleName, \n" + . " bpe.BPE_LastName, \n" + . " bpe.BPE_Passport \n" + . "FROM BIZ_BookPeople bpe \n" + . " INNER JOIN BIZ_BookPeopleList bpl \n" + . " ON bpe.BPE_SN = bpl.BPL_BPE_SN \n" + . " INNER JOIN BIZ_ConfirmLineDetail cold \n" + . " ON bpl.BPL_COLD_SN = cold.COLD_SN \n" + . " INNER JOIN BIZ_ConfirmLineInfo coli \n" + . " ON coli.COLI_SN = cold.COLD_COLI_SN \n" + . "WHERE coli.COLI_ID = ?"; + $query = $this->HT->query($sql, array($order_id)); + //echo(''); + return $query->result(); + } + + /** + * + * 获取机票电子票号 + * @param array bpe_sn 乘客sn数组 + * @return mixed 机票票号 + * + */ + public function get_ticket_no($bpe_sn) { + if (is_array($bpe_sn)) { + $instr = join(',', $bpe_sn); + } elseif (is_string($bpe_sn)) { + $instr = $bpe_sn; + } else { + $instr = 0; + } + $sql = "SELECT DISTINCT ftn.FTN_FilghtsNo, \n" + . " ftn.FTN_TicketNo, \n" + . " ftn.FTN_GuestNo \n" + . "FROM BIZ_FlightsTicketNo ftn \n" + . "WHERE ftn.FTN_GuestNo IN (" . $instr . ")"; + $query = $this->HT->query($sql); + return $query->result(); + } + + /* + * 发送邮件 + */ + + function SendMail($fromName, $fromEmail, $toName, $toEmail, $subject, $body) { + $sql = "INSERT INTO Email_AutomaticSend \n" + . " ( \n" + . " M_ReplyToName, M_ReplyToEmail, M_ToName, M_ToEmail, M_Title, M_Body, M_Web, \n" + . " M_FromName, M_State \n" + . " ) \n" + . "VALUES \n" + . " ( \n" + . " ?, ?, ?, ?, ?, N?, ?, ?, 0 \n" + . " ) "; + $query = $this->HT->query($sql, + array(substr($fromName, 0, 127), $fromEmail, substr($toName, 0, 127), $toEmail, $subject, $body, $this->config->item('Site_Code'), $this->config->item('Site_SenderName')) + ); + return $query; + } + + /** + * wifi预订入库(目前仅CHT使用) + * + * @return int 插入id + */ + var $WOI_COLD_SN; + var $WOI_Device; //设备(智能手机、pad) + var $WOI_DeviceCount; //设备数量 + var $WOI_UsersCount; //使用人数 + var $WOI_Package; //Wi-Fi套餐 + var $WOI_PackageCount; //套餐数量 + var $WOI_DeliverDate; //起租日期 + var $WOI_DeliverCity; //起租城市 + var $WOI_DeliverAddr; //起租地址 + var $WOI_ReturnDate; //归还日期 + var $WOI_ReturnCity; //归还城市 + var $WOI_ReturnAddr; //归还地址 + var $WOI_OtherService; //其他服务 + var $WOI_GroupNo; //团号 + var $WOI_ExpressNo; //快递单号 + + public function biz_wifi_info_save() { + $sql = "INSERT INTO BIZ_WifiOrderInfo \n" + . "( \n" + . " WOI_COLD_SN, \n" + . " WOI_Device, \n" + . " WOI_DeviceCount, \n" + . " WOI_UsersCount, \n" + . " WOI_Package, \n" + . " WOI_PackageCount, \n" + . " WOI_DeliverDate, \n" + . " WOI_DeliverCity, \n" + . " WOI_DeliverAddr, \n" + . " WOI_ReturnDate, \n" + . " WOI_ReturnCity, \n" + . " WOI_ReturnAddr, \n" + . " WOI_OtherService, \n" + . " WOI_GroupNo, \n" + . " WOI_ExpressNo \n" + . ") \n" + . "VALUES \n" + . "( \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ? \n" + . ")"; + $HT1 = $this->load->database('HT', true); + $query = $HT1->query($sql, array($this->WOI_COLD_SN, + $this->WOI_Device, + $this->WOI_DeviceCount, + $this->WOI_UsersCount, + $this->WOI_Package, + $this->WOI_PackageCount, + $this->WOI_DeliverDate, + $this->WOI_DeliverCity, + $this->WOI_DeliverAddr, + $this->WOI_ReturnDate, + $this->WOI_ReturnCity, + $this->WOI_ReturnAddr, + $this->WOI_OtherService, + $this->WOI_GroupNo, + $this->WOI_ExpressNo + )); + } + + /** + * 酒店预订入库 + * + * @return int 插入id + */ + var $HOI_COLD_SN; //必选 + var $HOI_NoSmoking = null; //无烟房 + var $HOI_EarlyTime = null; //最早确认时间,已不用 + var $HOI_LastTime = null; //最晚确认时间,已不用 + var $HOI_Room_NO = null; //房号 + var $HOI_ExtraNum = 0; //加床 + var $HOI_RoomTypeName = null; //房型 + var $HOI_BreakNum = null; //早餐人数 + var $HOI_PriceType = null; //价格类型 + var $HOI_BreakType = null; //早餐类型 + var $HOI_RoomRates = null; + var $HOI_ExtrabedRates = null; + var $HOI_TaxFee = null; + + public function biz_hotel_order_save() { + /* ASP版本 + sql="select * from BIZ_HotelOrderInfo where 1=2" + rs2.open sql,conn,3,3,1 + rs2.addnew + rs2("HOI_COLD_SN")=COLD_SN + rs2("HOI_ExtraNum") = extrabed + if clng(Smoking)<2 then + rs2("HOI_NoSmoking")=Smoking + end if + rs2("HOI_EarlyTime")=earlydate + rs2("HOI_LastTime")="" + rs2.update + rs2.close + */ + $sql = "INSERT INTO BIZ_HotelOrderInfo \n" + . "( \n" + . " HOI_COLD_SN, \n" + . " HOI_NoSmoking, \n" + . " HOI_EarlyTime, \n" + . " HOI_LastTime, \n" + . " HOI_Room_NO, \n" + . " HOI_ExtraNum, \n" + . " HOI_RoomTypeName, \n" + . " HOI_BreakNum, \n" + . " HOI_PriceType, \n" + . " HOI_BreakType, \n" + . " HOI_RoomRates, \n" + . " HOI_ExtrabedRates, \n" + . " HOI_TaxFee \n" + . ") \n" + . "VALUES \n" + . "( \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ?, \n" + . " ? \n" + . ")"; + $HT1 = $this->load->database('HT', true); + $query = $HT1->query($sql, array( + $this->HOI_COLD_SN, + $this->HOI_NoSmoking, + $this->HOI_EarlyTime, + $this->HOI_LastTime, + $this->HOI_Room_NO, + $this->HOI_ExtraNum, + $this->HOI_RoomTypeName, + $this->HOI_BreakNum, + $this->HOI_PriceType, + $this->HOI_BreakType, + $this->HOI_RoomRates, + $this->HOI_ExtrabedRates, + $this->HOI_TaxFee + )); + } + + /** + * + * 返回成行订单 + * 条件1:订单类型 + * 天剑2:网站来源 + * + */ + public function get_order_info($COLI_sourcetype, $COLI_WebCode, $biz = true) { + if ($biz) { + $sql = "SELECT TOP 200 c.COLI_WebCode, \n" + . " c.COLI_ID, \n" + . " c.COLI_ConfirmDate, \n" + . " c.COLI_ApplyDate, \n" + . " ISNULL(c.COLI_IsSuccess, 0) AS success \n" + . "FROM BIZ_ConfirmLineInfo c \n" + . "WHERE c.COLI_sourcetype = ? \n" + . " AND c.COLI_WebCode = ? \n" + . "ORDER BY \n" + . " c.COLI_SN DESC"; + $query = $this->HT->query($sql, array($COLI_sourcetype, $COLI_WebCode)); + } else { + $sql = "SELECT TOP 200 c.COLI_WebCode, \n" + . " c.COLI_ID, \n" + . " c.COLI_ConfirmDate, \n" + . " c.COLI_ApplyDate, \n" + . " CASE WHEN c.COLI_Sended = 5 THEN 1 ELSE 0 END AS success \n" + . "FROM ConfirmLineInfo c \n" + . "WHERE c.COLI_sourcetype = ? \n" + . " AND c.COLI_WebCode = ? \n" + . "ORDER BY \n" + . " c.COLI_SN DESC"; + $query = $this->HT->query($sql, array($COLI_sourcetype, $COLI_WebCode)); + } + $this->sql = $this->HT->queries; + return $query->result(); + } + + //传统订单支付之后,插入新的订单信息 + public function insert_daytrip_order($coli_sn, $pay_manner, $gri_sn, $state, $deleteflag) { + //获取订单 + $order_info_sql = " + SELECT confirmlineinfotmp.COLI_OrderPrice, + memberinfotmp.MEI_FirstName, + memberinfotmp.MEI_LastName, + memberinfotmp.MEI_Mail + FROM memberinfotmp + INNER JOIN customerlisttmp + ON memberinfotmp.mei_sn = customerlisttmp.cul_cui_sn + INNER JOIN confirmlineinfotmp + ON customerlisttmp.cul_coli_sn = confirmlineinfotmp.coli_sn + WHERE (customerlisttmp.cul_coli_sn = ? )"; + $query = $this->HT->query($order_info_sql, array($coli_sn)); + $order_info = $query->row(); + + //插入记录 + $sql = "INSERT INTO GroupAccountInfoTmp + ( + GAI_COLI_SN, + GAI_SQJE, + GAI_SQDate, + GAI_CusName, + GAI_CusEmail, + GAI_SQJECurrency, + GAI_Type, + LastEditTime, + GAI_GRI_SN, + GAI_State, + DeleteFlag + ) + VALUES (?,?,?,?,?,?,?,?,?,?,?)"; + + $query = $this->HT->query($sql, array($coli_sn, + $order_info->COLI_OrderPrice, + date('Y-m-d H:i:s'), + $order_info->MEI_FirstName . " " . $order_info->MEI_LastName, + $order_info->MEI_Mail, + $this->config->item('Site_Currency'), + $pay_manner, + date('Y-m-d H:i:s'), + $gri_sn, + $state, + $deleteflag + ) + ); + } + + //来源终端 tablet mobile desktop + public function check_device() { + if (isset($_SERVER['HTTP_USER_AGENT'])) { + $ua = $_SERVER['HTTP_USER_AGENT']; + } else { + $ua = ''; + } + ## This credit must stay intact (Unless you have a deal with @lukasmig or frimerlukas@gmail.com + ## Made by Lukas Frimer Tholander from Made In Osted Webdesign. + ## Price will be $2 + $iphone = strstr(strtolower($ua), 'mobile'); //Search for 'mobile' in user-agent (iPhone have that) + $android = strstr(strtolower($ua), 'android'); //Search for 'android' in user-agent + $windowsPhone = strstr(strtolower($ua), 'phone'); //Search for 'phone' in user-agent (Windows Phone uses that) + + if (!function_exists('androidTablet')) { + + function androidTablet($ua) { //Find out if it is a tablet + if (strstr(strtolower($ua), 'android')) { //Search for android in user-agent + if (!strstr(strtolower($ua), 'mobile')) { //If there is no ''mobile' in user-agent (Android have that on their phones, but not tablets) + return true; + } + } + } + + } + $androidTablet = androidTablet($ua); //Do androidTablet function + $ipad = strstr(strtolower($ua), 'ipad'); //Search for iPad in user-agent + + if ($androidTablet || $ipad) { //If it's a tablet (iPad / Android) + return 'tablet'; + } elseif ($iphone && !$ipad || $android && !$androidTablet || $windowsPhone) { //If it's a phone and NOT a tablet + return 'mobile'; + } else { //If it's not a mobile device + return 'desktop'; + } + } + + public function ip_limit($ip = "0.0.0.0") + { + if (strcmp($ip, "0.0.0.0") === 0 || empty($ip)) { + return TRUE; + } + $sql = "SELECT COUNT(1) cnt + FROM ConfirmLineInfoTmp + WHERE 1=1 + AND COLI_SenderIP = ? + AND DateDiff(dd,COLI_ApplyDate,getdate())=0"; + $query = $this->HT->query($sql, array($ip)); + $ret = $query->row(); + if ($ret->cnt > 50) { + return FALSE; + } else { + return TRUE; + } + } + + +} diff --git a/webht/third_party/trippestOrderSync/views/index.html b/webht/third_party/trippestOrderSync/views/index.html new file mode 100644 index 00000000..c942a79c --- /dev/null +++ b/webht/third_party/trippestOrderSync/views/index.html @@ -0,0 +1,10 @@ + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + \ No newline at end of file diff --git a/webht/third_party/trippestOrderSync/views/welcome_message.php b/webht/third_party/trippestOrderSync/views/welcome_message.php new file mode 100644 index 00000000..0bf5a8d2 --- /dev/null +++ b/webht/third_party/trippestOrderSync/views/welcome_message.php @@ -0,0 +1,88 @@ + + + + + Welcome to CodeIgniter + + + + + +
+

Welcome to CodeIgniter!

+ +
+

The page you are looking at is being generated dynamically by CodeIgniter.

+ +

If you would like to edit this page you'll find it located at:

+ application/views/welcome_message.php + +

The corresponding controller for this page is found at:

+ application/controllers/welcome.php + +

If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.

+
+ + +
+ + + \ No newline at end of file