作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

合并分支 'wangxiaogang' 到 'master'

补全信息页面



查看合并请求 !81
... ... @@ -37,7 +37,7 @@ class ShareController extends WeChatBaseController
$this->redirect('information');
}
//判断有没有生成过
if(!file_exists('./upload/poster/poster_'.$user_id.".png")){
// if(!file_exists('./upload/poster/poster_'.$user_id.".png")){
$url = $this->get_url($my_user['id'],$my_user['status']);
$webPath = 'qrcode/share_'.$user_id.'.png';
$savePath = './upload/'.$webPath;
... ... @@ -63,7 +63,7 @@ class ShareController extends WeChatBaseController
->water(ROOT_PATH."public/upload/avatar/avatar_".$user_id.".png",[289,478],100)
->water(ROOT_PATH."public/bg.png",\think\Image::WATER_CENTER,100)
->save('./upload/poster/poster_'.$user_id.".png");
}
// }
$share_image = cmf_get_image_url('poster/poster_'.$user_id.".png");
$this->assign('share_image',$share_image);
return $this->fetch();
... ...