You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
255 B

from rest_framework.views import APIView
from rest_framework.response import Response
class WeixinLogin(APIView):
def get(self, request, format=None):
"""
提供get请求
"""
return Response({"data": "Hello World!"})