修改状态码status_code=200
renderer_context['response'].status_code=200
res = {
'code':code,
'msg':msg,
'data': data
}
return super().render(res)
renderer_context['response'].status_code=200
res = {
'code':code,
'msg':msg,
'data': data
}
return super().render(res)