befly 3.18.4 → 3.18.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -246,9 +246,13 @@ export class Befly {
246
246
  Logger.info(`${this.context.config.appName} 启动成功!`);
247
247
  Logger.info(`服务器启动耗时: ${finalStartupTime}`);
248
248
  Logger.info(`服务器监听地址: ${server.url}`);
249
+ Logger.info(`Mysql 数据库地址:${this.context.config.mysql.hostname}`);
250
+ Logger.info(`Redis 缓存地址:${this.context.config.redis.hostname}`);
249
251
  console.log(`${this.context.config.appName} 启动成功!`);
250
252
  console.log(`服务器启动耗时: ${finalStartupTime}`);
251
253
  console.log(`服务器监听地址: ${server.url}`);
254
+ console.log(`Mysql 数据库地址:${this.context.config.mysql.hostname}`);
255
+ console.log(`Redis 缓存地址:${this.context.config.redis.hostname}`);
252
256
  // 注意:作为库代码,这里不注册 SIGINT/SIGTERM 处理器,也不调用 process.exit。
253
257
  // 宿主应用应自行处理信号并决定退出策略(包括是否调用 server.stop / Connect.disconnect / Logger.flush)。
254
258
  return server;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "befly",
3
- "version": "3.18.4",
4
- "gitHead": "403482610311798cc566fb6b550c069740fa413c",
3
+ "version": "3.18.5",
4
+ "gitHead": "84757b703a0df82ccfbc685fd661379e2b3d442c",
5
5
  "private": false,
6
6
  "description": "Befly - 为 Bun 专属打造的 JavaScript API 接口框架核心引擎",
7
7
  "keywords": [