摘要: Swagger提供项目的API的Restful API文档的注解 @ApiOperation(value = “接口说明”, httpMethod = “接口请求方式”, response = “接口返回参数类型”, notes = “接口发布说明”;其他参数可参考源码; @ApiParam(req 阅读全文
posted @ 2018-06-27 14:51 suilin1 阅读(175) 评论(0) 推荐(0)
摘要: paginator: from django.core.paginator import Paginator,EmptyPage,PageNotAnInteger #引入paginator以及部分错误 p=paginator(Arraylist,每页个数) p.num_pages#(页码数) p.c 阅读全文
posted @ 2017-08-18 23:13 suilin1 阅读(78) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/shanliangliuxing/article/details/17616781 阅读全文
posted @ 2017-08-18 11:14 suilin1 阅读(143) 评论(0) 推荐(0)