Explorar o código

Merge branch 'cygx_12.0' into debug

ziwen hai 1 ano
pai
achega
b869cf0fd0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/yanxuan_special.go

+ 1 - 1
controllers/yanxuan_special.go

@@ -269,7 +269,7 @@ func (this *YanxuanSpecialController) Save() {
 		br.Msg = "请输入内容"
 		return
 	}
-	if req.Tags == "" {
+	if req.Tags == "" && req.DoType == 2 {
 		br.Msg = "请至少输入一个标签"
 		return
 	}