正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -61,7 +61,7 @@ class Share extends WechatBase | @@ -61,7 +61,7 @@ class Share extends WechatBase | ||
61 | $code_img = $this->get_code_img($user_id); | 61 | $code_img = $this->get_code_img($user_id); |
62 | //图像处理 | 62 | //图像处理 |
63 | $url = $this->processing($code_img,$user,$type); | 63 | $url = $this->processing($code_img,$user,$type); |
64 | - $this->success('SUCCESS','',['url'=>$url]); | 64 | + $this->success('SUCCESS','',['url'=>$domain_name.$url]); |
65 | } | 65 | } |
66 | 66 | ||
67 | /** | 67 | /** |
@@ -102,7 +102,7 @@ class Share extends WechatBase | @@ -102,7 +102,7 @@ class Share extends WechatBase | ||
102 | ->water($url,[212,622],100) | 102 | ->water($url,[212,622],100) |
103 | ->save($savePath."poster_$user[id].png"); | 103 | ->save($savePath."poster_$user[id].png"); |
104 | } | 104 | } |
105 | - return "./uploads/poster$type/poster_$user[id].png"; | 105 | + return "/uploads/poster$type/poster_$user[id].png"; |
106 | } | 106 | } |
107 | 107 | ||
108 | /** | 108 | /** |
-
请 注册 或 登录 后发表评论