|
|
@@ -59,8 +59,8 @@ public class MetaProblemController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@GetMapping("/findAll")
|
|
|
- public List<MetaProblem> findAll(){
|
|
|
- return metaProblemRepo.findAllByDel(false);
|
|
|
+ public MetaRestResult<List<MetaProblem>> findAll(){
|
|
|
+ return MetaRestResult.returnSuccess("查询成功",metaProblemRepo.findAllByDel(false));
|
|
|
}
|
|
|
|
|
|
@GetMapping("/getAnswer/{id}")
|