Commit be60d3fd authored by 王浩's avatar 王浩

Merge branch 'ycl/fix' into 'master'

fix

See merge request alpha/sun!312
parents 547da9aa ad085e49
......@@ -98,7 +98,7 @@ class PictorialUserList(APIView):
id_ = request.GET.get('pictorial_id')
offset = int(request.GET.get('page', 0))
count = int(request.GET.get('limit', 10))
filters = {'pictorial_id': id_}
filters = {'pictorial_id': id_, 'is_online': True}
try:
data = self.rpc['venus/sun/pictorial/user/list'](filters=filters, offset=(offset - 1) * count, count=count).unwrap()
except Exception as e:
......
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