第3天赋权限

day-04
Saisai Liu 2024-02-26 09:47:48 +08:00
parent 2a38cf0b87
commit 99c85d93ae
2 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
import request from '@/utils/request' import request from '@/utils/request'
// 查询【请填写功能名称】列表 // 查询列表
export function listInfo(query) { export function listInfo(query) {
return request({ return request({
url: '/system/info/list', url: '/system/info/list',
@ -9,7 +9,7 @@ export function listInfo(query) {
}) })
} }
// 查询【请填写功能名称】详细 // 查询详细
export function getInfo(id) { export function getInfo(id) {
return request({ return request({
url: '/system/info/' + id, url: '/system/info/' + id,
@ -17,7 +17,7 @@ export function getInfo(id) {
}) })
} }
// 新增【请填写功能名称】 // 新增
export function addInfo(data) { export function addInfo(data) {
return request({ return request({
url: '/system/info', url: '/system/info',
@ -26,7 +26,7 @@ export function addInfo(data) {
}) })
} }
// 修改【请填写功能名称】 // 修改
export function updateInfo(data) { export function updateInfo(data) {
return request({ return request({
url: '/system/info', url: '/system/info',
@ -35,7 +35,7 @@ export function updateInfo(data) {
}) })
} }
// 删除【请填写功能名称】 // 删除
export function delInfo(id) { export function delInfo(id) {
return request({ return request({
url: '/system/info/' + id, url: '/system/info/' + id,

View File

@ -1,6 +1,6 @@
import request from '@/utils/request' import request from '@/utils/request'
// 查询【请填写功能名称】列表 // 查询列表
export function listInfo(query) { export function listInfo(query) {
return request({ return request({
url: '/system/info/list', url: '/system/info/list',
@ -9,7 +9,7 @@ export function listInfo(query) {
}) })
} }
// 查询【请填写功能名称】详细 // 查询详细
export function getInfo(id) { export function getInfo(id) {
return request({ return request({
url: '/system/info/' + id, url: '/system/info/' + id,
@ -17,7 +17,7 @@ export function getInfo(id) {
}) })
} }
// 新增【请填写功能名称】 // 新增
export function addInfo(data) { export function addInfo(data) {
return request({ return request({
url: '/system/info', url: '/system/info',
@ -26,7 +26,7 @@ export function addInfo(data) {
}) })
} }
// 修改【请填写功能名称】 // 修改
export function updateInfo(data) { export function updateInfo(data) {
return request({ return request({
url: '/system/info', url: '/system/info',
@ -35,7 +35,7 @@ export function updateInfo(data) {
}) })
} }
// 删除【请填写功能名称】 // 删除
export function delInfo(id) { export function delInfo(id) {
return request({ return request({
url: '/system/info/' + id, url: '/system/info/' + id,