...
|
...
|
@@ -64,6 +64,11 @@ class User extends Backend |
|
|
foreach ($list as $row) {
|
|
|
|
|
|
$row->getRelation('zhandian')->visible(['zhandian']);
|
|
|
if ($row['openid'] == null) {
|
|
|
$row['openid'] = '否';
|
|
|
} else {
|
|
|
$row['openid'] = '是';
|
|
|
}
|
|
|
}
|
|
|
$list = collection($list)->toArray();
|
|
|
$result = array("total" => $total, "rows" => $list);
|
...
|
...
|
|