[后端]修改后端公告GET接口,增加返回公告总条数,总页数

This commit is contained in:
sxw committed 2015-08-08 08:41:20 +08:00
1 parent a03b8af79d
commit fc57dcbde4
3 files changed
+13 -5

No files matched your search

+1 -1
View File
@@ -11,4 +11,4 @@ class AdminTemplateView(APIView):
try:
return HttpResponse(open(path).read(), content_type="text/html")
except IOError:
return HttpResponse(u"模板不存在", content_type="text/html")
raise Http404