Commit 91beaed6 authored by 王果's avatar 王果

增加根据公司id获取人员接口

parent b7c390f0
...@@ -193,8 +193,17 @@ public class CommonController extends BaseController { ...@@ -193,8 +193,17 @@ public class CommonController extends BaseController {
return ResponseHelper.buildResponse(result); return ResponseHelper.buildResponse(result);
} }
/**
* 根据公司id获取公司下人员
*
*/
@TycloudOperation(ApiLevel = UserType.AGENCY)
@PostMapping(value = "/getCompanyUser")
@ApiOperation(httpMethod = "POST", value = "根据公司id获取公司下人员", notes = "根据公司id获取公司下人员")
public ResponseModel<Object> getCompanyUser(@RequestParam(value = "companyId") Long companyId) {
Object result = commonService.getCompanyUser(companyId);
return ResponseHelper.buildResponse(result);
}
/** /**
* 获取当前登录人企业类型 * 获取当前登录人企业类型
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment