提交地图修改内容

This commit is contained in:
2022-08-18 15:06:18 +08:00
parent 61abbc251d
commit 36b76eabbe
10 changed files with 341 additions and 87 deletions

View File

@@ -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;

View File

@@ -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();
}
}