派生自 wuyushui/SewerAndRainNetwork

wangrui
2020-12-14 0d7669f8bf28300362fc0dacd5c794ff823d0297
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { $HOST } from './host'
 
/**
 * 框架用api,不用care,打包生产环境的场景自动去除
 *
 * API命名规则
 * {模块名}_{请求方法}_{具体业务功能描述}_{结构描述}
 *
 * {模块名}:
 *  例如:emdm emew
 * {请求方法}:
 *  1.一个api对应一个请求方法
 *    例如 get post delete put
 *  2.一个api对应多个请求方法 // todo 如何能看出是什么请求
 *    ① get post delete put =》 all
 *    ② post delete put =》 pdp
 *    ③ post delete=》 pd
 *    ④ delete put =》dp
 *    ⑤ get post delete => gpd
 *
 * {具体业务功能描述}:
 *
 * {结构描述}:
 *  返回多条数据用 list
 *  返回一条数据用 detail 或是 one
 *
 */
 
// map地图
export const MAP_GET_TRANSPORTATION = $HOST + '/hcstms/client/hws-statistics/transportation/getBySector'
export const MAP_GET_TRANSFER_TREND = $HOST + '/hcstms/client/hws-statistics/trend/groupBySector'
export const MAP_GET_KIND = $HOST + '/hcstms/client/hws-statistics/stats/groupBySector?orgSector='
export const MAP_GET_SGIS = $HOST + '/hcstms/data/hws-sgis/groupByOrgCode'