作者 何书鹏
1 个管道 的构建 通过 耗费 1 秒

api更新

... ... @@ -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);
}
... ...
... ... @@ -2410,6 +2410,7 @@
"lower_work_hours_month": 0, //下级打卡总工时
"recruit_subsidy_month": 0, //下级招聘补贴工资
"salary": 0 //本月共收入
"notice" : "通知内容" // 通知
}
}</pre>
</div>
... ... @@ -15561,7 +15562,7 @@
<div class="row mt0 footer">
<div class="col-md-6" align="left">
Generated on 2021-02-05 13:41:03 </div>
Generated on 2021-02-06 19:34:03 </div>
<div class="col-md-6" align="right">
<a href="./" target="_blank">My Website</a>
</div>
... ...