소스 검색

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()
 			return
 		}
+		br.Msg = "保存成功"
 	} else {
 		err = models.UpdateYanxuanSpecial(&item)
 		if err != nil {
@@ -385,11 +386,11 @@ func (this *YanxuanSpecialController) Save() {
 			return
 		}
 		newId = int64(req.Id)
+		br.Msg = "已提交审核"
 	}
 
 	br.Ret = 200
 	br.Success = true
-	br.Msg = "保存成功"
 	br.Data = newId
 }