瀏覽代碼

feat: 测试环境

max 4 月之前
父節點
當前提交
5a6a879dd8
共有 3 個文件被更改,包括 12 次插入12 次删除
  1. 1 1
      nginxConf/nginxSandbox.conf
  2. 7 7
      src/config/config.max.ts
  3. 4 4
      src/config/config.sandbox.ts

+ 1 - 1
nginxConf/nginxSandbox.conf

@@ -2,7 +2,7 @@ server
 {
     listen 80;
     listen 443 ssl;
-    server_name sandbox-va.fusionpay.one sandbox-va.galaxypay.asia;
+    server_name sandbox-va.galaxypay.asia;
     index index.html index.htm default.htm default.html;
     root /www/wwwroot/va/admin_test/dist;
 

+ 7 - 7
src/config/config.max.ts

@@ -10,14 +10,14 @@ export default {
     dataSource: {
       default: {
         type: 'mysql',
-        // host: '192.168.2.105',
-        // port: 6806,
-        // username: 'root',
-        // password: 'admin',
-        host: '127.0.0.1',
-        port: 3390,
+        host: '124.221.51.4',
+        port: 6806,
         username: 'root',
-        password: '123456',
+        password: 'asAf12u7YuszdHgfdVneq!',
+        // host: '127.0.0.1',
+        // port: 3390,
+        // username: 'root',
+        // password: '123456',
         // database: 'va',
         // database: 'va_test_2025_3_5',
         database: 'va_test',

+ 4 - 4
src/config/config.sandbox.ts

@@ -7,7 +7,7 @@ import { join } from 'path';
  */
 export default {
   koa: {
-    port: 8009,
+    port: 8010,
   },
   typeorm: {
     dataSource: {
@@ -15,9 +15,9 @@ export default {
         type: 'mysql',
         host: '127.0.0.1',
         port: 3306,
-        username: 'va_test',
-        password: 'PGsCkBBc7XBxtrhW',
-        database: 'va_test',
+        username: 'va_sandbox',
+        password: 'CSkCada2h87YYZRt',
+        database: 'va_sandbox',
         // 自动建表 注意:线上部署的时候不要使用,有可能导致数据丢失
         synchronize: false,
         // 打印日志