2021与蓝度共同重构项目,服务端
liuhaonan
2022-06-30 3688ab2fe5ea1f85b9a7c26be859410e76a0a1be
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());
    }
 
}