91kaquan 初步介入
This commit is contained in:
@@ -235,6 +235,41 @@ function applyEnvOverrides(baseConfig) {
|
||||
nextConfig.platforms.agiso.messaging.enabled = agisoMessagingEnabled
|
||||
}
|
||||
|
||||
const ninetyoneUserId = String(process.env.NINETYONE_USER_ID || '').trim()
|
||||
if (ninetyoneUserId) {
|
||||
nextConfig.platforms.ninetyone.userId = ninetyoneUserId
|
||||
}
|
||||
|
||||
const ninetyoneSecret = String(process.env.NINETYONE_SECRET || '').trim()
|
||||
if (ninetyoneSecret) {
|
||||
nextConfig.platforms.ninetyone.secret = ninetyoneSecret
|
||||
}
|
||||
|
||||
const ninetyoneVersion = String(process.env.NINETYONE_VERSION || '').trim()
|
||||
if (ninetyoneVersion) {
|
||||
nextConfig.platforms.ninetyone.version = ninetyoneVersion
|
||||
}
|
||||
|
||||
const ninetyoneShopId = String(process.env.NINETYONE_SHOP_ID || '').trim()
|
||||
if (ninetyoneShopId) {
|
||||
nextConfig.platforms.ninetyone.shopId = ninetyoneShopId
|
||||
}
|
||||
|
||||
const ninetyoneShopName = String(process.env.NINETYONE_SHOP_NAME || '').trim()
|
||||
if (ninetyoneShopName) {
|
||||
nextConfig.platforms.ninetyone.shopName = ninetyoneShopName
|
||||
}
|
||||
|
||||
const ninetyoneTimestampToleranceSeconds = parseInteger(process.env.NINETYONE_TIMESTAMP_TOLERANCE_SECONDS)
|
||||
if (ninetyoneTimestampToleranceSeconds !== null) {
|
||||
nextConfig.platforms.ninetyone.timestampToleranceSeconds = ninetyoneTimestampToleranceSeconds
|
||||
}
|
||||
|
||||
const ninetyoneCardsEncoding = String(process.env.NINETYONE_CARDS_ENCODING || '').trim()
|
||||
if (ninetyoneCardsEncoding) {
|
||||
nextConfig.platforms.ninetyone.cardsEncoding = ninetyoneCardsEncoding
|
||||
}
|
||||
|
||||
const khhaoBaseUrl = String(process.env.KHHAO_BASE_URL || '').trim()
|
||||
if (khhaoBaseUrl) {
|
||||
nextConfig.platforms.khhao.baseUrl = khhaoBaseUrl
|
||||
|
||||
Reference in New Issue
Block a user