修改python接口返回给前端的格式封装:
return HttpResponse(
return
HttpResponse(
json.dumps(values,ensure_ascii=False),//返回数据
json.dumps(values,ensure_ascii
=
False
),//返回数据
content_type="application/json;charset=utf-8"
content_type
"application/json;charset=utf-8"
)