作者 vanwhebin

update

... ... @@ -87,7 +87,7 @@ class WxUserlogin(APIView):
def post(self, request, *args, **kwargs):
code = request.data.get('code', '').strip()
app_id = request.data.get('state', '').strip()
app_id = kwargs['state'].strip()
if not code:
raise PermissionDenied
else:
... ...