修改题目排序

master
xiaoCJ 4 months ago
parent 75dd3708b5
commit 4c46584935

@ -56,6 +56,9 @@ public class TheoryTestController {
} catch (IOException e) {
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "服务器异常,请联系管理员");
}
for (int i = 0; i < list.size(); i++) {
list.get(i).setSource(String.valueOf(i + 1));
}
return new ResultEntity<>(HttpStatus.OK, "开始考试、客观题列表查询成功", list);
}

Loading…
Cancel
Save