Blame view

src/api/api.js 2.4 KB
c9493378   liuqimichale   api 接口封装
1
  import { get, post} from './httpRequest'
e52cf1d6   liuqimichale   添加丹阳
2
  const baseWX = 'http://bcp.service.renniting.cn/'  //无锡
2a09d1a4   liuqimichale   添加宜春 天水 宣化
3
4
5
6
  // const baseDY = 'http://bcp.service.renniting.cn/'  //丹阳
  
  const baseDY = 'https://bcp.huangshiparking.com/'  //黄石
  
c9493378   liuqimichale   api 接口封装
7
  //....用户数
e52cf1d6   liuqimichale   添加丹阳
8
9
  export const memberAddress = p => post(baseWX+'urban/intelligence/appuser/queryUserPersonStatistic',p)
  export const memberAddressDY = p => post(baseDY+'urban/intelligence/appuser/queryUserPersonStatistic',p)
c9493378   liuqimichale   api 接口封装
10
  //....收费员
e52cf1d6   liuqimichale   添加丹阳
11
12
  export const tollmanAddress = p => post(baseWX+'urban/intelligence/employee/queryEmployeeStaByOrgIds',p)
  export const tollmanAddressDY = p => post(baseDY+'urban/intelligence/employee/queryEmployeeStaByOrgIds',p)
8dcd7f64   liuqimichale   api 接口封装 news
13
  //....收入
e52cf1d6   liuqimichale   添加丹阳
14
15
  export const incomeAddress = p => post(baseWX+'urban/intelligence/income/queryIncomeStaByOrgIds',p)
  export const incomeAddressDY = p => post(baseDY+'urban/intelligence/income/queryIncomeStaByOrgIds',p)
8dcd7f64   liuqimichale   api 接口封装 news
16
  //....泊位
e52cf1d6   liuqimichale   添加丹阳
17
18
  export const berthAddress = p => post(baseWX+'urban/intelligence/berth/queryBerthStatisticByOrgIds',p)
  export const berthAddressDY = p => post(baseDY+'urban/intelligence/berth/queryBerthStatisticByOrgIds',p)
848073f1   liuqimichale   api 接口封装 收入
19
  //....设备
e52cf1d6   liuqimichale   添加丹阳
20
21
  export const deviceAddress = p => post(baseWX+'urban/intelligence/device/queryDeviceStatistic',p)
  export const deviceAddressDY = p => post(baseDY+'urban/intelligence/device/queryDeviceStatistic',p)
8dcd7f64   liuqimichale   api 接口封装 news
22
  //....消息
e52cf1d6   liuqimichale   添加丹阳
23
24
  export const msgAddress = p => post(baseWX+'urban/intelligence/orderPark/queryLastOrderPark',p)
  export const msgAddressDY = p => post(baseDY+'urban/intelligence/orderPark/queryLastOrderPark',p)
1eee9ca9   liuqimichale   api 接口封装 地图
25
  //....今日车流量
e52cf1d6   liuqimichale   添加丹阳
26
27
  export const dayAddress = p => post(baseWX+'urban/intelligence/orderPark/queryOrderParkNumForToday',p)
  export const dayAddressDY = p => post(baseDY+'urban/intelligence/orderPark/queryOrderParkNumForToday',p)
1eee9ca9   liuqimichale   api 接口封装 地图
28
  //....周出场
e52cf1d6   liuqimichale   添加丹阳
29
30
  export const weekAddress = p => post(baseWX+'urban/intelligence/orderPark/queryOrderParkNumForLastWeek',p)
  export const weekAddressDY = p => post(baseDY+'urban/intelligence/orderPark/queryOrderParkNumForLastWeek',p)
1eee9ca9   liuqimichale   api 接口封装 地图
31
  //....停车场总数
3bafd7ad   liuqimichale   地图点击事件
32
33
  export const parkAddress = p => post(baseWX+'urban/intelligence/park/queryParkNumInfoStatisticByOrgIds',p)
  export const parkAddressDY = p => post(baseDY+'urban/intelligence/park/queryParkNumInfoStatisticByOrgIds',p)
1eee9ca9   liuqimichale   api 接口封装 地图
34
  //....地图
e52cf1d6   liuqimichale   添加丹阳
35
36
  export const baiduMapAddress = p => post(baseWX+'urban/intelligence/berth/queryBerthStatisticForOrgId',p)
  export const baiduMapAddressDY = p => post(baseDY+'urban/intelligence/berth/queryBerthStatisticForOrgId',p)