package com.sandu.ximon.admin.security.wxOpenId; import org.springframework.context.annotation.Configuration; import org.springframework.web.method.support.HandlerMethodArgumentResolver; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import java.util.List; @Configuration public class OpenIdAppMvcConfiguration implements WebMvcConfigurer { @Override public void addArgumentResolvers(List argumentResolvers) { argumentResolvers.add(new WxOpenIdHandlerMethodArgumentResolver()); } }