Commit cccc52fa authored by wanglong's avatar wanglong

修改代码

parent 8f84f097
......@@ -151,14 +151,9 @@ public class CompanyController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@ApiOperation(httpMethod = "Post",value = "修改企业信息", notes = "修改企业信息")
@PostMapping(value = "/modifyCompanyInfo")
public ResponseModel<String> modifyCompanyInfo(@RequestBody CompanyDto company) throws Exception {
companyServiceImpl.updateById(company.getCompany());
return ResponseHelper.buildResponse("ok");
public ResponseModel<Boolean> modifyCompanyInfo(@RequestBody CompanyDto company) {
return ResponseHelper.buildResponse(companyServiceImpl.updateById(company.getCompany()));
}
/**
......@@ -173,7 +168,6 @@ public class CompanyController extends BaseController {
return ResponseHelper.buildResponse(companyMapper.selectById(companyList));
}
/**
* 企业审核
......
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