diff --git a/core/service.go b/core/service.go index cc536b2..9da0fc7 100644 --- a/core/service.go +++ b/core/service.go @@ -546,7 +546,7 @@ func (sh *serviceDescription) linkinfo(w http.ResponseWriter, r *http.Request) { } platformName := "platform" - links, err := sh.mongoClient.FindAll(CollectionAccount, bson.M{ + links, err := sh.mongoClient.FindAll(CollectionLink, bson.M{ "accid": authInfo.Accid, }, options.Find().SetLimit(sh.MaximumNumLinkAccount).SetProjection(bson.M{ platformName: 1,