settings中增加JZBHTTP_CACHE = 'django.core.cache' 导入包 from jzbhttp.httpservice import HttpService HttpService().get(url="")