From 2690a4b1f9402214090791efcf63446d06438a6f Mon Sep 17 00:00:00 2001 From: "fengyu.wang" Date: Sun, 5 Jan 2020 15:38:27 +0800 Subject: [PATCH] update local config --- src/api/app.js | 49 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 15 deletions(-) diff --git a/src/api/app.js b/src/api/app.js index 27c324d..5074830 100644 --- a/src/api/app.js +++ b/src/api/app.js @@ -1,22 +1,41 @@ -//测试环境 +//开发环境 export const app = { - // sysconfUrl: "http://169.254.144.26:9131", - // loginUrl: "http://192.168.102.41:9121", - // userUrl: "http://127.0.0.1:9101", - sysconfUrl: "https://backend.zhixinchains.com/sysconf", - loginUrl: "https://backend.zhixinchains.com/system", - userUrl: "https://backend.zhixinchains.com/user", - cctUrl: "https://backend.zhixinchains.com/cct", - ethUrl: "https://backend.zhixinchains.com/eth", - currencyUrl: "https://backend.zhixinchains.com/currency", - btcUrl: "https://backend.zhixinchains.com/btc", - eosUrl: "https://backend.zhixinchains.com/eos", - c2cUrl: "https://backend.zhixinchains.com/otc", - appCurrencyUrl: "https://zhixinchains.com/currency", - botUrl: "https://backend.zhixinchains.com/databot", + sysconfUrl: "http://127.0.0.1:9131", + loginUrl: "http://127.0.0.1:9121", + userUrl: "http://127.0.0.1:9101", + // sysconfUrl: "https://127.0.0.1/sysconf", + // loginUrl: "https://127.0.0.1/system", + // userUrl: "https://127.0.0.1/user", + cctUrl: "http://127.0.0.1:9051", + ethUrl: "http://127.0.0.1:9201", + currencyUrl: "http://127.0.0.1:9601", + btcUrl: "http://127.0.0.1:9301", + eosUrl: "http://127.0.0.1:9401", + c2cUrl: "http://127.0.0.1:9801", + appCurrencyUrl: "http://127.0.0.1:9601", + botUrl: "http://127.0.0.1:9901", FILE_URL_APP: "https://file.zhixinchains.com/" }; +//测试环境 +// export const app = { +// // sysconfUrl: "http://169.254.144.26:9131", +// // loginUrl: "http://192.168.102.41:9121", +// // userUrl: "http://127.0.0.1:9101", +// sysconfUrl: "https://backend.zhixinchains.com/sysconf", +// loginUrl: "https://backend.zhixinchains.com/system", +// userUrl: "https://backend.zhixinchains.com/user", +// cctUrl: "https://backend.zhixinchains.com/cct", +// ethUrl: "https://backend.zhixinchains.com/eth", +// currencyUrl: "https://backend.zhixinchains.com/currency", +// btcUrl: "https://backend.zhixinchains.com/btc", +// eosUrl: "https://backend.zhixinchains.com/eos", +// c2cUrl: "https://backend.zhixinchains.com/otc", +// appCurrencyUrl: "https://zhixinchains.com/currency", +// botUrl: "https://backend.zhixinchains.com/databot", + +// FILE_URL_APP: "https://file.zhixinchains.com/" +// }; //正式环境 // export const app = { // sysconfUrl: "https://backendsysconf.flamex.io",