This commit is contained in:
Jerry Yan 2020-12-06 21:57:20 +08:00
parent 9d3b8e40ff
commit f15526ec60

View File

@ -115,6 +115,11 @@ class Users extends Base{
->order('u.userId DESC') ->order('u.userId DESC')
->paginate(input('pageSize/d'))->toArray(); ->paginate(input('pageSize/d'))->toArray();
} }
foreach ($rs['Rows'] as &$r){
if (empty($r['trueName'])) {
$r['trueName'] = "未认证用户【{$r['userId']}";
}
}
return $rs; return $rs;
} }
public function getHTTPS($url) { public function getHTTPS($url) {