This commit is contained in:
2026-08-18 15:43:58 +08:00
parent 4e4d047862
commit 4b0b3e9172
71 changed files with 523 additions and 724 deletions
@@ -16,7 +16,7 @@ public class InboundCodeModeProvider {
private final Mode mode;
public InboundCodeModeProvider(
@Value("${baiyue.order.inbound-code-mode:LEGACY_MANUAL}") String configuredMode) {
@Value("${baiyue.order.inbound-code-mode:AUTO}") String configuredMode) {
if (!StringUtils.hasText(configuredMode)) {
throw new IllegalStateException("baiyue.order.inbound-code-mode 必须显式配置");
}
+2
View File
@@ -35,6 +35,8 @@ baiyue:
url: ${WAREHOUSE_SERVICE_URL:}
file:
url: ${FILE_SERVICE_URL:}
order:
inbound-code-mode: ${ORDER_INBOUND_CODE_MODE:AUTO}
logging:
file:
name: "${LOGGING_FILE_NAME:${LOG_PATH:./logs}/${spring.application.name}.log}"