|
@@ -64,7 +64,7 @@ func (f *TaskResultNoticeHandler) Handle(ctx context.Context, msg *wechat_ws.Msg
|
|
|
if common.Code == "InternalError" {
|
|
|
if common.ErrMsg == "timeout" {
|
|
|
update.SetIsCanAdd(3) // 重置添加为不能添加好友
|
|
|
- } else if common.ErrMsg == "用户不存在" {
|
|
|
+ } else if common.ErrMsg == "该用户不存在" || common.ErrMsg == "用户不存在" {
|
|
|
update.SetIsCanAdd(4) // 重置添加为不能添加好友
|
|
|
} else {
|
|
|
update.SetIsCanAdd(3)
|