|
@@ -47,19 +47,18 @@ class DeptUserController extends BaseController |
|
@@ -47,19 +47,18 @@ class DeptUserController extends BaseController |
|
47
|
}
|
47
|
}
|
|
48
|
|
48
|
|
|
49
|
/**
|
49
|
/**
|
|
50
|
- * @param ViewDeptUser $viewDeptUser
|
|
|
|
51
|
* @name :(详情)info
|
50
|
* @name :(详情)info
|
|
52
|
* @author :lyh
|
51
|
* @author :lyh
|
|
53
|
* @method :post
|
52
|
* @method :post
|
|
54
|
* @time :2023/5/18 9:32
|
53
|
* @time :2023/5/18 9:32
|
|
55
|
*/
|
54
|
*/
|
|
56
|
- public function info(ViewDeptUser $viewDeptUser){
|
55
|
+ public function info(DeptUserLogic $deptUserLogic){
|
|
57
|
$this->request->validate([
|
56
|
$this->request->validate([
|
|
58
|
'id'=>['required']
|
57
|
'id'=>['required']
|
|
59
|
],[
|
58
|
],[
|
|
60
|
'id.required' => 'id不能为空'
|
59
|
'id.required' => 'id不能为空'
|
|
61
|
]);
|
60
|
]);
|
|
62
|
- $info = $viewDeptUser->read($this->param);
|
61
|
+ $info = $deptUserLogic->dept_user_info($this->param);
|
|
63
|
$this->response('success',Code::SUCCESS,$info);
|
62
|
$this->response('success',Code::SUCCESS,$info);
|
|
64
|
}
|
63
|
}
|
|
65
|
|
64
|
|