评论接口更改返回状态3
This commit is contained in:
parent
aa76f5e07f
commit
5ba59aecf9
@ -241,7 +241,7 @@ public class CaseClinicalVideoService {
|
|||||||
Integer num = userService.GetReportUserScore(userId);
|
Integer num = userService.GetReportUserScore(userId);
|
||||||
if (num < 3){
|
if (num < 3){
|
||||||
// 发放积分
|
// 发放积分
|
||||||
resultData.put("status", 1);
|
resultData.put("status", 2);
|
||||||
userService.ReportUserScore(videoId,2,userId,5);
|
userService.ReportUserScore(videoId,2,userId,5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -502,7 +502,7 @@ public class CaseExchangeService {
|
|||||||
Integer num = userService.GetReportUserScore(userId);
|
Integer num = userService.GetReportUserScore(userId);
|
||||||
if (num < 3){
|
if (num < 3){
|
||||||
// 发放积分
|
// 发放积分
|
||||||
resultData.put("status", 1);
|
resultData.put("status", 2);
|
||||||
userService.ReportUserScore(exchangeId,3,userId,5);
|
userService.ReportUserScore(exchangeId,3,userId,5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user