diff --git a/server/admin/service/system/auth_post.go b/server/admin/service/system/auth_post.go index 54a50ce84dbd7e80f38741807a7f561029cefd0c..23f80675fbbe6b508bab6a7e6f6932384c2bcc68 100644 --- a/server/admin/service/system/auth_post.go +++ b/server/admin/service/system/auth_post.go @@ -28,8 +28,6 @@ func (postSrv systemAuthPostService) All() []resp.SystemAuthPostResp { //List 岗位列表 func (postSrv systemAuthPostService) List(page request.PageReq, listReq req.SystemAuthPostListReq) response.PageResp { // 分页信息 - var res response.PageResp - response.Copy(&res, page) limit := page.PageSize offset := page.PageSize * (page.PageNo - 1) // 查询