|
@@ -123,10 +123,10 @@ public class ProjectController {
|
|
|
*/
|
|
|
@PostMapping("detail")
|
|
|
public RestResponse detail(@RequestBody ProjectRequest request) {
|
|
|
- if (ObjectUtil.isEmpty(request.getProjectId())) {
|
|
|
+ if (ObjectUtil.isEmpty(request.getId())) {
|
|
|
return RestResponse.ok(null, ApiConstants.RESULT_NO_PARAM, MessageUtils.get("msg.param.empty"));
|
|
|
}
|
|
|
- Project project = projectService.detail(request.getProjectId());
|
|
|
+ Project project = projectService.detail(request.getId());
|
|
|
if (ObjectUtil.isEmpty(project)) {
|
|
|
return RestResponse.ok(null, ApiConstants.RESULT_NO_DATA, MessageUtils.get("msg.data.empty"));
|
|
|
}
|