@@ -44,7 +44,6 @@ LogoutRequestHandler logoutHandler
|
|||||||
TariffInfoHandler tariffInfoHandler,
|
TariffInfoHandler tariffInfoHandler,
|
||||||
ReferralHandler referralHandler,
|
ReferralHandler referralHandler,
|
||||||
ResetPasswordHandler resetPasswordHandler,
|
ResetPasswordHandler resetPasswordHandler,
|
||||||
DaDataHandler daDataHandler,
|
|
||||||
PaymentHandler paymentHandler,
|
PaymentHandler paymentHandler,
|
||||||
CostHandler costHandler,
|
CostHandler costHandler,
|
||||||
MonitoringHandler monitoringHandler,
|
MonitoringHandler monitoringHandler,
|
||||||
@@ -71,7 +70,6 @@ LogoutRequestHandler logoutHandler
|
|||||||
map.put(30001, tariffHandler);
|
map.put(30001, tariffHandler);
|
||||||
map.put(30002, tariffInfoHandler);
|
map.put(30002, tariffInfoHandler);
|
||||||
map.put(30003, referralHandler);
|
map.put(30003, referralHandler);
|
||||||
map.put(30004, daDataHandler);
|
|
||||||
map.put(30005, paymentHandler);
|
map.put(30005, paymentHandler);
|
||||||
map.put(30007, monitoringHandler);
|
map.put(30007, monitoringHandler);
|
||||||
map.put(30008, costHandler);
|
map.put(30008, costHandler);
|
||||||
@@ -145,12 +143,14 @@ LogoutRequestHandler logoutHandler
|
|||||||
@Bean
|
@Bean
|
||||||
public Map<Integer, RequestHandler> authHandler(
|
public Map<Integer, RequestHandler> authHandler(
|
||||||
RegRequestHandler reg,
|
RegRequestHandler reg,
|
||||||
LoginRequestHandler login
|
LoginRequestHandler login,
|
||||||
|
DaDataHandler daDataHandler
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
Map<Integer, RequestHandler> map = new HashMap<>();
|
Map<Integer, RequestHandler> map = new HashMap<>();
|
||||||
map.put(20001, login);
|
map.put(20001, login);
|
||||||
map.put(20002, reg);
|
map.put(20002, reg);
|
||||||
|
map.put(30004, daDataHandler);
|
||||||
|
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user