hsun 7 tháng trước cách đây
mục cha
commit
01d4946808
2 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 3 3
      controllers/ppt_english.go
  2. 3 3
      controllers/ppt_v2.go

+ 3 - 3
controllers/ppt_english.go

@@ -1066,8 +1066,8 @@ func (this *PptEnglishController) TitleCheck() {
 }
 
 // Editing
-// @Title 标记编辑状态
-// @Description 标记编辑状态
+// @Title 标记/查询编辑状态
+// @Description 标记/查询编辑状态
 // @Param	request	body models.PPTEditingReq true "type json string"
 // @Success 200 Ret=200 操作成功
 // @router /editing [post]
@@ -1098,7 +1098,7 @@ func (this *PptEnglishController) Editing() {
 		br.Msg = "参数有误"
 		return
 	}
-	if req.Status <= 0 {
+	if req.Status < 0 {
 		br.Msg = "标记状态异常"
 		return
 	}

+ 3 - 3
controllers/ppt_v2.go

@@ -1238,8 +1238,8 @@ func (this *PptV2Controller) TitleCheck() {
 }
 
 // Editing
-// @Title 标记编辑状态
-// @Description 标记编辑状态
+// @Title 标记/查询编辑状态
+// @Description 标记/查询编辑状态
 // @Param	request	body models.PPTEditingReq true "type json string"
 // @Success 200 Ret=200 操作成功
 // @router /editing [post]
@@ -1270,7 +1270,7 @@ func (this *PptV2Controller) Editing() {
 		br.Msg = "参数有误"
 		return
 	}
-	if req.Status <= 0 {
+	if req.Status < 0 {
 		br.Msg = "标记状态异常"
 		return
 	}