From ae79ed3b3a0f96fc20c384f4dc7573c7e8c94d2a Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Sat, 3 Aug 2024 10:53:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svc/user_relative_network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/user_relative_network.go b/svc/user_relative_network.go index c66e533..49827a1 100644 --- a/svc/user_relative_network.go +++ b/svc/user_relative_network.go @@ -45,7 +45,7 @@ func UserRelativeNetwork(eg *xorm.Engine, uid, level int) (*[]md.UserRelation, e return &userRelation, nil } func UserRelativeNetworkService(eg *xorm.Engine, uid, serviceUid, level int) (*[]md.UserRelation, error) { - var uids = []int{uid} + var uids = []int{serviceUid} var userRelation = []md.UserRelation{ { Uid: serviceUid,