2021与蓝度共同重构项目,服务端
fix
zhanzhiqin
2022-07-05 72046386cf8a85ad7dae79d82485fa60c2c421e6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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<HandlerMethodArgumentResolver> argumentResolvers) {
        argumentResolvers.add(new WxOpenIdHandlerMethodArgumentResolver());
    }
 
}