摘要: 1 a. 认证 - 仅使用: from django.views import View from rest_framework.views import APIView from rest_framework.authentication import BasicAuthentication ... 阅读全文
posted @ 2019-01-14 16:35 Sky__liu 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1 restful 规范(建议) 基于FbV def order(request): if request.method=="GET": return HttpResponse('得到订单') if request.method=="POST": return ... 阅读全文
posted @ 2019-01-14 16:34 Sky__liu 阅读(824) 评论(0) 推荐(0) 编辑