...
|
...
|
@@ -61,7 +61,7 @@ class Share extends WechatBase |
|
|
$code_img = $this->get_code_img($user_id);
|
|
|
//图像处理
|
|
|
$url = $this->processing($code_img,$user,$type);
|
|
|
$this->success('SUCCESS','',['url'=>$url]);
|
|
|
$this->success('SUCCESS','',['url'=>$domain_name.$url]);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -102,7 +102,7 @@ class Share extends WechatBase |
|
|
->water($url,[212,622],100)
|
|
|
->save($savePath."poster_$user[id].png");
|
|
|
}
|
|
|
return "./uploads/poster$type/poster_$user[id].png";
|
|
|
return "/uploads/poster$type/poster_$user[id].png";
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|