人员定位新模块

liujun-2024-05-23-接口漏洞修复
liujun 2024-04-13 10:27:30 +08:00
parent ba98786e94
commit 7136bb9a37
3 changed files with 11 additions and 0 deletions

View File

@ -51,4 +51,9 @@ public class DwController extends BaseController {
AlarmManageDto mapGet = JSONObject.parseObject(JSONObject.toJSONString(pd), AlarmManageDto.class);
return dwService.manageAlarm(mapGet);
}
@RequestMapping(value = "getDictionary")
public Object getDictionary() throws Exception {
return dwService.getDictionary();
}
}

View File

@ -9,4 +9,5 @@ public interface DwService {
Object getTrace(TraceGet param) throws Exception;
Object getAlarmList(AlarmGet param) throws Exception;
Object manageAlarm(AlarmManageDto param) throws Exception;
Object getDictionary() throws Exception;
}

View File

@ -37,4 +37,9 @@ public class DwServiceImpl implements DwService {
public Object manageAlarm(AlarmManageDto param) throws Exception {
return HttpUtil.post(url + "dw/manageAlarm", param);
}
@Override
public Object getDictionary() throws Exception {
return HttpUtil.post(url + "dw/getDictionary", "");
}
}