Compare commits

..

No commits in common. "126b878f3dea7b5d9801802ce5cc5de3c083fd3b" and "523299f91a59b738b98da3780b72e84cd4943857" have entirely different histories.

3 changed files with 3 additions and 15 deletions

View File

@ -56,15 +56,7 @@ public class StatsCaseClinicalController extends BaseController {
}
Long articleReadNum = caseClinicalArticleDao.getTotalReadNum();
if (articleReadNum == null){
articleReadNum = 0L;
}
Long videoReadNum = caseClinicalVideoDao.getTotalReadNum();
if (videoReadNum == null){
videoReadNum = 0L;
}
g.setArticleReadNum(Math.toIntExact(articleReadNum));
g.setVideoReadNum(Math.toIntExact(videoReadNum));

View File

@ -53,10 +53,6 @@ public class StatsCaseExchangeController extends BaseController {
}
Long totalCommentNum = caseExchangeDao.getTotalCommentNum();
if (totalCommentNum == null){
totalCommentNum = 0L;
}
g.setExchangeCommentNum(Math.toIntExact(totalCommentNum));
return Response.success(g);

View File

@ -13,12 +13,12 @@ public abstract class BaseInterceptor implements HandlerInterceptor {
// "POST:/api/public/.*", // POST 请求匹配 /api/public/xx
// "GET:/api/users" , // GET 请求匹配具体路径
"POST:/api/login/wechat/mobile", // 登陆
// "GET:/api/index/clinical", // 首页-临床病例库
"GET:/api/index/clinical", // 首页-临床病例库
"POST:/api/login/mobile", // 登陆
"POST:/api/code/phone", // 获取验证码
"POST:/api/login/hcp", // 登陆-hcp
"POST:/api/app/clinical/video" // 视频同步
// "GET:/api/clinical/stats" // 统计
"POST:/api/app/clinical/video" , // 视频同步
"GET:/api/clinical/stats" // 统计
);
/**