package com.zcloud.service.dw.impl; import com.zcloud.service.dw.DwService; import com.zcloud.service.dw.dto.*; import com.zcloud.util.HttpUtil; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; @Service public class DwServiceImpl implements DwService { @Value("dw.url") private String url; @Override public Object getMapList(MapGet param) throws Exception { return HttpUtil.post(url + "dw/getMapList", param); } @Override public Object saveOrUpdateMap(MapInfo param) throws Exception { return HttpUtil.post(url + "dw/saveOrUpdateMap", param); } @Override public Object getTrace(TraceGet param) throws Exception { return HttpUtil.post(url + "dw/getTrace", param); } @Override public Object getAlarmList(AlarmGet param) throws Exception { return HttpUtil.post(url + "dw/getAlarmList", param); } @Override public Object manageAlarm(AlarmManageDto param) throws Exception { return HttpUtil.post(url + "dw/manageAlarm", param); } }