...
|
...
|
@@ -80,9 +80,9 @@ class User extends Api |
|
|
$user['is_work'] = '0';
|
|
|
$user['factory'] = '';
|
|
|
}
|
|
|
$user->visible(['id','avatar','nickname','mobile','is_work','factory']);
|
|
|
$notice = '看看有吗';
|
|
|
$this->success('成功', compact('user','notice'));
|
|
|
$user->notice = '看看有吗';
|
|
|
$user->visible(['id','avatar','nickname','mobile','is_work','factory'])->append(['notice']);
|
|
|
$this->success('成功', compact('user'));
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|