|
@@ -45,7 +45,7 @@ func UserRelativeNetwork(eg *xorm.Engine, uid, level int) (*[]md.UserRelation, e |
|
|
return &userRelation, nil |
|
|
return &userRelation, nil |
|
|
} |
|
|
} |
|
|
func UserRelativeNetworkService(eg *xorm.Engine, uid, serviceUid, level int) (*[]md.UserRelation, error) { |
|
|
func UserRelativeNetworkService(eg *xorm.Engine, uid, serviceUid, level int) (*[]md.UserRelation, error) { |
|
|
var uids = []int{uid} |
|
|
|
|
|
|
|
|
var uids = []int{serviceUid} |
|
|
var userRelation = []md.UserRelation{ |
|
|
var userRelation = []md.UserRelation{ |
|
|
{ |
|
|
{ |
|
|
Uid: serviceUid, |
|
|
Uid: serviceUid, |
|
|