Commit 851636f8 authored by 周健威's avatar 周健威

修改公司信息bug

parent ea3f94d0
...@@ -75,9 +75,14 @@ public class BranchCompanyController extends BaseController<BranchCompanyBiz> { ...@@ -75,9 +75,14 @@ public class BranchCompanyController extends BaseController<BranchCompanyBiz> {
return RestResponse.data(baseBiz.getAll()); return RestResponse.data(baseBiz.getAll());
} }
@ApiOperation("获取公司详情")
@RequestMapping(value ="/{id}",method = RequestMethod.GET) @RequestMapping(value ="/{id}",method = RequestMethod.GET)
public RestResponse<CompanyDetail> get(@PathVariable Integer id) { public RestResponse<BranchCompany> get(@PathVariable Integer id) {
return RestResponse.data(baseBiz.getById(id));
}
@ApiOperation("获取公司详情")
@RequestMapping(value ="/app/unauth/detail/{id}",method = RequestMethod.GET)
public RestResponse<CompanyDetail> getDetail(@PathVariable Integer id) {
return RestResponse.data(baseBiz.getDetailById(id)); return RestResponse.data(baseBiz.getDetailById(id));
} }
......
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