Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/a7551a80dc13bf50544b8f9fce6f045f57168144?style=unified&whitespace=show-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

feat:添加判断

pg_adapter
wangxy 10 months ago
parent ee4181f1eb
commit a7551a80dc

@ -9,6 +9,7 @@ import com.ruoyi.system.domain.exam.dto.ExamDTO;
import com.ruoyi.system.domain.paper.dto.request.PaperAnswerDTO;
import com.ruoyi.system.domain.paper.dto.request.PaperListReqDTO;
import com.ruoyi.system.domain.paper.dto.request.PaperQuQueryDTO;
import com.ruoyi.system.domain.paper.dto.response.ExamResultRespDTO;
import com.ruoyi.system.domain.paper.dto.response.PaperListRespDTO;
import com.ruoyi.system.domain.repo.ElRepo;
import com.ruoyi.web.controller.manager.PaperManager;
@ -104,8 +105,11 @@ public class PaperController extends BaseController {
@ApiOperation("详情")
@GetMapping("/paperResult/{paperId}")
@ResponseBody
public AjaxResult paperResult(@PathVariable("paperId") String paperId) {
return AjaxResult.success(paperManager.paperResult(paperId));
public String paperResult(@PathVariable("paperId") String paperId, ModelMap mmap) {
ExamResultRespDTO examResultRespDTO = paperManager.paperResult(paperId);
mmap.put("examResultRespDTO", examResultRespDTO);
return prefix + "/view";
}

Loading…
Cancel
Save