fix(config): enable DruidDataSource in application-prod.yml and clean up unused code
This commit is contained in:
parent
043eb8b461
commit
fec2e4b0eb
|
|
@ -43,6 +43,7 @@ public class CarNeedPlanServiceImpl implements CarNeedPlanService {
|
|||
|
||||
@Autowired
|
||||
private AuditRecordService recordService;
|
||||
|
||||
@Autowired
|
||||
private FileUploadService uploadService;
|
||||
|
||||
|
|
|
|||
|
|
@ -15,10 +15,6 @@ public class IDUtils {
|
|||
return fileName.substring(fileName.lastIndexOf('.'));
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.err.println(createID());
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取id
|
||||
* @return
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public class JwtAuthenticationTokenFilter extends OncePerRequestFilter {
|
|||
@Autowired
|
||||
private JWTTokenService tokenService;
|
||||
|
||||
@Value("${server.servlet.context-path}")
|
||||
@Value("${server.servlet.context-path:}")
|
||||
public String path;
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ spring:
|
|||
url: jdbc:mysql://10.1.0.141:13306/gzimt1.0?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true
|
||||
username: root
|
||||
password: gsyfq@09mysql!
|
||||
# type: com.alibaba.druid.pool.DruidDataSource
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
redis:
|
||||
host: 10.1.0.141
|
||||
port: 6379
|
||||
|
|
|
|||
Loading…
Reference in New Issue