From 8bb849e82dba2390f16410ed437fac9c8fcb1c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Tue, 11 Jan 2022 09:30:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=AF=E7=82=B9=E5=88=97=E8=A1=A8=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/ctmobilefirst/models/api_model.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/application/third_party/ctmobilefirst/models/api_model.php b/application/third_party/ctmobilefirst/models/api_model.php index b97491ef..afe522ab 100644 --- a/application/third_party/ctmobilefirst/models/api_model.php +++ b/application/third_party/ctmobilefirst/models/api_model.php @@ -268,7 +268,7 @@ class Api_model extends CI_Model { inner join infoStructures on ic_id=is_ic_id where is_id = ? "; - $query = $this->HT->query ($sql ,array($new_pid)); + $query = $this->InfoCT->query ($sql ,array($new_pid)); if ($query->num_rows()>0){ $url = $query->row()->ic_url; @@ -314,10 +314,7 @@ class Api_model extends CI_Model { order by sortby "; - - echo ("url:".$url."/%".",pid:".$new_pid."
"); - echo ("sql:".$sql); - die(); + $qurey = $this->InfoCT->query($sql,array($url."/%",$new_pid)); return $qurey->result(); }