接口地址更改-dic改为dictTree

This commit is contained in:
zhujiyan
2024-08-09 15:16:20 +08:00
parent a7fa394f47
commit aa38328a75
2 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ export const dicDelete = (id: string) => {
let form = new FormData() let form = new FormData()
form.append('id', id) form.append('id', id)
return createAxios({ return createAxios({
url: '/system-boot/dic/delete', url: '/system-boot/dictTree//delete',
method: 'DELETE', method: 'DELETE',
headers: { headers: {
'Content-Type': 'application/x-www-form-urlencoded' 'Content-Type': 'application/x-www-form-urlencoded'
@@ -15,7 +15,7 @@ export const dicDelete = (id: string) => {
export function dicAdd(data: any) { export function dicAdd(data: any) {
return createAxios({ return createAxios({
url: '/system-boot/dic/add', url: '/system-boot/dictTree//add',
method: 'post', method: 'post',
data: data data: data
}) })
@@ -23,7 +23,7 @@ export function dicAdd(data: any) {
export function dicUpdate(data: any) { export function dicUpdate(data: any) {
return createAxios({ return createAxios({
url: '/system-boot/dic/update', url: '/system-boot/dictTree//update',
method: 'put', method: 'put',
data: data data: data
}) })

View File

@@ -80,7 +80,7 @@ export const addDictTree = (data: any) => {
// 编辑统计指标配置项 // 编辑统计指标配置项
export const updateStatistical = (data: any) => { export const updateStatistical = (data: any) => {
return createAxios({ return createAxios({
url: '/system-boot/dic/update', url: '/system-boot/dictTree//update',
method: 'PUT', method: 'PUT',
data: data data: data
}) })
@@ -88,7 +88,7 @@ export const updateStatistical = (data: any) => {
// 单位绑定 // 单位绑定
export function codeDicTree(data: any) { export function codeDicTree(data: any) {
return createAxios({ return createAxios({
url: '/system-boot/dic/codeDicTree', url: '/system-boot/dictTree//codeDicTree',
method: 'get', method: 'get',
params: data params: data
}) })