|
...
|
...
|
@@ -47,19 +47,18 @@ class DeptUserController extends BaseController |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param ViewDeptUser $viewDeptUser
|
|
|
|
* @name :(详情)info
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/5/18 9:32
|
|
|
|
*/
|
|
|
|
public function info(ViewDeptUser $viewDeptUser){
|
|
|
|
public function info(DeptUserLogic $deptUserLogic){
|
|
|
|
$this->request->validate([
|
|
|
|
'id'=>['required']
|
|
|
|
],[
|
|
|
|
'id.required' => 'id不能为空'
|
|
|
|
]);
|
|
|
|
$info = $viewDeptUser->read($this->param);
|
|
|
|
$info = $deptUserLogic->dept_user_info($this->param);
|
|
|
|
$this->response('success',Code::SUCCESS,$info);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|