Commit 133d6c9a authored by yangchenglin's avatar yangchenglin

fix

parent 77bab0cc
...@@ -86,7 +86,7 @@ class PictorialActivityInfoView(APIView): ...@@ -86,7 +86,7 @@ class PictorialActivityInfoView(APIView):
if not data: if not data:
return r'获取失败' return r'获取失败'
return data return data.get("data")
class PictorialActivityView(APIView): class PictorialActivityView(APIView):
...@@ -101,7 +101,7 @@ class PictorialActivityView(APIView): ...@@ -101,7 +101,7 @@ class PictorialActivityView(APIView):
if not data: if not data:
return r'获取失败' return r'获取失败'
return data return data.get("data")
def post(self, request): def post(self, request):
......
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