|
@@ -591,7 +591,7 @@ class Party extends Common
|
|
|
if($res) $user_ids = array_values($res);
|
|
|
// 获取用户列表信息
|
|
|
if($user_ids){
|
|
|
- $userList = Db::name('user')->field("user.id,user.avatar,user.nickname,user.level,user.gender,user.charm_level,user.wealth_level,charm.image as charm_image,charm.color as charm_color,wealth.image as wealth_image,wealth.color as wealth_color")
|
|
|
+ $userList = Db::name('user')->alias('user')->field("user.id,user.avatar,user.nickname,user.level,user.gender,user.charm_level,user.wealth_level,charm.image as charm_image,charm.color as charm_color,wealth.image as wealth_image,wealth.color as wealth_color")
|
|
|
->join('user_config_charm charm','user.charm_level = charm.level','LEFT')
|
|
|
->join('user_config_wealth wealth','user.wealth_level = wealth.level','LEFT')
|
|
|
->where(["user.id"=>["in",$user_ids],'user.is_stealth'=>0])
|