{
"code": 0,
"msg": "OK",
"data": {
"total": 42,
"per_page": 4,
"current_page": 1,
"last_page": 11,
"data": [
{
"id": 42,
"name": "更新接口",
"code": "60e3b3d095ce562db5c74932bff4569a",
"description": "",
"method": "POST",
"route": "/admin/v1/permission/update",
"func": "Update",
"func_path": "github.com/wannanbigpig/gin-layout/internal/controller/admin_v1.ApiController.Update-fm",
"is_auth": 1,
"is_effective": 1,
"is_auth_name": "是",
"is_effective_name": "是",
"sort": 100
},
{
"id": 41,
"name": "上传文件",
"code": "af95d3e4d2d7cfd801b1bbc60c0b5fb2",
"description": "",
"method": "POST",
"route": "/admin/v1/common/upload",
"func": "Upload",
"func_path": "github.com/wannanbigpig/gin-layout/internal/controller/admin_v1.CommonController.Upload-fm",
"is_auth": 0,
"is_effective": 1,
"is_auth_name": "否",
"is_effective_name": "是",
"sort": 100
},
{
"id": 40,
"name": "登录",
"code": "547411b5654ec37a15d9cf4c16c3d054",
"description": "",
"method": "POST",
"route": "/admin/v1/login",
"func": "Login",
"func_path": "github.com/wannanbigpig/gin-layout/internal/controller/admin_v1.LoginController.Login-fm",
"is_auth": 0,
"is_effective": 1,
"is_auth_name": "否",
"is_effective_name": "是",
"sort": 100
},
{
"id": 39,
"name": "删除角色",
"code": "5bf432f5fb79b62a4031494cb3480546",
"description": "",
"method": "POST",
"route": "/admin/v1/role/delete",
"func": "Delete",
"func_path": "github.com/wannanbigpig/gin-layout/internal/controller/admin_v1.RoleController.Delete-fm",
"is_auth": 1,
"is_effective": 1,
"is_auth_name": "是",
"is_effective_name": "是",
"sort": 100
}
]
},
"cost": "7.794291ms",
"request_id": "75616f8c-e78b-4973-9f36-6c1b8b9f5f26"
}