|
@@ -30,7 +30,7 @@ public class UserBasketController {
|
30
|
30
|
N_Utils.validation(new Object[]{tUserBasket.getUserid(),"用户id",1,tUserBasket.getQuestionid(),"试题id",2
|
31
|
31
|
,tUserBasket.getSubjectid(),"科目id",2});
|
32
|
32
|
Integer id = userBasketService.save(tUserBasket);
|
33
|
|
- return new ResultVo(0, "保存成功",id);
|
|
33
|
+ return new ResultVo(0, "添加成功",id);
|
34
|
34
|
}
|
35
|
35
|
|
36
|
36
|
@PostMapping("/delete_id")
|
|
@@ -39,7 +39,7 @@ public class UserBasketController {
|
39
|
39
|
String questionid = tUserBasket.getQuestionid();
|
40
|
40
|
N_Utils.validation(new Object[]{userid,"用户id",1,questionid,"试题id",2});
|
41
|
41
|
userBasketService.deleteById(userid,questionid);
|
42
|
|
- return new ResultVo(0,"删除成功");
|
|
42
|
+ return new ResultVo(0,"移出成功");
|
43
|
43
|
}
|
44
|
44
|
|
45
|
45
|
@PostMapping("/delete_subjectid")
|