提交地图修改内容
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package com.njcn.web.config;
|
||||
|
||||
import com.nimbusds.jose.JWSObject;
|
||||
import com.njcn.common.pojo.constant.SecurityConstants;
|
||||
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
|
||||
import com.njcn.common.pojo.exception.BusinessException;
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.njcn.web.config;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
|
||||
/**
|
||||
* @author hongawen
|
||||
* @version 1.0.0
|
||||
* @date 2022年08月18日 10:21
|
||||
*/
|
||||
@Configuration
|
||||
public class WebConfig {
|
||||
|
||||
/**
|
||||
* 配置请求对象
|
||||
*/
|
||||
@Bean
|
||||
public RestTemplate create() {
|
||||
return new RestTemplate();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user