Commit 21f4d58d authored by 734642908@qq.com's avatar 734642908@qq.com

用户头像

parent 158666ea
......@@ -159,7 +159,7 @@ class UserController extends BaseController
//获取用户头像
if($userReceive[$lval['en_name']]['status'] >= 2) {
$userArr = M("game_member","",C("LEWAN_HEZI"))->where(array('uid'=>$userReceive[$lval['en_name']]['uid']))->field('user_avatar')->find();
if(!empty($userArr && strstr($uval['user_nickname'], '玩家') != false)) {
if(!empty($userArr && strstr($userArr['user_avatar'], 'wx.qlogo.cn') != false)) {
$taskList[$key]['list'][$lkey]['head'] = $userArr['user_avatar'];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment