Browse Source

refactor: 更改请求基准地址

await 8 months ago
parent
commit
f327bad3fa
2 changed files with 3 additions and 2 deletions
  1. 1 1
      config/dev.js
  2. 2 1
      config/prod.js

+ 1 - 1
config/dev.js

@@ -5,7 +5,7 @@ module.exports = {
   defineConstants: {
   defineConstants: {
     ENV: '"DEVELOPMENT"',
     ENV: '"DEVELOPMENT"',
     // "HOST": '"http://192.168.0.168:810"',
     // "HOST": '"http://192.168.0.168:810"',
-    HOST: '"https://api.bicredit.xin"',
+    HOST: '"https://api.hryk.net"',
     APPID: '"422"',
     APPID: '"422"',
   },
   },
   mini: {},
   mini: {},

+ 2 - 1
config/prod.js

@@ -4,7 +4,8 @@ module.exports = {
   },
   },
   defineConstants: {
   defineConstants: {
     ENV: '"PRODUCTION"',
     ENV: '"PRODUCTION"',
-    HOST: '"https://api.bicredit.xin"',
+    // HOST: '"https://api.bicredit.xin"',
+    HOST: '"https://api.hryk.net"',
     // "HOST": '"http://192.168.0.168:810"',
     // "HOST": '"http://192.168.0.168:810"',
     APPID: '"422"',
     APPID: '"422"',
   },
   },