作者 vanwhebin

update

不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
... ... @@ -4,9 +4,8 @@
from django.urls import path, include
app_name = "project"
app_name = "sku"
urlpatterns = [
path('', include(router.urls)),
]
... ...
... ... @@ -87,7 +87,7 @@ class WxUserlogin(APIView):
def post(self, request, *args, **kwargs):
code = request.data.get('code', '').strip()
app_id = kwargs['state'].strip()
app_id = request.data.get('state', '').strip()
if not code:
raise PermissionDenied
else:
... ...