Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
基于web的个性化电影实现 http://121.42.174.147:8080/Movie/login.action
+推荐电影接口如下:
+
+1该请求返回为用户推荐的5部电影(推荐电影的数量0-5个)
+http://121.42.174.147:8080/RecommendMovie/getRecommendedMoviesByOurAlgorithm.action?userid=1
+
+2该请求返回movie的详细信息(应该注意电影不存在的情况)
+http://121.42.174.147:8080/RecommendMovie/getMovieDetail.action?movie_id=1
+
+3返回当前一天评价次数最多的电影(0-8部)
+http://121.42.174.147:8080/RecommendMovie/getHotMovies.action
+
+4电影的分页
+pageSize:每页电影的数量(可能也没有12个),
+pageNow:当前页
+type:有三种取值
+genres:电影的流派有romance,documentary,animation,comedy,crime,fantasy,horror,action,war其中的一种,
+示例
+http://121.42.174.147:8080/RecommendMovie/getMoviesByPage.action?pageSize=12&pageNow=1&type=byGenres&genres=romance
+
+5用户搜索电影的api
+由于模糊查询会产生多个结果,所以使用分页处理,pageNow当前页数,pageSize每页电影数量,keyWord:用户输入的搜索内容
+http://121.42.174.147:8080/RecommendMovie/getSearchMovieByPage.action?pageNow=1&pageSize=4&keyWord=love
+
+6 用户电影评价
+http://121.42.174.147:8080/RecommendMovie/saveRating.action?userid=1&movie_id=3&rating=5
+返回结果is_rating_success:success数据保存成功,is_rating_success:exception保存失败
+rating:为用户的评价(1-5)
+
+7登录注册
+
+登录
+http://121.42.174.147:8080/RecommendMovie/loginValidation.action?username=1&password=1
+
+注册
+http://121.42.174.147:8080/RecommendMovie/register.action?username=1&password=1
+
+8
+用户完善个人信息
+http://121.42.174.147:8080/RecommendMovie/addUserInfo.action?userid=1&nickname=a&age=1&sex=M&movie_preference=romance%20horror&music_preference=unknown
+
+9 用户头像
+http://121.42.174.147:8080/usersPhoto/