mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-27 20:21:56 +08:00
小程序接口迁移到ry
This commit is contained in:
44
ruoyi-ui/src/api/system/area.js
Normal file
44
ruoyi-ui/src/api/system/area.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询【请填写功能名称】列表
|
||||
export function listArea(query) {
|
||||
return request({
|
||||
url: '/system/area/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询【请填写功能名称】详细
|
||||
export function getArea(id) {
|
||||
return request({
|
||||
url: '/system/area/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增【请填写功能名称】
|
||||
export function addArea(data) {
|
||||
return request({
|
||||
url: '/system/area',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改【请填写功能名称】
|
||||
export function updateArea(data) {
|
||||
return request({
|
||||
url: '/system/area',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除【请填写功能名称】
|
||||
export function delArea(id) {
|
||||
return request({
|
||||
url: '/system/area/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
44
ruoyi-ui/src/api/system/attachment.js
Normal file
44
ruoyi-ui/src/api/system/attachment.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询【请填写功能名称】列表
|
||||
export function listAttachment(query) {
|
||||
return request({
|
||||
url: '/system/attachment/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询【请填写功能名称】详细
|
||||
export function getAttachment(id) {
|
||||
return request({
|
||||
url: '/system/attachment/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增【请填写功能名称】
|
||||
export function addAttachment(data) {
|
||||
return request({
|
||||
url: '/system/attachment',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改【请填写功能名称】
|
||||
export function updateAttachment(data) {
|
||||
return request({
|
||||
url: '/system/attachment',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除【请填写功能名称】
|
||||
export function delAttachment(id) {
|
||||
return request({
|
||||
url: '/system/attachment/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
44
ruoyi-ui/src/api/system/detail.js
Normal file
44
ruoyi-ui/src/api/system/detail.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询【请填写功能名称】列表
|
||||
export function listDetail(query) {
|
||||
return request({
|
||||
url: '/system/detail/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询【请填写功能名称】详细
|
||||
export function getDetail(id) {
|
||||
return request({
|
||||
url: '/system/detail/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增【请填写功能名称】
|
||||
export function addDetail(data) {
|
||||
return request({
|
||||
url: '/system/detail',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改【请填写功能名称】
|
||||
export function updateDetail(data) {
|
||||
return request({
|
||||
url: '/system/detail',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除【请填写功能名称】
|
||||
export function delDetail(id) {
|
||||
return request({
|
||||
url: '/system/detail/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
44
ruoyi-ui/src/api/system/dictionary.js
Normal file
44
ruoyi-ui/src/api/system/dictionary.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询【请填写功能名称】列表
|
||||
export function listDictionary(query) {
|
||||
return request({
|
||||
url: '/system/dictionary/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询【请填写功能名称】详细
|
||||
export function getDictionary(id) {
|
||||
return request({
|
||||
url: '/system/dictionary/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增【请填写功能名称】
|
||||
export function addDictionary(data) {
|
||||
return request({
|
||||
url: '/system/dictionary',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改【请填写功能名称】
|
||||
export function updateDictionary(data) {
|
||||
return request({
|
||||
url: '/system/dictionary',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除【请填写功能名称】
|
||||
export function delDictionary(id) {
|
||||
return request({
|
||||
url: '/system/dictionary/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
44
ruoyi-ui/src/api/system/featureLabel.js
Normal file
44
ruoyi-ui/src/api/system/featureLabel.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询球馆特征列表
|
||||
export function listFeatureLabel(query) {
|
||||
return request({
|
||||
url: '/system/featureLabel/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询球馆特征详细
|
||||
export function getFeatureLabel(id) {
|
||||
return request({
|
||||
url: '/system/featureLabel/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增球馆特征
|
||||
export function addFeatureLabel(data) {
|
||||
return request({
|
||||
url: '/system/featureLabel',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改球馆特征
|
||||
export function updateFeatureLabel(data) {
|
||||
return request({
|
||||
url: '/system/featureLabel',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除球馆特征
|
||||
export function delFeatureLabel(id) {
|
||||
return request({
|
||||
url: '/system/featureLabel/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
44
ruoyi-ui/src/api/system/info.js
Normal file
44
ruoyi-ui/src/api/system/info.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询【请填写功能名称】列表
|
||||
export function listInfo(query) {
|
||||
return request({
|
||||
url: '/system/info/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询【请填写功能名称】详细
|
||||
export function getInfo(id) {
|
||||
return request({
|
||||
url: '/system/info/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增【请填写功能名称】
|
||||
export function addInfo(data) {
|
||||
return request({
|
||||
url: '/system/info',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改【请填写功能名称】
|
||||
export function updateInfo(data) {
|
||||
return request({
|
||||
url: '/system/info',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除【请填写功能名称】
|
||||
export function delInfo(id) {
|
||||
return request({
|
||||
url: '/system/info/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
44
ruoyi-ui/src/api/system/label.js
Normal file
44
ruoyi-ui/src/api/system/label.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询【请填写功能名称】列表
|
||||
export function listLabel(query) {
|
||||
return request({
|
||||
url: '/system/label/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询【请填写功能名称】详细
|
||||
export function getLabel(id) {
|
||||
return request({
|
||||
url: '/system/label/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增【请填写功能名称】
|
||||
export function addLabel(data) {
|
||||
return request({
|
||||
url: '/system/label',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改【请填写功能名称】
|
||||
export function updateLabel(data) {
|
||||
return request({
|
||||
url: '/system/label',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除【请填写功能名称】
|
||||
export function delLabel(id) {
|
||||
return request({
|
||||
url: '/system/label/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
44
ruoyi-ui/src/api/system/message.js
Normal file
44
ruoyi-ui/src/api/system/message.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询【请填写功能名称】列表
|
||||
export function listMessage(query) {
|
||||
return request({
|
||||
url: '/system/message/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询【请填写功能名称】详细
|
||||
export function getMessage(id) {
|
||||
return request({
|
||||
url: '/system/message/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增【请填写功能名称】
|
||||
export function addMessage(data) {
|
||||
return request({
|
||||
url: '/system/message',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改【请填写功能名称】
|
||||
export function updateMessage(data) {
|
||||
return request({
|
||||
url: '/system/message',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除【请填写功能名称】
|
||||
export function delMessage(id) {
|
||||
return request({
|
||||
url: '/system/message/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
44
ruoyi-ui/src/api/system/rel.js
Normal file
44
ruoyi-ui/src/api/system/rel.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询【请填写功能名称】列表
|
||||
export function listRel(query) {
|
||||
return request({
|
||||
url: '/system/rel/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询【请填写功能名称】详细
|
||||
export function getRel(id) {
|
||||
return request({
|
||||
url: '/system/rel/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增【请填写功能名称】
|
||||
export function addRel(data) {
|
||||
return request({
|
||||
url: '/system/rel',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改【请填写功能名称】
|
||||
export function updateRel(data) {
|
||||
return request({
|
||||
url: '/system/rel',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除【请填写功能名称】
|
||||
export function delRel(id) {
|
||||
return request({
|
||||
url: '/system/rel/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
44
ruoyi-ui/src/api/system/wechat.js
Normal file
44
ruoyi-ui/src/api/system/wechat.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询【请填写功能名称】列表
|
||||
export function listWechat(query) {
|
||||
return request({
|
||||
url: '/system/wechat/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询【请填写功能名称】详细
|
||||
export function getWechat(id) {
|
||||
return request({
|
||||
url: '/system/wechat/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增【请填写功能名称】
|
||||
export function addWechat(data) {
|
||||
return request({
|
||||
url: '/system/wechat',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改【请填写功能名称】
|
||||
export function updateWechat(data) {
|
||||
return request({
|
||||
url: '/system/wechat',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除【请填写功能名称】
|
||||
export function delWechat(id) {
|
||||
return request({
|
||||
url: '/system/wechat/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user