Jianghan 1 year ago
parent
commit
81df6921b9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      api/internal/logic/ignoreactionlogic.go

+ 3 - 3
api/internal/logic/ignoreactionlogic.go

@@ -44,7 +44,7 @@ func (l *IgnoreActionLogic) IgnoreAction(req *types.IgnoreReq) (resp *types.Repl
 		b := T.CrmMysql.Update("connection_status", query, update)
 		if !b {
 			resp.Error_code = -1
-			resp.Error_msg = "更新失败"
+			resp.Error_msg = "状态更新失败"
 		} else {
 			resp.Error_msg = "更新成功"
 		}
@@ -66,14 +66,14 @@ func (l *IgnoreActionLogic) IgnoreAction(req *types.IgnoreReq) (resp *types.Repl
 			i := T.CrmMysql.Insert("connection_status", save)
 			if i <= 0 {
 				resp.Error_code = -1
-				resp.Error_msg = "更新失败"
+				resp.Error_msg = "插入失败"
 			} else {
 				resp.Data = i
 				resp.Error_msg = "更新成功"
 			}
 		} else {
 			resp.Error_code = -1
-			resp.Error_msg = "更新失败"
+			resp.Error_msg = "未查询到收录信息"
 		}
 	}
 	return