Commit 78a3a205 authored by shen_yan_pu's avatar shen_yan_pu

修改

parent 98b4034e
......@@ -37,7 +37,7 @@ export function editBanner(data) {
// 查询角色列表
export function listRole(query) {
return request({
url: '/authority/system/role/list',
url: '/system/role/list',
method: 'get',
params: query
})
......
......@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询参数列表
export function listConfig(query) {
return request({
url: '/authority/system/config/list',
url: '/system/config/list',
method: 'get',
params: query
})
......@@ -20,7 +20,7 @@ export function getConfig(configId) {
// 根据参数键名查询参数值
export function getConfigKey(configKey) {
return request({
url: '/authority/system/config/configKey/' + configKey,
// url: '/system/config/configKey/' + configKey,
method: 'get'
})
}
......@@ -28,7 +28,7 @@ export function getConfigKey(configKey) {
// 新增参数配置
export function addConfig(data) {
return request({
url: '/authority/system/config',
url: '/system/config',
method: 'post',
data: data
})
......@@ -37,7 +37,7 @@ export function addConfig(data) {
// 修改参数配置
export function updateConfig(data) {
return request({
url: '/authority/system/config',
url: '/system/config',
method: 'put',
data: data
})
......@@ -46,7 +46,7 @@ export function updateConfig(data) {
// 删除参数配置
export function delConfig(configId) {
return request({
url: '/authority/system/config/' + configId,
url: '/system/config/' + configId,
method: 'delete'
})
}
......@@ -54,7 +54,7 @@ export function delConfig(configId) {
// 清理参数缓存
export function clearCache() {
return request({
url: '/authority/system/config/clearCache',
url: '/system/config/clearCache',
method: 'delete'
})
}
......@@ -62,7 +62,7 @@ export function clearCache() {
// 导出参数
export function exportConfig(query) {
return request({
url: '/authority/system/config/export',
url: '/system/config/export',
method: 'get',
params: query
})
......
......@@ -31,17 +31,21 @@ export function addUser(data) {
return request({
url: '/system/user/add',
method: 'post',
data: data
data
})
}
// 修改用户
export function updateUser(data) {
const businessId = data.businessId
data = Qs.stringify(data)
return request({
url: '/system/user/update/' + businessId,
method: 'put',
data: data
data: data,
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
}
})
}
......
This diff is collapsed.
......@@ -58,6 +58,7 @@ export default {
return {
form: {
name: '',
idNumber: '',
groupId: '',
type: '',
level: '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment