...
|
...
|
@@ -80,8 +80,7 @@ class User extends Api |
|
|
$user['is_work'] = '0';
|
|
|
$user['factory'] = '';
|
|
|
}
|
|
|
$user->notice = '看看有吗';
|
|
|
$user->visible(['id','avatar','nickname','mobile','is_work','factory'])->append(['notice']);
|
|
|
$user->visible(['id','avatar','nickname','mobile','is_work','factory']);
|
|
|
$this->success('成功', compact('user'));
|
|
|
}
|
|
|
|
...
|
...
|
@@ -105,6 +104,7 @@ class User extends Api |
|
|
"lower_work_hours_month": 0, //下级打卡总工时
|
|
|
"recruit_subsidy_month": 0, //下级招聘补贴工资
|
|
|
"salary": 0 //本月共收入
|
|
|
"notice" : "通知内容" // 通知
|
|
|
}
|
|
|
})
|
|
|
*/
|
...
|
...
|
@@ -131,7 +131,7 @@ class User extends Api |
|
|
'lower_work_hours_month' => $lower_work_hours_month,
|
|
|
'recruit_subsidy_month' => $user['recruit_subsidy_month'],
|
|
|
'salary' => $salary,
|
|
|
'notice' => 'kankanwode',
|
|
|
'notice' => config('site.notice'),
|
|
|
];
|
|
|
$this->success('成功', $data);
|
|
|
}
|
...
|
...
|
|