//AddArticles add article to user created article list
AddArticles add article to user created article list
// AddArticles add article to user created article list
func (user *User) AddArticles(aid string) {
	cache.RedisClient.ZAddNX(cache.UserArticlesKey(user.ID), redis.Z{
		Score:  float64(time.Now().Unix()),
		Member: aid,
	})
}
func ( user * User ) AddArticles ( aid string ) { cache . RedisClient . ZAddNX ( cache . UserArticlesKey ( user . ID ) , redis . Z { Score : float64 ( time . Now ( ) . Unix ( ) ) , Member : aid , } ) }
AddArticles add article to user created article list
AddArticles add article to user created article list