|
@@ -0,0 +1,46 @@
|
|
|
+package com.zhongzheng.controller.user;
|
|
|
+
|
|
|
+import com.zhongzheng.common.core.controller.BaseController;
|
|
|
+import com.zhongzheng.common.core.page.TableDataInfo;
|
|
|
+import com.zhongzheng.modules.grade.bo.ClassGradeUserQueryBo;
|
|
|
+import com.zhongzheng.modules.grade.service.IClassGradeUserService;
|
|
|
+import com.zhongzheng.modules.grade.vo.ClassPeriodStudentVo;
|
|
|
+import com.zhongzheng.modules.user.bo.UserVisitLogQueryBo;
|
|
|
+import com.zhongzheng.modules.user.service.IUserVisitLogService;
|
|
|
+import com.zhongzheng.modules.user.vo.UserVisitLogVo;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+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.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 用户访问日志Controller
|
|
|
+ *
|
|
|
+ * @author hjl
|
|
|
+ * @date 2022-08-17
|
|
|
+ */
|
|
|
+@Api(value = "用户访问日志控制器", tags = {"用户访问日志管理"})
|
|
|
+@RequiredArgsConstructor(onConstructor_ = @Autowired)
|
|
|
+@RestController
|
|
|
+@RequestMapping("/user/dangAn")
|
|
|
+public class DangAnController extends BaseController {
|
|
|
+
|
|
|
+ private final IClassGradeUserService iClassGradeUserService;
|
|
|
+
|
|
|
+ @ApiOperation("查询档案网课列表")
|
|
|
+ @PreAuthorize("@ss.hasPermi('grade:user:list')")
|
|
|
+ @GetMapping("/listVideoUserPeriod")
|
|
|
+ public TableDataInfo<ClassPeriodStudentVo> listVideoUserPeriod(ClassGradeUserQueryBo bo) {
|
|
|
+ startPage();
|
|
|
+ List<ClassPeriodStudentVo> list = iClassGradeUserService.listVideoUserPeriod(bo);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|