Authored by 郭成尧

'qrcode'

... ... @@ -15,6 +15,14 @@
</a>
</span>
</li>
<li>
<span>我的二维码</span>
<span>
<a href="{{qrcodeLink}}" class="grade">
<span class="iconfont">&#xe604;</span>
</a>
</span>
</li>
</ul>
</div>
{{> layout/footer}}
... ...
... ... @@ -43,6 +43,14 @@ class UserModel
$result['head_ico'] = isset($result['head_ico']) && !empty($result['head_ico']) ? Images::getImageUrl($result['head_ico'], 128, 128) : '';
}
$result['students'] = isset($result['vip_info']['is_student']) && $result['vip_info']['is_student'] === 1;
/* tar add 160914 qrcode*/
$result['qrcodeLink'] = Helpers::url('home/user/qrcode',array(
'token' => '',
'icon' => '',
'uname' => '',
'vip' => '',
));
return $result;
}
... ...