feat:考试详情

pg_adapter
wangxy 9 months ago
parent 70236a8c4b
commit d797a3b19b

@ -7,6 +7,7 @@ import com.ruoyi.system.domain.userexam.dto.response.UserExamRespDTO;
import com.ruoyi.web.controller.manager.UserExamManager; import com.ruoyi.web.controller.manager.UserExamManager;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
@ -37,6 +38,7 @@ public class UserExamController extends BaseController {
private String prefix = "system/elExam/userExam"; private String prefix = "system/elExam/userExam";
@ApiOperation("考试详情") @ApiOperation("考试详情")
@RequiresPermissions("system:userExam:view")
@GetMapping() @GetMapping()
public String userExam() { public String userExam() {
return prefix + "/userExam"; return prefix + "/userExam";

Loading…
Cancel
Save