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