Explorar o código

账号排序- v0.2

罗俊辉 hai 1 ano
pai
achega
4d4555292c
Modificáronse 2 ficheiros con 5 adicións e 5 borrados
  1. 4 4
      routes/AccountArticleRank.py
  2. 1 1
      test/rank_dev.py

+ 4 - 4
routes/AccountArticleRank.py

@@ -76,28 +76,28 @@ class AccountArticleRank(object):
         Rank Version 2
         :return:
         """
-        return
+        return await self.rank_v1()
 
     async def rank_v3(self):
         """
         Rank Version 3
         :return:
         """
-        return
+        return await self.rank_v1()
 
     async def rank_v4(self):
         """
         Rank Version 4
         :return:
         """
-        return
+        return await self.rank_v1()
 
     async def rank_v5(self):
         """
         Rank Version 5
         :return:
         """
-        return
+        return await self.rank_v1()
 
     async def choose_strategy(self):
         """

+ 1 - 1
test/rank_dev.py

@@ -6,7 +6,7 @@ import json
 import requests
 
 
-url = "http://localhost:6060/articleRank"
+url = "http://61.48.133.26:6060/articleRank"
 
 body = {
     "accountId": "20231213070634699511719",