Ver código fonte

字典转换规避uri关键词

rongxin_prod
张泽亮 2 anos atrás
pai
commit
d9c3335042
3 arquivos alterados com 4 adições e 4 exclusões
  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 Ver arquivo

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


+ 2
- 2
src/api/system/config.js Ver arquivo

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

+ 1
- 1
src/utils/data.js Ver arquivo

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

Carregando…
Cancelar
Salvar