From 6f6900cfbb38dbe967c71b4cdc886f5896d7269f Mon Sep 17 00:00:00 2001
From: EricsHu <hrr145632>
Date: 星期五, 04 八月 2023 15:46:20 +0800
Subject: [PATCH] 回掉直播状态

---
 src/main/java/com/qxueyou/scc/stucontroller/StuNoticeController.java |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/main/java/com/qxueyou/scc/stucontroller/StuNoticeController.java b/src/main/java/com/qxueyou/scc/stucontroller/StuNoticeController.java
index 2922ce7..dc6deac 100644
--- a/src/main/java/com/qxueyou/scc/stucontroller/StuNoticeController.java
+++ b/src/main/java/com/qxueyou/scc/stucontroller/StuNoticeController.java
@@ -26,7 +26,7 @@
 import java.util.Map;
 import java.util.Set;
 
-@Api(tags = "公告接口-学员端")
+@Api(tags = "鍏憡鎺ュ彛-瀛﹀憳绔�")
 @RestController
 @RequestMapping(value = "/stu/notice")
 public class StuNoticeController {
@@ -46,14 +46,14 @@
      * @param classId
      * @return
      */
-    @ApiOperation(value = "公告列表", notes = "获取班级列表及班级所在公告列表")
+    @ApiOperation(value = "鍏憡鍒楄〃", notes = "鑾峰彇鐝骇鍒楄〃鍙婄彮绾ф墍鍦ㄥ叕鍛婂垪琛�")
     @ApiImplicitParams({
-        @ApiImplicitParam(name = "classId", value = "班级id", required = false, paramType="query", dataType = "String")
+        @ApiImplicitParam(name = "classId", value = "鐝骇id", required = false, paramType="query", dataType = "String")
     })
     @GetMapping(value = "list")
     public Result list(Integer pageNum, Integer pageSize, String classId) {
 
-        //获取班级列表及班级所在通知列表
+        //鑾峰彇鐝骇鍒楄〃鍙婄彮绾ф墍鍦ㄩ�氱煡鍒楄〃
         List<String> noticeIds = dao.getClassNotices(StringUtils.isEmpty(classId)?ClientUtils.getClassId():classId);
         List<Notice> notices = noticeService.readByStatus(noticeIds, Notice.STATUS_ISSUED);
 
@@ -76,15 +76,15 @@
     }
 
     /**
-     * 获取未读消息总数
+     * 鑾峰彇鏈娑堟伅鎬绘暟
      *
      * @return
      */
-    @ApiOperation(value = "获取未读消息总数")
+    @ApiOperation(value = "鑾峰彇鏈娑堟伅鎬绘暟")
     @GetMapping(value = "getCountToView")
     public Result getCountToView() {
 
-        //获取班级列表及班级所在通知列表
+        //鑾峰彇鐝骇鍒楄〃鍙婄彮绾ф墍鍦ㄩ�氱煡鍒楄〃
         List<ClsClass> clsLst = classService.listMyClass();
         Set<String> noticeIdLst = new HashSet<String>(10);
 
@@ -102,19 +102,19 @@
     }
 
     /**
-     * 获取通知详情
+     * 鑾峰彇閫氱煡璇︽儏
      *
      * @param noticeId
      * @return
      */
-    @ApiOperation(value = "获取公告详情")
+    @ApiOperation(value = "鑾峰彇鍏憡璇︽儏")
     @ApiImplicitParams({
-        @ApiImplicitParam(name = "noticeId", value = "公告id", required = true, paramType="query", dataType = "String")
+        @ApiImplicitParam(name = "noticeId", value = "鍏憡id", required = true, paramType="query", dataType = "String")
     })
     @GetMapping(value = "detail")
     public Result detail(String noticeId) {
         Notice notice = noticeService.read(noticeId);
-        dao.addReadCount(noticeId, ClientUtils.getUserId());//记录学员已读通知的人数;
+        dao.addReadCount(noticeId, ClientUtils.getUserId());//璁板綍瀛﹀憳宸茶閫氱煡鐨勪汉鏁�;
         return new Result(true, "success",
                 CollectionUtils.newObjectMap(
                         "noticeName", notice.getTitle(),
@@ -126,9 +126,9 @@
                 ));
     }
 
-    @ApiOperation(value = "更新公告查看次数", notes = "")
+    @ApiOperation(value = "鏇存柊鍏憡鏌ョ湅娆℃暟", notes = "")
 	@ApiImplicitParams({
-			@ApiImplicitParam(name = "noticeId", value = "公告id", required = true, paramType = "query", dataType = "String")
+			@ApiImplicitParam(name = "noticeId", value = "鍏憡id", required = true, paramType = "query", dataType = "String")
 	})
     @GetMapping(value = "view")
     public Result view(String noticeId) {

--
Gitblit v1.8.0