Commit df9b3762 authored by 杨成林's avatar 杨成林

Merge branch 'ycl/fix' into 'test'

fix

See merge request alpha/sun!364
parents fee2da8a 462e81af
...@@ -38,6 +38,7 @@ class TopicListView(APIView): ...@@ -38,6 +38,7 @@ class TopicListView(APIView):
if user_type: if user_type:
if int(user_type) == USER_EXTRA_TYPE.COMMON: if int(user_type) == USER_EXTRA_TYPE.COMMON:
filters["is_shadow"] = 0 filters["is_shadow"] = 0
filters["is_edit"] = 0
elif int(user_type) == USER_EXTRA_TYPE.SHADOW: elif int(user_type) == USER_EXTRA_TYPE.SHADOW:
filters["is_shadow"] = 1 filters["is_shadow"] = 1
elif int(user_type) == USER_EXTRA_TYPE.KOL: elif int(user_type) == USER_EXTRA_TYPE.KOL:
......
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