|
|
@@ -212,16 +212,16 @@ func QueryNotice(c *gin.Context) {
|
|
|
|
|
|
// NoticeReadedReq 通知公告设置已读请求参数
|
|
|
type NoticeReadedReq struct {
|
|
|
- LoginID int64 `form:"loginID" binding:"required"` // 登录账号
|
|
|
- NoticeID int `form:"noticeID" binding:"required"` // 通知公告ID
|
|
|
+ LoginID string `form:"loginID" binding:"required"` // 登录账号
|
|
|
+ NoticeID int `form:"noticeID" binding:"required"` // 通知公告ID
|
|
|
}
|
|
|
|
|
|
// NoticeReaded 通知公告设置已读请求
|
|
|
// @Summary 通知公告设置已读请求
|
|
|
// @Produce json
|
|
|
// @Security ApiKeyAuth
|
|
|
-// @Param loginID query int true "登录账号"
|
|
|
-// @Param noticeID query int true "通知公告ID"
|
|
|
+// @Param loginID query string true "登录账号"
|
|
|
+// @Param noticeID query int true "通知公告ID"
|
|
|
// @Success 200 {object} app.Response
|
|
|
// @Failure 500 {object} app.Response
|
|
|
// @Router /Common/NoticeReaded [post]
|