Commit cda1c82d by 段启岩

Merge remote-tracking branch 'origin/fix-issue#18'

# Conflicts:
#	src/main/resources/application.yml
parents eda82fa3 d381cb4c
...@@ -129,6 +129,10 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl ...@@ -129,6 +129,10 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
throw new ProjectServiceException(ProjectErrorCode.PROJECT_NOT_FOUND); throw new ProjectServiceException(ProjectErrorCode.PROJECT_NOT_FOUND);
} }
//获取项目浏览量加一并更新
project.setViewNumber(project.getViewNumber()+1);
updateById(project);
// 2.获取项目详情 // 2.获取项目详情
ProjectExt projectExt = projectExtService.getById(projectId); ProjectExt projectExt = projectExtService.getById(projectId);
......
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