From 0525d8dfb511413348ca516b378dd09dbe995a2c Mon Sep 17 00:00:00 2001 From: cyc Date: Fri, 9 Nov 2018 10:55:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9addhtis=20id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/htmlcompressor/views/amp-template/ah.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/third_party/htmlcompressor/views/amp-template/ah.php b/application/third_party/htmlcompressor/views/amp-template/ah.php index a025b3d2..bf0ee52f 100644 --- a/application/third_party/htmlcompressor/views/amp-template/ah.php +++ b/application/third_party/htmlcompressor/views/amp-template/ah.php @@ -96,7 +96,6 @@
- -
+
@AMP-GOOGLE-ANALYTICS@ From 07950d41de425267719b70bf4493b649369764a7 Mon Sep 17 00:00:00 2001 From: cyc Date: Fri, 9 Nov 2018 11:15:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=90=BA=E7=A8=8B?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ctrip/controllers/ctrip_train.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/application/third_party/ctrip/controllers/ctrip_train.php b/application/third_party/ctrip/controllers/ctrip_train.php index ee7b6dbb..3fef195f 100644 --- a/application/third_party/ctrip/controllers/ctrip_train.php +++ b/application/third_party/ctrip/controllers/ctrip_train.php @@ -244,5 +244,20 @@ class ctrip_train extends CI_Controller{ } } - + //获取回调信息 + public function receiveinfo(){ + echo ' + + + + hainatravel123 + + + + '; + $back_xml = file_get_contents('php://input'); + $xml = simplexml_load_string($back_xml); + $json = json_encode($xml); + log_message('error','携程回调信息:'.$json); + } } \ No newline at end of file