提供了前端分页mixin解决方案

This commit is contained in:
pixel
2019-09-21 17:38:51 +08:00
parent bbb6e00a95
commit 63200f5497
12 changed files with 198 additions and 62 deletions

View File

@@ -0,0 +1,20 @@
import service from '@/utils/request'
// @Tags api
// @Summary 分页获取角色列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body modelInterface.PageInfo true "分页获取用户列表"
// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /api/getApiList [post]
// {
// page int
// pageSize int
// }
export const getApiList = (data) => {
return service({
url: "/api/getApiList",
method: 'post',
data
})
}