Newer
Older
HuangJiPC / src / apiData / hongSuAPI.js
@zhangdeliang zhangdeliang on 21 Jun 1 KB 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 = "/hongSuAPI";

const apiList = [{
    eventName: "gateInfoTManageFindAll",
    url: "/gateInfoTManage/findAll",
    method: "GET",
    remark: "闸门信息表",
}, {
    eventName: "monitoringStationManageFindAll",
    url: "/monitoringStationManage/findAll",
    method: "GET",
    remark: "测站信息表",
}, {
    eventName: "pumpStationManageFindAll",
    url: "/pumpStationManage/findAll",
    method: "GET",
    remark: "泵站信息",
}, {
    eventName: "storagePondManageFindAll",
    url: "/storagePondManage/findAll",
    method: "GET",
    remark: "调蓄池信息表",
}, {
    eventName: "WwtpManagerFindAll",
    url: "/WwtpManager/findAll",
    method: "GET",
    remark: "污水处理相关设施表",
}];

module.exports = {
    BASE_URL,
    apiList,
};