django如何自定义 `Response` 对象来包裹返回的数据 2025-7-2 方法一:重写 list 和 retrieve 方法在视图类中直接修改返回格式:from rest_framework.response...