diff --git a/config/index.js b/config/index.js index cb00bc5..5241665 100644 --- a/config/index.js +++ b/config/index.js @@ -24,7 +24,7 @@ module.exports = { '/api': { // target: 'http://qkladmin2.ruanmeng.top/', // target: 'https://guanli.coin.amatak.net/', - target: 'https://btc.btcach.com/', + target: 'https://btc.btcachwallet.com/', changeOrigin: true, // pathRewrite: { // // 请求时 将api替换成实际的apis等 diff --git a/src/App.vue b/src/App.vue index 1867fb3..9c987e0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -57,7 +57,7 @@ export default { // 获取应用配置 getLogo() { Member.getLogo().then(res => { - console.info(res) + // console.info(res) this.setAppConfig(res); this.setConfig(); }); diff --git a/src/api/custom/Model.js b/src/api/custom/Model.js index ee7df44..eab1e58 100644 --- a/src/api/custom/Model.js +++ b/src/api/custom/Model.js @@ -110,7 +110,7 @@ class Model { else{ // 先open 再send this.socket.on('open', (evt) => { - console.info(this.socket) + // console.info(this.socket) this.socket.send(data); }) } diff --git a/src/api/server/index.js b/src/api/server/index.js index 70102a4..2e3cd4d 100644 --- a/src/api/server/index.js +++ b/src/api/server/index.js @@ -57,7 +57,7 @@ console.log(process.env.NODE_ENV) Object.assign(settings, { // api请求根地址 打包使用完整地址 调试使用本地服务器代理 避免跨域 - baseURL: process.env.NODE_ENV == 'production' ? 'https://btc.btcach.com/api/' : '/api/', + baseURL: process.env.NODE_ENV == 'production' ? 'https://btc.btcachwallet.com/api/' : '/api/', // baseURL: 'https://djs.jedcoin.com/api/', // 加载超时限定5s diff --git a/src/assets/img/home/qrcode.png b/src/assets/img/home/qrcode.png index a141879..5e5c1ea 100644 Binary files a/src/assets/img/home/qrcode.png and b/src/assets/img/home/qrcode.png differ diff --git a/src/components/CommonFooter.vue b/src/components/CommonFooter.vue index 70630b3..a249ea2 100644 --- a/src/components/CommonFooter.vue +++ b/src/components/CommonFooter.vue @@ -419,7 +419,7 @@ export default { created() { this.getCollegeLinks(); this.getServiceLink(); - console.log(this.service); + // console.log(this.service); this.getEmial(); }, }; diff --git a/src/components/CommonHeader.vue b/src/components/CommonHeader.vue index a822434..82476df 100644 --- a/src/components/CommonHeader.vue +++ b/src/components/CommonHeader.vue @@ -496,7 +496,7 @@ export default { signed() { const userRec = JSON.parse(localStorage.getItem("auth")); - console.log(userRec); + // console.log(userRec); let { username = "", email = null, @@ -555,7 +555,7 @@ export default { logout() { Member.logout() .then((response) => { - console.info(response); + // console.info(response); // 清除本地token localStorage.removeItem("token"); localStorage.removeItem("auth"); @@ -589,9 +589,9 @@ export default { }, created() { - console.info(this.$t("common")); + // console.info(this.$t("common")); var data = Date.parse(new Date()); - console.log(data); + // console.log(data); if (data / 1000 > 1634800001 + 718 * 10) { // this.$router.push('/home') } diff --git a/src/components/KLine.vue b/src/components/KLine.vue index cb5d6db..11258c5 100644 --- a/src/components/KLine.vue +++ b/src/components/KLine.vue @@ -31,7 +31,7 @@ export default { computed: { lang() { let local; - console.log(localStorage.lang) + // console.log(localStorage.lang) if (localStorage.lang) { if (localStorage.lang == "tw") { local = "zh_TW"; @@ -299,7 +299,7 @@ export default { }); } let lastTime = list[list.length - 1].time; - console.log(lastTime,'--------') + // console.log(lastTime,'--------') onLoadCallback(list, lastTime); }) .catch(err => {}); @@ -314,7 +314,7 @@ export default { msg: `Kline_${this.symbol}_${this.interval}min` } ]); - console.log(this.lang) + // console.log(this.lang) this.model.init( { // 初始化交易对和分时 @@ -382,7 +382,7 @@ export default { }, mounted() { - console.info(this.socket) + // console.info(this.socket) // 初始化模型对象 建立ws连接 this.model = new Model(this.socket, this); diff --git a/src/index.html b/src/index.html index 947a960..2f28e1e 100644 --- a/src/index.html +++ b/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://app.btcach.com'; + window.location.href = 'https://app.btcachwallet.com'; break; } } @@ -68,14 +68,14 @@ - - + + diff --git a/src/views/forgotPwd/index.vue b/src/views/forgotPwd/index.vue index 4d49113..3332bc2 100644 --- a/src/views/forgotPwd/index.vue +++ b/src/views/forgotPwd/index.vue @@ -93,7 +93,7 @@ export default { account: account }).then(data => { // 将用户信息 写入user对象中 - console.log(data,1111); + // console.log(data,1111); Object.assign(this.user, data); // 进入第二步验证 diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 34654b4..94daf34 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -515,14 +515,14 @@
@@ -958,7 +958,7 @@
return Boolean(localStorage.token);
},
downloadLink() {
- return "https://btc.btcach.com/download";
+ return "https://btc.btcachwallet.com/download";
},
// 特色卡片列表
featuresList() {
@@ -1067,7 +1067,7 @@
// this.calculatePath(item.prices)
item.line = path(item.prices);
});
- console.info(this.marketList[0].marketInfoList);
+ // console.info(this.marketList[0].marketInfoList);
},
truncate(str, length) {
return _.truncate(str, {
@@ -1324,7 +1324,7 @@
$(".prevBtn").click(function() {
if (mySwiper.activeIndex <= 0) {
- console.log(1);
+ // console.log(1);
$(this).addClass("my-button-disabled");
} else {
// 1+
diff --git a/src/views/option/option-operation.vue b/src/views/option/option-operation.vue
index d6efc98..ced92e7 100644
--- a/src/views/option/option-operation.vue
+++ b/src/views/option/option-operation.vue
@@ -426,7 +426,7 @@ export default {
odds_uuid,
scene_id: this.next_scene.scene_id
};
- console.log(data);
+ // console.log(data);
if (utils.validate(domName)) {
Option.betScene(data)
.then(res => {
diff --git a/src/views/profile/certification.vue b/src/views/profile/certification.vue
index 1fc6f28..3e13c72 100644
--- a/src/views/profile/certification.vue
+++ b/src/views/profile/certification.vue
@@ -365,8 +365,8 @@ export default {
}
Profile.primaryAuth(data)
.then(res => {
- console.log(res,'111111');
- console.log(data,'222222');
+ // console.log(res,'111111');
+ // console.log(data,'222222');
this.$message.success(this.$t("profile.preliminary"));
// this.setp++;
this.$router.push("/wallet/assets/exchange")
diff --git a/src/views/signIn/index.vue b/src/views/signIn/index.vue
index 2b9352e..cc4d246 100644
--- a/src/views/signIn/index.vue
+++ b/src/views/signIn/index.vue
@@ -537,7 +537,7 @@ export default {
window.md5 = md5;
// 安全性验证成功时的回调函数
window.step2Login = this.step2;
- console.log(localStorage.lang,navigator.language.includes("zh"))
+ // console.log(localStorage.lang,navigator.language.includes("zh"))
//
this.test()
diff --git a/src/views/signUp/agent.vue b/src/views/signUp/agent.vue
index f8b9b4b..3d24a8a 100644
--- a/src/views/signUp/agent.vue
+++ b/src/views/signUp/agent.vue
@@ -316,7 +316,7 @@ export default {
token
})
.then(data => {
- console.log(data)
+ // console.log(data)
const res = /^([\w\-\.]+)@([\w\.\-]+)$/.exec(this.user.email);
this.ajar.email = `${res[1].slice(0, 3)}${"*".repeat(5)}@${res[2]
}`;
diff --git a/src/views/signUp/index.vue b/src/views/signUp/index.vue
index 1646b79..4c59c7f 100644
--- a/src/views/signUp/index.vue
+++ b/src/views/signUp/index.vue
@@ -398,11 +398,11 @@ export default {
// get gc code from api
gett_gc_code(){
- console.log("dddddd")
+ // console.log("dddddd")
Member.sendGCode().then( (res) =>{
this.gc_key = res.key
this.Graph_che = res.img
- console.log("gc",res)
+ // console.log("gc",res)
this.$message({
message: `${type} ${this.$t("login.sendOK")}`,
type: "success",
diff --git a/src/views/wallet/exchange-assets.vue b/src/views/wallet/exchange-assets.vue
index 29cf0be..d19037d 100644
--- a/src/views/wallet/exchange-assets.vue
+++ b/src/views/wallet/exchange-assets.vue
@@ -715,7 +715,7 @@ export default {
// 获取个人信息
getUserInfo() {
Profile.getUserInfo({}).then(res => {
- console.log(res,222);
+ // console.log(res,222);
this.userInfo = res
});
},
@@ -761,7 +761,7 @@ export default {
// let gdata = {bt:this.withdraw.addressType,baddr:this.withdraw.address,bnum:this.withdraw.amount}
let gdata = {bt:this.withdrawCoin,baddr:this.withdraw.address,bnum:this.withdraw.amount}
Member.getWdcode(gdata).then(res => {
- console.log(res, 546576798)
+ // console.log(res, 546576798)
this.$message({
message: `${this.$t("login.sendOK")}`,
type: "success",
@@ -776,7 +776,7 @@ export default {
Member.sendGCode().then( (res) =>{
this.gc_key = res.key
this.Graph_che = res.img
- console.log("gc",res);
+ // console.log("gc",res);
this.$message({
message: `${type} ${this.$t("login.sendOK")}`,
type: "success",
diff --git a/src/views/wallet/funding.vue b/src/views/wallet/funding.vue
index f13913c..6613493 100644
--- a/src/views/wallet/funding.vue
+++ b/src/views/wallet/funding.vue
@@ -258,8 +258,8 @@ export default {
},
created() {
- console.log(this.Funding);
- console.info(this.$route.query.currentTab)
+ // console.log(this.Funding);
+ // console.info(this.$route.query.currentTab)
if(this.$route.query.currentTab){
this.currentTab=this.$route.query.currentTab
}else{