Spring Boot 3.5.6 / Java 17 JAR with cloud gateway envelope and ping/whoami/echo; Taobao gateway signature verification matching the Node implementation; /pages/mvp page, splash dev entry and local transport contract test; SAE + 聚石塔 runbook and portable JDK/Maven setup; Windows 11 wmic shim for Taobao DevTools.
18 lines
881 B
JavaScript
18 lines
881 B
JavaScript
// Public configuration only. AppSecret and Face++ keys stay on the server.
|
|
module.exports = {
|
|
environment: 'development',
|
|
cameraDebug: true, // Offline camera acceptance only; disabled outside local development.
|
|
transport: 'direct', // Local development. Use 'cloud' with real gateway configuration.
|
|
baseUrl: 'http://127.0.0.1:18180',
|
|
assetBase: 'http://127.0.0.1:18180/assets/',
|
|
cloudAppId: '',
|
|
cloudEnv: 'online', // External/empty cloud applications use online
|
|
basePath: '', // E.g. '/state' behind an existing reverse proxy
|
|
// SAE/Java MVP page only: force the local Java backend without changing the main app config.
|
|
// Set false and edit transport/baseUrl/cloudAppId above when testing the cloud gateway.
|
|
mvpLocal: true,
|
|
mvpBaseUrl: 'http://127.0.0.1:8080',
|
|
mock: false,
|
|
productItemIds: {} // Optional real Taobao item IDs keyed by tier 1/2/3
|
|
};
|