优化
This commit is contained in:
@@ -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 必须显式配置");
|
||||
}
|
||||
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user