前端配置迁至 config/local.js,完善支付、模板库与部署脚本
- 页面直接引用 local.js 设置 SOON_DEPLOY_CONFIG,移除 deploy-config - Docker sync-config 生成 local.js;更新 README 与 agent-core 说明 - 模板库自动扫描 .soon;新增后端部署/种子/排查脚本 - 完善支付配置、订阅弹窗与后台支付管理页 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -93,5 +93,6 @@ spl_autoload_register(static function (string $class): void {
|
||||
require SOON_API_ROOT . '/Core/Config.php';
|
||||
\Soon\Api\Core\Config::init($config);
|
||||
require SOON_API_ROOT . '/Services/PaymentConfigLoader.php';
|
||||
\Soon\Api\Services\PaymentConfigLoader::merge($config);
|
||||
require SOON_API_ROOT . '/Services/SettingsConfigLoader.php';
|
||||
\Soon\Api\Services\PaymentConfigLoader::reload($config);
|
||||
\Soon\Api\Core\Config::init($config);
|
||||
|
||||
Reference in New Issue
Block a user