master
赵鹏 12 months ago
parent 7ffc713460
commit c1b18841ff

@ -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 ;

Loading…
Cancel
Save