This commit is contained in:
@@ -86,6 +86,7 @@ public class HandlerConfig {
|
|||||||
StatisticTokenHandler statisticTokenHandler,
|
StatisticTokenHandler statisticTokenHandler,
|
||||||
StatisticIncomeHandler statisticIncomeHandler,
|
StatisticIncomeHandler statisticIncomeHandler,
|
||||||
MonitoringStatisticHandler monitoringStatisticHandler,
|
MonitoringStatisticHandler monitoringStatisticHandler,
|
||||||
|
FileEntityHandler file,
|
||||||
UserInfoHandler userInfoHandler
|
UserInfoHandler userInfoHandler
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@@ -101,6 +102,7 @@ public class HandlerConfig {
|
|||||||
map.put(30026, statisticIncomeHandler);
|
map.put(30026, statisticIncomeHandler);
|
||||||
map.put(30027, monitoringStatisticHandler);
|
map.put(30027, monitoringStatisticHandler);
|
||||||
map.put(30029, statisticComplaintHandler);
|
map.put(30029, statisticComplaintHandler);
|
||||||
|
map.put(20005, file);
|
||||||
|
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
@@ -108,12 +110,14 @@ public class HandlerConfig {
|
|||||||
@Bean
|
@Bean
|
||||||
public Map<Integer, RequestHandler> internalControlHandler(
|
public Map<Integer, RequestHandler> internalControlHandler(
|
||||||
ControlComplaintHandler controlComplaintHandler,
|
ControlComplaintHandler controlComplaintHandler,
|
||||||
UserInfoHandler userInfoHandler
|
UserInfoHandler userInfoHandler,
|
||||||
|
FileEntityHandler file
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
Map<Integer, RequestHandler> map = new HashMap<>();
|
Map<Integer, RequestHandler> map = new HashMap<>();
|
||||||
map.put(30014, userInfoHandler);
|
map.put(30014, userInfoHandler);
|
||||||
map.put(30030, controlComplaintHandler);
|
map.put(30030, controlComplaintHandler);
|
||||||
|
map.put(20005, file);
|
||||||
|
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user