he2802 преди 1 година
родител
ревизия
8d216c9d15
променени са 1 файла, в които са добавени 9 реда и са изтрити 0 реда
  1. 9 0
      zhongzheng-admin/src/main/java/com/zhongzheng/controller/user/DangAnController.java

+ 9 - 0
zhongzheng-admin/src/main/java/com/zhongzheng/controller/user/DangAnController.java

@@ -1,6 +1,7 @@
 package com.zhongzheng.controller.user;
 
 import com.zhongzheng.common.core.controller.BaseController;
+import com.zhongzheng.common.core.domain.AjaxResult;
 import com.zhongzheng.common.core.page.TableDataInfo;
 import com.zhongzheng.modules.grade.bo.ClassGradeUserQueryBo;
 import com.zhongzheng.modules.grade.service.IClassGradeUserService;
@@ -23,6 +24,7 @@ import lombok.RequiredArgsConstructor;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
@@ -122,4 +124,11 @@ public class DangAnController extends BaseController {
         return getDataTable(list);
     }
 
+
+    @ApiOperation("获取证书详细信息")
+    @GetMapping("/certificateDetail")
+    public AjaxResult<UserCertificateVo> getInfo(UserCertificateQueryBo bo) {
+        return AjaxResult.success(iUserCertificateService.selectDetail(bo));
+    }
+
 }