Commit 84aaa6e3 authored by liangfenglong's avatar liangfenglong

更新

parent 345e5e37
...@@ -100,7 +100,7 @@ class LiveCase(unittest.TestCase): ...@@ -100,7 +100,7 @@ class LiveCase(unittest.TestCase):
return not r['data']['stream_status']['is_finish'] return not r['data']['stream_status']['is_finish']
@classmethod @classmethod
#@require_login(settings.LIVE_WATCHER) @require_login(settings.LIVE_WATCHER)
def follow_status(cls): def follow_status(cls):
if not cls.channel_id: if not cls.channel_id:
return return
...@@ -113,7 +113,7 @@ class LiveCase(unittest.TestCase): ...@@ -113,7 +113,7 @@ class LiveCase(unittest.TestCase):
@classmethod @classmethod
#@require_login(settings.LIVE_WATCHER) @require_login(settings.LIVE_WATCHER)
def user_follow_add(cls): def user_follow_add(cls):
uri='/api/user/follow/add' uri='/api/user/follow/add'
url=settings.BACKEND_ADMIN+uri url=settings.BACKEND_ADMIN+uri
...@@ -125,7 +125,7 @@ class LiveCase(unittest.TestCase): ...@@ -125,7 +125,7 @@ class LiveCase(unittest.TestCase):
return r return r
@classmethod @classmethod
#@require_login(settings.LIVE_WATCHER) @require_login(settings.LIVE_WATCHER)
def user_follow_del(cls): def user_follow_del(cls):
uri='/api/user/follow/del' uri='/api/user/follow/del'
url=settings.BACKEND_ADMIN+uri url=settings.BACKEND_ADMIN+uri
......
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