boweniac 1 week ago
parent
commit
ed5bc4df4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/logic/Wxhook/get_friends_and_groups_logic.go

+ 1 - 1
internal/logic/Wxhook/get_friends_and_groups_logic.go

@@ -233,7 +233,7 @@ func (l *GetFriendsAndGroupsLogic) GetFriendsAndGroups(req *types.IDReq) (resp *
 				},
 			}
 			jsonStrChatroom, err := json.Marshal(dataChatroom)
-			err = svcCtx.WechatWs["default"].SendMsg([]byte(jsonStrChatroom))
+			err = l.svcCtx.WechatWs["default"].SendMsg([]byte(jsonStrChatroom))
 
 			//hookClient = hook.NewHook("", "", "")
 			//wsUrl = "http://chat.gkscrm.com:13086/pc/GetWechatFriendList?cid=" + wxInfo.ProcessID + "&wechatid=" + wxInfo.Wxid