Przeglądaj źródła

字典转换规避uri关键词

rongxin_prod
张泽亮 2 lat temu
rodzic
commit
d9c3335042
3 zmienionych plików z 4 dodań i 4 usunięć
  1. +1
    -1
      src/api/homesteadSurvey/index.js
  2. +2
    -2
      src/api/system/config.js
  3. +1
    -1
      src/utils/data.js

+ 1
- 1
src/api/homesteadSurvey/index.js Wyświetl plik

@@ -70,7 +70,7 @@ export function delTask(id) {
// 查询附件上传配置列表
export function sysConfig(query) {
return request({
url: '/system/config/list',
url: '/open/typz/list',
method: 'get',
params: query
})


+ 2
- 2
src/api/system/config.js Wyświetl plik

@@ -3,7 +3,7 @@ import request from '@/utils/request'
//查询geoserver服务地址
export function getGeoServerConfigKey() {
return request({
url: '/system/config/configKey/'+"system.geoServer.url",
url: '/open/typz/configKey/'+"system.geoServer.url",
method: 'get'
})
}
@@ -11,7 +11,7 @@ export function getGeoServerConfigKey() {
// 附件地址前缀
export function getSystemAttachmentUrl() {
return request({
url: '/system/config/configKey/system.attachment.url',
url: '/open/typz/configKey/system.attachment.url',
method: 'get'
})
}

+ 1
- 1
src/utils/data.js Wyświetl plik

@@ -18,7 +18,7 @@ export function houseGetDicts(dictType) {
// 根据参数键名查询参数值
export function getConfigKey(configKey) {
return request({
url: '/system/config/configKey/' + configKey,
url: '/open/typz/configKey/' + configKey,
method: 'get'
})
}

Ładowanie…
Anuluj
Zapisz