up. 双向数据加密
This commit is contained in:
parent
11a226c417
commit
593381f119
@ -132,13 +132,8 @@ 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('操作成功',[
|
||||
$userId,$status,
|
||||
'post'=> $this->request->post(),
|
||||
'put' => $this->request->put(),
|
||||
'delete'=> $this->request->delete()
|
||||
]);
|
||||
SysUser::findOrfail($userId)->save(['status' => $status]);
|
||||
return $this->writeSuccess('操作成功',[]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user