Commit 43b6d98d authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

update twitter follow task default true

parent 5bf8f265
...@@ -110,6 +110,7 @@ func (d *Dao) DoTweetTask(twitterUserId int, tweetId int, twitterHandle, action ...@@ -110,6 +110,7 @@ func (d *Dao) DoTweetTask(twitterUserId int, tweetId int, twitterHandle, action
} }
func (d *Dao) CheckTwitterFollow(twitterUserHandle string, followerId string) (ok bool, err error) { func (d *Dao) CheckTwitterFollow(twitterUserHandle string, followerId string) (ok bool, err error) {
return true, nil
url := fmt.Sprintf("%s/verify/follower?task_id=%s&follower_id=%s", strings.TrimSuffix(d.c.TwitterTask.URL, "/"), twitterUserHandle, followerId) url := fmt.Sprintf("%s/verify/follower?task_id=%s&follower_id=%s", strings.TrimSuffix(d.c.TwitterTask.URL, "/"), twitterUserHandle, followerId)
log.WithField("url", url).Debug("check tweet follow") log.WithField("url", url).Debug("check tweet follow")
data, err := httpGet(url) data, err := httpGet(url)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment