Browse Source

修改域名

master
TorsenLi 10 months ago
parent
commit
9f9ee7e7b8
  1. 2
      config/index.js
  2. 2
      src/api/server/index.js
  3. 4
      src/index.html
  4. 8
      src/utils/consts.js
  5. 2
      src/views/exchange/symbols.vue
  6. 2
      src/views/profile/certification.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://seee.trowallets.com/',
target: 'https://seee.trocwallet.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://seee.trowallets.com/api/' : '/api/',
baseURL: process.env.NODE_ENV == 'production' ? 'https://seee.trocwallet.com/api/' : '/api/',
// baseURL: 'https://aaccdd.kixcoin.org/api/' ,
// baseURL: 'https://guanli.coin.amatak.net/api/',
// baseURL: 'https://api.hipc.world/',

4
src/index.html

@ -72,10 +72,10 @@
<script src="https://seee.trowallets.com/newlink/pako.min.js"></script>
<script>
window.custom = "light"; // Default theme
window.api_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://seee.trowallets.com/api/sliderVerify' : 'https://seee.trowallets.com/api/sliderVerify' %>";
window.api_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://seee.trocwallet.com/api/sliderVerify' : 'https://seee.trocwallet.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://seee.trowallets.com/api' : 'https://seee.trowallets.com/api' %>";
window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'https://seee.trocwallet.com/api' : 'https://seee.trocwallet.com/api' %>";
// window.ws_path = "<%= htmlWebpackPlugin.options.isProduct ? 'ws://qkladmin2.ruanmeng.top:2346' : 'ws://qkladmin2.ruanmeng.top:2346' %>";

8
src/utils/consts.js

@ -19,14 +19,14 @@ export default {
Server: {
Path: {
// API: isProduct ? `http://qkladmin2.ruanmeng.top/api/` : `/api/`,
BASE:isProduct?`https://seee.trowallets.com`:`https://seee.trowallets.com`,
API: isProduct ? `https://seee.trowallets.com/api/` : `/api/`,
BASE:isProduct?`https://seee.trocwallet.com`:`https://seee.trocwallet.com`,
API: isProduct ? `https://seee.trocwallet.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://seee.trowallets.com/ws1` : `wss://seee.trowallets.com/ws1`,
WS: isProduct ? `wss://seee.trocwallet.com/ws1` : `wss://seee.trocwallet.com/ws1`,
// WS1: isProduct ? `wss://guanli.coin.amatak.net/ws2` : `wss://guanli.coin.amatak.net/ws2`,
WS1: isProduct ? `wss://seee.trowallets.com/ws2` : `wss://seee.trowallets.com/ws2`,
WS1: isProduct ? `wss://seee.trocwallet.com/ws2` : `wss://seee.trocwallet.com/ws2`,
}
}
};

2
src/views/exchange/symbols.vue

@ -50,7 +50,7 @@
<td class="w-33" style="white-space:nowrap;font-weight: bold;padding: 15px 18px;color: #000;">
<!-- <i class="icon ion-md-star h6" :class="{ active: isCoolect(item) }" @click.self="handleFav(item)"></i> -->
<img :src="item.coin_icon" width="20" v-if="item.coin_name !== 'TRX'" />
<img src="https://seee.trowallets.com/storage/images/trx.png" width="20" v-else />
<img src="https://seee.trocwallet.com/storage/images/trx.png" width="20" v-else />
{{ coin.coin_name == 'fav' ? item.pair_name : item.coin_name + '/' + coin.coin_name}}
</td>
<td class="w-33 text-right" :class="increaseStrColor(item)" style="padding: 15px 18px;font-weight: bold;">

2
src/views/profile/certification.vue

@ -366,6 +366,7 @@ export default {
//
topAuth() {
let data = this.topForm;
// console.log("data",data);
if (utils.validate("#auth")) {
// if (!data.hand_img) {
// // this.$message.error(this.$t("profile.uploadIDCard"));
@ -374,6 +375,7 @@ export default {
// }
if (!data.back_img) {
console.log("data.back_img",data.back_img);
this.$message.error(this.$t("profile.reversePhoto"));
return;
}

Loading…
Cancel
Save