Newer
Older
HuangJiPC / src / apiData / geoServer.js
@zhangdeliang zhangdeliang on 21 Jun 921 bytes update
/**
 * @param eventName 函数名称,必须唯一 *必填项
 * @param url 请求地址 *必填项
 * @param method 请求请求方式(默认为get)
 * @param type 传参方式 1为params 默认为json
 * @param remark 备注
 * @param urlParam //url传参 
 * @param isUrl //只是url地址
 * @param 特别注意:导出方式只能使用es5语法,切记
 */

const BASE_URL = "http://server1.wh-nf.cn:8023";

const apiList = [{
    eventName: "jkqWms",
    url: "/geoserver/xiangyang/wms",
    remark: "获取地图信息",
    urlParam: "?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=xiangyang%3Axynewwsj&LAYERS=xiangyang%3Axynewwsj&TILED=false&INFO_FORMAT=application%2Fjson&I=90&J=197&WIDTH=256&HEIGHT=256&CRS=EPSG%3A4326&STYLES=&BBOX=32.0361328125%2C112.12646484375%2C32.05810546875%2C112.1484375"
}];

module.exports = {
    BASE_URL,
    apiList,
};