@@ -118,6 +118,9 @@ class User extends Core
$send['path'] = $path;
//$logo = Dever::load('wechat_applet/code.get', $send);
+ if (!$info['share_pic']) {
+ return array('img' => '');
+ }
$user = Dever::db('passport/user')->one($this->data['uid']);
$model = array
(