|
@@ -10,8 +10,8 @@ class ArticleRank(object):
|
|
|
"""
|
|
|
账号排序
|
|
|
"""
|
|
|
- url = "http://192.168.100.31:8179/score_list"
|
|
|
- url1 = "http://47.98.154.124:6060/score_list"
|
|
|
+ url = "http://192.168.100.31:6061/score_list"
|
|
|
+ # url1 = "http://47.98.154.124:6060/score_list"
|
|
|
# url1 = "http://localhost:6060/score_list"
|
|
|
|
|
|
@classmethod
|
|
@@ -31,7 +31,7 @@ class ArticleRank(object):
|
|
|
"sim_type": "mean",
|
|
|
"rate": 0.1
|
|
|
}
|
|
|
- response = requests.post(url=cls.url1, headers={}, json=body).json()
|
|
|
+ response = requests.post(url=cls.url, headers={}, json=body).json()
|
|
|
return response
|
|
|
|
|
|
|