瀏覽代碼

Merge branch 'cygx_12.0' into debug

ziwen 1 年之前
父節點
當前提交
62526c1c5e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      controllers/yanxuan_special.go

+ 2 - 1
controllers/yanxuan_special.go

@@ -377,6 +377,7 @@ func (this *YanxuanSpecialController) Save() {
 			br.ErrMsg = "新增失败,Err:" + err.Error()
 			br.ErrMsg = "新增失败,Err:" + err.Error()
 			return
 			return
 		}
 		}
+		br.Msg = "保存成功"
 	} else {
 	} else {
 		err = models.UpdateYanxuanSpecial(&item)
 		err = models.UpdateYanxuanSpecial(&item)
 		if err != nil {
 		if err != nil {
@@ -385,11 +386,11 @@ func (this *YanxuanSpecialController) Save() {
 			return
 			return
 		}
 		}
 		newId = int64(req.Id)
 		newId = int64(req.Id)
+		br.Msg = "已提交审核"
 	}
 	}
 
 
 	br.Ret = 200
 	br.Ret = 200
 	br.Success = true
 	br.Success = true
-	br.Msg = "保存成功"
 	br.Data = newId
 	br.Data = newId
 }
 }