...
|
...
|
@@ -73,7 +73,7 @@ class Share extends WechatBase |
|
|
private function processing($url,$user,$type){
|
|
|
$user_id = $user['id'];
|
|
|
//保存头像
|
|
|
if(strpos($user['avatar'],'https') !=== false || strpos($user['avatar'],'http') !=== false){
|
|
|
if(strpos($user['avatar'],'https') === false || strpos($user['avatar'],'http') === false){
|
|
|
$fileName = "avatar_$user_id";
|
|
|
$avatar=$this->getImage($user['avatar'],$fileName);
|
|
|
if($avatar['code']==1){
|
...
|
...
|
|