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