From 7ca3770e65dd1e9d29d5c10cb5f2ca8502f3cc57 Mon Sep 17 00:00:00 2001 From: 王晓刚 <wxg@bronet.cn> Date: Sat, 8 Jun 2019 21:42:55 +0800 Subject: [PATCH] 海报 --- app/portal/controller/ShareController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/portal/controller/ShareController.php b/app/portal/controller/ShareController.php index 741a452..8a769af 100644 --- a/app/portal/controller/ShareController.php +++ b/app/portal/controller/ShareController.php @@ -29,9 +29,9 @@ class ShareController extends WeChatBaseController if(empty($my_user)){ $this->error('查询为空','','',''); } -// if(empty($my_user['phone'])){ -// $this->error('跳转补全信息页面','','',''); -// } + if(empty($my_user['phone'])){ + $this->error('跳转补全信息页面','','',''); + } //判断有没有生成过 if(!file_exists('./upload/poster/poster_'.$user_id.".png")){ $url = $this->get_url($my_user['id'],$my_user['status']); -- libgit2 0.24.0