Browse Source

更新请求网址

master
torsenli 3 years ago
parent
commit
84f4a87170
  1. 2
      config/index.js
  2. 2
      src/api/server/index.js
  3. 2
      src/i18n/cn.json
  4. 6
      src/i18n/en.json
  5. 4
      src/i18n/tw.json
  6. 8
      src/index.html
  7. 10
      src/utils/consts.js
  8. 6
      src/views/home/index.vue

2
config/index.js

@ -24,7 +24,7 @@ module.exports = {
'/api': {
// target: 'http://qkladmin2.ruanmeng.top/',
// target: 'https://guanli.coin.amatak.net/',
target: 'https://ser.ybgcoins.com/',
target: 'https://ser.xtzcoin.com/',
changeOrigin: true,
// pathRewrite: {
// // 请求时 将api替换成实际的apis等

2
src/api/server/index.js

@ -59,7 +59,7 @@ Object.assign(settings, {
// api请求根地址 打包使用完整地址 调试使用本地服务器代理 避免跨域
// baseURL: process.env.NODE_ENV == 'production' ? 'http://qkladmin2.ruanmeng.top/api/' : '/api/',
// baseURL: process.env.NODE_ENV == 'production' ? 'https://guanli.coin.amatak.net/api/' : '/api/',
baseURL: process.env.NODE_ENV == 'production' ? 'https://ser.ybgcoins.com/api/' : '/api/',
baseURL: process.env.NODE_ENV == 'production' ? 'https://ser.xtzcoin.com/api/' : '/api/',
// baseURL: 'https://aaccdd.kixcoin.org/api/' ,
// baseURL: 'https://guanli.coin.amatak.net/api/',
// baseURL: 'https://api.hipc.world/',

2
src/i18n/cn.json

@ -1048,7 +1048,7 @@
"TopEncryptionRiskManagement": "顶级加密风控管理",
"EscortYourPropertySafety": "为您的财产安全保驾护航",
"BuyCoins": "买币",
"ProvidedByTheExperimentalCenter": "由CINSCoin实验中心提供",
"ProvidedByTheExperimentalCenter": "由XTZCoin实验中心提供",
"StartCurrencyTradingNow": "立刻开始货币交易",
"ScanTheQRCodeBelowToDownload": "扫描下方二维码下载",
"AndroidScanCodeDownload": "Android扫码下载",

6
src/i18n/en.json

@ -42,7 +42,7 @@
"user": "users trust us",
"tradings": "trading transactions",
"using": "payments using crypto",
"Why": "Why do you choose to buy digital currency in YBGCOINS",
"Why": "Why do you choose to buy digital currency in XTZCoin",
"believe": "We believe Cryptolly is here to stay — and that a future worth building is one which opens its doors and invites everyone in ",
"Clarity": "Clarity",
"help": "We help you make sense of the coins, the terms, the dense charts and market changes",
@ -53,7 +53,7 @@
"convenient": "convenient",
"key": "One key transaction, more convenient operation",
"technology": "Our technology",
"YBGCOINS": "YBGCOINS adopts advanced technologies such as GSLB, distributed server cluster ,distributed storage, high speed memory trading engine with multiple machines, cold wallet, hot wallet with private key offline,etc.,to provide our customers with secure,stable and reliable digital asset trading services through multiple terminals such as web,mobile and desktop terminals ",
"XTZCOIN": "XTZCoin adopts advanced technologies such as GSLB, distributed server cluster ,distributed storage, high speed memory trading engine with multiple machines, cold wallet, hot wallet with private key offline,etc.,to provide our customers with secure,stable and reliable digital asset trading services through multiple terminals such as web,mobile and desktop terminals ",
"guide": "Beginner's guide",
"Wear": "Wear an account",
"Get": "Register a trading account",
@ -1146,7 +1146,7 @@
"TopEncryptionRiskManagement": "TOP ENCRYPTION RISK MANAGEMENT",
"EscortYourPropertySafety": "ESCORT YOUR PROPERTY SAFETY",
"BuyCoins": "BuyCoins",
"ProvidedByTheExperimentalCenter": "Courtesy of Cinscoin Experiment Center",
"ProvidedByTheExperimentalCenter": "Courtesy of XTZCoin Experiment Center",
"StartCurrencyTradingNow": "Start currency trading now",
"ScanTheQRCodeBelowToDownload": "Scan the QR code below to download",
"AndroidScanCodeDownload": "Android scan code",

4
src/i18n/tw.json

@ -42,7 +42,7 @@
"user": "用戶信任我們",
"tradings": "交易",
"using": "使用加密貨幣支付",
"Why": "為什麼選擇在YBGCOINS購買數位貨幣",
"Why": "為什麼選擇在XTZCOIN購買數位貨幣",
"believe": "我們相信Cryptolly會留下來,一個值得建設的未來將打開大門,邀請所有人加入",
"Clarity": "清晰度",
"help": "我們幫助你理解貨幣、條款、密集的圖表和市場變化",
@ -53,7 +53,7 @@
"convenient": "方便",
"key": "一鍵交易,操作更方便",
"technology": "我們的技術",
"YBGCOINS": "YBGCOINS採用GSLB、分佈式存儲、多機高速內存交易引擎、冷錢包、離線私鑰熱錢包等先進技術,通過網絡、移動和台式終端等多個終端為客戶提供安全、穩定和可靠的數字資產交易服務",
"XTZCOIN": "XTZCOIN採用GSLB、分佈式存儲、多機高速內存交易引擎、冷錢包、離線私鑰熱錢包等先進技術,通過網絡、移動和台式終端等多個終端為客戶提供安全、穩定和可靠的數字資產交易服務",
"guide": "初學者指南",
"Wear": "記下來",
"Get": "注册交易帳戶",

8
src/index.html

@ -21,7 +21,7 @@
for (var i = 0; i < mobileAgent.length; i++) {
if (browser.indexOf(mobileAgent[i]) != -1) {
//todo 手机版跳转
window.location.href = 'https://h5.ybgcoins.com';
window.location.href = 'https://app.xtzcoin.com';
break;
}
}
@ -68,13 +68,13 @@
<script src="/static/libs/jquery.mCustomScrollbar.js"></script>
<script src="/static/js/custom.js"></script>
<script src="/static/libs/skroll.min.js"></script>
<script src="https://www.miycoin.com/newlink/pako.min.js"></script>
<script src="https://www.ybgcoins.com/newlink/pako.min.js"></script>
<script>
window.custom = "dark"; // 默认主题
window.api_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://ser.ybgcoins.com/api/sliderVerify' : 'https://xxe.miycoin.com/api/sliderVerify' %>";
window.api_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://ser.xtzcoin.com/api/sliderVerify' : 'https://ser.xtzcoin.com/api/sliderVerify' %>";
// window.api_path = "<%= htmlWebpackPlugin.options.isProduct ? 'http://qkladmin2.ruanmeng.top/api/sliderVerify' : 'http://qkladmin2.ruanmeng.top/api/sliderVerify' %>";
// window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'wss://guanli.coin.amatak.net/ws1' : 'wss://guanli.coin.amatak.net/ws1' %>";
window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://ser.ybgcoins.com/api' : 'https://xxe.miycoin.com/api' %>";
window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://ser.xtzcoin.com/api' : 'https://ser.xtzcoin.com/api' %>";
// window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'ws://qkladmin2.ruanmeng.top:2346' : 'ws://qkladmin2.ruanmeng.top:2346' %>";

10
src/utils/consts.js

@ -15,18 +15,18 @@ export default {
FAIL : 2,
}
},
mobileUrl:'https://ser.ybgcoins.com',
mobileUrl:'https://ser.xtzcoin.com',
Server: {
Path: {
// API: isProduct ? `http://qkladmin2.ruanmeng.top/api/` : `/api/`,
BASE:isProduct?`https://ser.ybgcoins.com`:`https://ser.ybgcoins.com`,
API: isProduct ? `https://ser.ybgcoins.com/api/` : `/api/`,
BASE:isProduct?`https://ser.xtzcoin.com`:`https://ser.xtzcoin.com`,
API: isProduct ? `https://ser.xtzcoin.com/api/` : `/api/`,
// WS: isProduct ? `ws://qkladmin2.ruanmeng.top:2346` : `ws://qkladmin2.ruanmeng.top:2346`,
// WS1: isProduct ? `ws://qkladmin2.ruanmeng.top:2348` : `ws://qkladmin2.ruanmeng.top:2348`,
// WS: isProduct ? `wss://guanli.coin.amatak.net/ws1` : `wss://guanli.coin.amatak.net/ws1`,
WS: isProduct ? `wss://ser.ybgcoins.com/ws1` : `wss://ser.ybgcoins.com/ws1`,
WS: isProduct ? `wss://ser.xtzcoin.com/ws1` : `wss://ser.xtzcoin.com/ws1`,
// WS1: isProduct ? `wss://guanli.coin.amatak.net/ws2` : `wss://guanli.coin.amatak.net/ws2`,
WS1: isProduct ? `wss://ser.ybgcoins.com/ws2` : `wss://ser.ybgcoins.com/ws2`,
WS1: isProduct ? `wss://ser.xtzcoin.com/ws2` : `wss://ser.xtzcoin.com/ws2`,
}
}
};

6
src/views/home/index.vue

@ -851,7 +851,7 @@
line-height: 50px;
"
>
{{ $t("common.YBGCOINS") }}.
{{ $t("common.XTZCOIN") }}.
</div>
</div>
<!-- 右边图片 -->
@ -1035,7 +1035,7 @@
class="build-left-text-appname text-start service-title-text1"
style="font-size: 48px"
>
YBGCOINS APP
XTZCOIN APP
</div>
<div class="dotfive d-flex">
<div class="dotblue" v-for="item in 5" :key="item"></div>
@ -1122,7 +1122,7 @@ export default {
return Boolean(localStorage.token);
},
downloadLink() {
return "https://ser.ybgcoins.com/download";
return "https://ser.xtzcoin.com/download";
},
//
featuresList() {

Loading…
Cancel
Save