diff --git a/VERSION b/VERSION index 1c09c74..42045ac 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.3 +0.3.4 diff --git a/source_clean/src/routes/admin.routes.ts b/source_clean/src/routes/admin.routes.ts index e1f1ce7..81d987a 100644 --- a/source_clean/src/routes/admin.routes.ts +++ b/source_clean/src/routes/admin.routes.ts @@ -425,9 +425,9 @@ router.get('/admin/db-status', async (_req: Request, res: Response) => { let redis_url = getSystemConfig('redis_url') || ''; try { const testResult = await testRedisConnection(redis_url); - redis_status = testResult.ok ? 'connected' : 'disconnected'; + redis_status = testResult.ok ? '已连接' : '未连接'; } catch { - redis_status = 'error'; + redis_status = '错误'; } res.json({