暂存提交
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ public class WarehouseDatabaseGuardConfiguration {
|
||||
Matcher matcher = MYSQL_SCHEMA.matcher(url);
|
||||
if (!matcher.matches() || !"baiyue_lastlag_warehouse".equalsIgnoreCase(matcher.group(1))) {
|
||||
throw new IllegalStateException(
|
||||
"warehouse-overseas-service requires spring.datasource.url to target the baiyue_warehouse_overseas database");
|
||||
"warehouse-overseas-service requires spring.datasource.url to target the baiyue_lastlag_warehouse database");
|
||||
}
|
||||
return beanFactory -> { };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user