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