|
@@ -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
|