|
|
|
@ -370,6 +370,9 @@ class PromoteModel extends Model{
|
|
|
|
|
{
|
|
|
|
|
$result = [];
|
|
|
|
|
$result = $this->field("*")->where("level={$level}")->select();
|
|
|
|
|
foreach ($result as &$item) {
|
|
|
|
|
$item['nickname'] = $item['account'] . ($item['nickname'] ? "({$item['nickname']})" : "");
|
|
|
|
|
}
|
|
|
|
|
return $result;
|
|
|
|
|
}
|
|
|
|
|
}
|