Commit 78e851a4 by wqc

11

parent 22870a4a
...@@ -196,7 +196,7 @@ public class QuestionService { ...@@ -196,7 +196,7 @@ public class QuestionService {
vo.setReplyCount(vo.getReplyCount()); vo.setReplyCount(vo.getReplyCount());
int i = answerRecDao.selectReplyCount(vo); int i = answerRecDao.selectReplyCount(vo);
if (i>=5){ if (i>=5){
return "今日已达5次题,请明日再来"; return "今日答题次数已用完5次,请明日再来。";
}else { }else {
answerRecDao.insert(vo); answerRecDao.insert(vo);
Map<String, Object> returnData = new HashMap<>(); Map<String, Object> returnData = new HashMap<>();
......
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