} | } | ||||
} | } | ||||
//test { | |||||
// enabled = false | |||||
//} | |||||
test { | |||||
enabled = false | |||||
} |
@SpringBootApplication | @SpringBootApplication | ||||
@EnableAspectJAutoProxy(proxyTargetClass = true) | @EnableAspectJAutoProxy(proxyTargetClass = true) | ||||
@EnableTransactionManagement | @EnableTransactionManagement | ||||
// @EnableScheduling | |||||
@EnableScheduling | |||||
public class UserApplication extends SpringBootServletInitializer { | public class UserApplication extends SpringBootServletInitializer { | ||||
public static void main(String[] args) { | public static void main(String[] args) { |
} | } | ||||
// | // | ||||
if (null == blackInfo) { | if (null == blackInfo) { | ||||
if (BlacklistOpType.OUT.equals(opType)){ | |||||
log.warn("协议号:{},本地没有下黑记录,不访问路网进行反白...{}", agreementNum, opType.getValue()); | |||||
return false; | |||||
} | |||||
blackInfo = new AflBlackInfo(); | blackInfo = new AflBlackInfo(); | ||||
} | } | ||||
orderId = StringUtils.isEmpty(orderId) ? "DEFAULT" : orderId; | orderId = StringUtils.isEmpty(orderId) ? "DEFAULT" : orderId; |
spring: | spring: | ||||
profiles: | profiles: | ||||
active: dev | |||||
active: prod | |||||
# Redis数据源 | # Redis数据源 | ||||
# redis: | # redis: | ||||
# # Redis数据库索引(默认为0) | # # Redis数据库索引(默认为0) |