Authored by 郭成尧

'qrcode'

@@ -15,6 +15,14 @@ @@ -15,6 +15,14 @@
15 </a> 15 </a>
16 </span> 16 </span>
17 </li> 17 </li>
  18 + <li>
  19 + <span>我的二维码</span>
  20 + <span>
  21 + <a href="{{qrcodeLink}}" class="grade">
  22 + <span class="iconfont">&#xe604;</span>
  23 + </a>
  24 + </span>
  25 + </li>
18 </ul> 26 </ul>
19 </div> 27 </div>
20 {{> layout/footer}} 28 {{> layout/footer}}
@@ -43,6 +43,14 @@ class UserModel @@ -43,6 +43,14 @@ class UserModel
43 $result['head_ico'] = isset($result['head_ico']) && !empty($result['head_ico']) ? Images::getImageUrl($result['head_ico'], 128, 128) : ''; 43 $result['head_ico'] = isset($result['head_ico']) && !empty($result['head_ico']) ? Images::getImageUrl($result['head_ico'], 128, 128) : '';
44 } 44 }
45 $result['students'] = isset($result['vip_info']['is_student']) && $result['vip_info']['is_student'] === 1; 45 $result['students'] = isset($result['vip_info']['is_student']) && $result['vip_info']['is_student'] === 1;
  46 +
  47 + /* tar add 160914 qrcode*/
  48 + $result['qrcodeLink'] = Helpers::url('home/user/qrcode',array(
  49 + 'token' => '',
  50 + 'icon' => '',
  51 + 'uname' => '',
  52 + 'vip' => '',
  53 + ));
46 return $result; 54 return $result;
47 } 55 }
48 56