正在显示
6 个修改的文件
包含
2 行增加
和
3 行删除
sku/__pycache__/__init__.cpython-38.pyc
0 → 100644
不能预览此文件类型
sku/__pycache__/admin.cpython-38.pyc
0 → 100644
不能预览此文件类型
sku/__pycache__/models.cpython-38.pyc
0 → 100644
不能预览此文件类型
不能预览此文件类型
@@ -87,7 +87,7 @@ class WxUserlogin(APIView): | @@ -87,7 +87,7 @@ class WxUserlogin(APIView): | ||
87 | 87 | ||
88 | def post(self, request, *args, **kwargs): | 88 | def post(self, request, *args, **kwargs): |
89 | code = request.data.get('code', '').strip() | 89 | code = request.data.get('code', '').strip() |
90 | - app_id = kwargs['state'].strip() | 90 | + app_id = request.data.get('state', '').strip() |
91 | if not code: | 91 | if not code: |
92 | raise PermissionDenied | 92 | raise PermissionDenied |
93 | else: | 93 | else: |
-
请 注册 或 登录 后发表评论