From c1b18841ff8f65fce2fdcd63be11a6beff7a3f85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Thu, 24 Apr 2025 13:57:27 +0800 Subject: [PATCH] fix --- application/third_party/ctmobilefirst/models/api_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/third_party/ctmobilefirst/models/api_model.php b/application/third_party/ctmobilefirst/models/api_model.php index e50bc667..ab77c797 100644 --- a/application/third_party/ctmobilefirst/models/api_model.php +++ b/application/third_party/ctmobilefirst/models/api_model.php @@ -428,7 +428,7 @@ class Api_model extends CI_Model { //根据图片URL判断CDN的地址 function getPicCdn($picurl){ $strCdn =""; - if (strpos($picurl,$this->WebUrl)!== false || strpos($picurl,$this->WebCdn)!== false ) { + if (strpos($picurl,$this->WebUrl)!== false || strpos($picurl,$this->WebCdn)!== false || strpos($picurl,$this->imagesUrl)!== false ) { $strCdn=""; } else if (strpos($picurl,"allpicture")!== false){ $strCdn = "//".$this->imagesUrl ;