workMoments

pull/213/head
wangchuxiao 3 years ago
parent 040b1d9bc8
commit 01c066419d

@ -748,7 +748,7 @@ func (d *DataBases) GetUserFriendWorkMomentsRecursion(friendIDList []string, sho
return workMomentList, err
}
func (d *DataBases) GetUserFriendWorkMoments(friendIDList []string, showNumber, pageNumber int32, userID string) ([]WorkMoment, error) {
func (d *DataBases) GetUserFriendWorkMoments(friendIDList []*string, showNumber, pageNumber int32, userID string) ([]WorkMoment, error) {
ctx, _ := context.WithTimeout(context.Background(), time.Duration(config.Config.Mongo.DBTimeout)*time.Second)
c := d.mongoClient.Database(config.Config.Mongo.DBDatabase).Collection(cWorkMoment)
var workMomentList []WorkMoment

Loading…
Cancel
Save