Skip to main content

dawdler-client-plug-config-center-consul

Module Introduction​

Web-side unified configuration center.

1. Add the dependency to pom​

<groupId>club.dawdler</groupId>
<artifactId>dawdler-client-plug-config-center-consul</artifactId>

2. Usage on the web side​

2.1 The three component types that support injection on the web side​

  1. Web-side controller

  2. Web-side interceptor HandlerInterceptor

  3. Web-side listener WebContextListener

2.2 FieldConfig annotation​

Refer to Using the FieldConfig annotation