摘要:
后端发送数据结构设计 数据结构 代码 异常数据处理 异常:自带的异常 自定义异常 自定义异常代码: 处理方式: 代码: 正常数据处理 res.data = 要发送的数据 阅读全文
摘要:
流程步骤 文档:https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140842 阅读全文
摘要:
实现流程 实现代码 from rest_framework.views import APIView from rest_framework.viewsets import ViewSetMixin,ModelViewSet from api.utils.auth_class import User 阅读全文