Commit 76ad04a4 by 梅存智

查看调研详情

parent fe0b8c47
...@@ -101,4 +101,18 @@ public class ResearchController { ...@@ -101,4 +101,18 @@ public class ResearchController {
} }
} }
@PostMapping("/details")
@ApiOperation(value = "查看调研详情")
public Response<ResearchVo> getResearchDetails(
@ApiParam(name = "researchId", value = "调研id", required = true)
@RequestBody CheckResearchStateVo checkResearchStateVo){
try{
return Response.ok(researchClient.getResearchDetails(checkResearchStateVo.getResearchId()));
}catch(Exception e){
e.printStackTrace();
return Response.fail(ReturnCode.SERVICE_UNAVAILABLE.getCode(),ReturnCode.SERVICE_UNAVAILABLE.getMsg());
}
}
} }
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