up. 双向数据加密
This commit is contained in:
parent
1bf57cfe81
commit
fe2a3e7453
@ -132,7 +132,7 @@ class UserController extends BaseController
|
|||||||
{
|
{
|
||||||
$userId = $this->request->put('userId/d', 0);
|
$userId = $this->request->put('userId/d', 0);
|
||||||
$status = $this->request->put('status/d', 0);
|
$status = $this->request->put('status/d', 0);
|
||||||
SysUser::findOrfail($userId)->save(['status' => $status]);
|
// SysUser::findOrfail($userId)->save(['status' => $status]);
|
||||||
return $this->writeSuccess('操作成功',[
|
return $this->writeSuccess('操作成功',[
|
||||||
$userId,$status,
|
$userId,$status,
|
||||||
'post'=> $this->request->post(),
|
'post'=> $this->request->post(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user