Browse Source

修改接口

master
liaoxinyu 1 year ago
parent
commit
766c86e8d9
  1. 14
      app.js
  2. 2
      components/uni-swipe-action-item/mpother.js
  3. 2
      manifest.json
  4. 2
      pages/assets/draw.vue
  5. 2
      pages/assets/recharge.vue
  6. 4
      pages/assets/records.vue
  7. 2
      pages/auth/senior.vue
  8. 4
      pages/base/home.vue
  9. 2
      pages/base/mine.vue
  10. 2
      pages/currency/list.vue
  11. 2
      pages/exchange/contract-history.vue
  12. 2
      pages/exchange/contractHis.vue
  13. 2
      pages/income/index.vue
  14. 2
      pages/login/index.vue
  15. 2
      pages/otc/bind-pay.vue
  16. 4
      pages/purchase/bill.vue
  17. 2
      pages/reg/index.vue
  18. 2
      pages/safe/forget-password.vue
  19. 2
      pages/safe/phone.vue
  20. 4
      pages/service/service.vue
  21. 2
      static/chart_main/chart_main/old-datafeed.js
  22. 4
      static/chart_main/chart_main/sevencoin.js
  23. 2
      static/chart_main/old-datafeed.js
  24. 4
      static/chart_main/sevencoin.js
  25. 6
      static/tradingview.html

14
app.js

@ -3,21 +3,21 @@ let config = {};
if (process.env.NODE_ENV == 'production'||true) { //生产环境
config = {
// ajax地址
baseUrl: 'https://ctma.catycoin.com',
baseUrl: 'https://ctma.catycoins.com',
// 图片地址 (暂时无用)
imgUrl: 'https://ctma.catycoin.com/storage',
imgUrl: 'https://ctma.catycoins.com/storage',
// socket地址
socketUrl: 'wss://ctma.catycoin.com/ws1',
socketUrl1: 'wss://ctma.catycoin.com/ws2',
socketUrl: 'wss://ctma.catycoins.com/ws1',
socketUrl1: 'wss://ctma.catycoins.com/ws2',
// pc端地址
pcUrl:'https://www.catycoin.com',
pcUrl:'https://www.catycoins.com',
// app名称
appName: 'CATYcoin',
// 版本
version: '1.0.0',
// 移动端地址
mobile: 'https://app.catycoin.com',
down:"https://app.catycoin.com/download/CATYcoin.html"
mobile: 'https://app.catycoins.com',
down:"https://app.catycoins.com/download/CATYcoin.html"
};
} else { //开发环境
config = {

2
components/uni-swipe-action-item/mpother.js

@ -125,7 +125,7 @@ export default {
views
.selectAll('.selector-query-hock')
.boundingClientRect(data => {
console.log(data)
// console.log(data)
this.position.content = data[1]
this.position.button = data[0]
if (this.autoClose) return

2
manifest.json

@ -112,7 +112,7 @@
"router" : {
"base" : "./"
},
"domain" : "https://app.catycoin.com",
"domain" : "https://app.catycoins.com",
"template" : "main.html",
"title" : "CATYcoin"
}

2
pages/assets/draw.vue

@ -433,7 +433,7 @@ export default {
let list = [...this.list, ...res.data.data];//
this.list.splice(0,this.list.length,...list);
// this.list.push(...list);
console.log('length---------------',this.list.length, '页数:',res.data.current_page);
// console.log('length---------------',this.list.length, '',res.data.current_page);
if (res.data.data.length < res.data.per_page) this.loadMore = false;
});
},

2
pages/assets/recharge.vue

@ -264,7 +264,7 @@ export default {
});
},
change(e){
console.log(e)
// console.log(e)
}
},
created() {

4
pages/assets/records.vue

@ -82,7 +82,7 @@ import formData from "@/utils/class/date";
let list = [...this.list, ...res.data.data];//
this.list.splice(0,this.list.length,...list);
// this.list.push(...list);
console.log('length---------------',this.list.length, '页数:',res.data.current_page);
// console.log('length---------------',this.list.length, '',res.data.current_page);
if (res.data.data.length < res.data.per_page) this.loadMore = false;
});
},
@ -107,7 +107,7 @@ import formData from "@/utils/class/date";
},
},
onLoad(e) {
console.log('---------',e);
// console.log('---------',e);
this.type = e.type;
if(e.type=='draw'){
this.getWithdrawRecords();

2
pages/auth/senior.vue

@ -64,7 +64,7 @@ export default {
},
methods: {
getFile(name) {
console.log(name)
// console.log(name)
this.$getFile({count: 9}).then((res) => {
this.upLoadImg(res, name);
})

4
pages/base/home.vue

@ -1311,7 +1311,7 @@
*/
getCollegeLinks() {
College.getCategoryList().then(res => {
console.log(res, 11111);
// console.log(res, 11111);
let list = res.data;
list.forEach(item => {
if (this.guideId === '') {
@ -1333,7 +1333,7 @@
}).then(res => {
let data = res.data;
this.articleList = data.splice(0, 3);
console.log(this.articleList, 222222);
// console.log(this.articleList, 222222);
setTimeout(() => {
this.skroll();
}, 100);

2
pages/base/mine.vue

@ -439,7 +439,7 @@
Profile.getAuthInfo().then(res => {
this.ProfileDetail = res.data;
this.user_auth_level = res.data.primary_status
console.log(this.ProfileDetail, 11111);
// console.log(this.ProfileDetail, 11111);
})
},
},

2
pages/currency/list.vue

@ -78,7 +78,7 @@ export default {
},
},
onLoad(query) {
console.log(this.list)
// console.log(this.list)
},
};
</script>

2
pages/exchange/contract-history.vue

@ -303,7 +303,7 @@ export default {
generalizeInfo() {
Profile.qrcode().then((res) => {
this.detail = res.data;
console.log(this.detail)
// console.log(this.detail)
});
},
//

2
pages/exchange/contractHis.vue

@ -298,7 +298,7 @@ export default {
);
},
holdPosition(boo) {
console.log(this.checked,this.symbolLeft,boo)
// console.log(this.checked,this.symbolLeft,boo)
let data = {
symbol: (this.checked && this.symbolLeft) || "",
};

2
pages/income/index.vue

@ -143,7 +143,7 @@ export default {
uni.getSystemInfo({
success: function (res) {
this.windowHeight=60
console.log(this.windowHeight)
// console.log(this.windowHeight)
}
});
},

2
pages/login/index.vue

@ -180,7 +180,7 @@ export default {
});
},
loginVer(data) {
console.log(data)
// console.log(data)
this.secondaryShow = true;
this.secondaryData = data;
this.form2.signature = data.signature;

2
pages/otc/bind-pay.vue

@ -150,7 +150,7 @@ export default {
},
onLoad(query) {
this.query = query
console.log(this.query)
// console.log(this.query)
this.getList();
},
methods: {

4
pages/purchase/bill.vue

@ -75,9 +75,9 @@ export default {
let data = {
page: this.page,
};
console.log(over)
// console.log(over)
Wallet.subscribeRecords(data).then((res) => {
console.log(res)
// console.log(res)
if (res.data.current_page == 1) this.list = [];
this.list = [...this.list, ...res.data.data];
over && over({ finished: res.data.data.length < res.data.per_page });

2
pages/reg/index.vue

@ -301,7 +301,7 @@ export default {
if(res.code==200){
this.hideImg = false;
}
console.log("gc",res.data.img)
// console.log("gc",res.data.img)
this.Graph_che = res.data.img;
this.gc_key= res.data.key;
});

2
pages/safe/forget-password.vue

@ -154,7 +154,7 @@ export default {
if(res.code==200){
this.hideImg = false;
}
console.log("gc",res.data.img)
// console.log("gc",res.data.img)
this.Graph_che = res.data.img;
this.form.gc_key= res.data.key;
});

2
pages/safe/phone.vue

@ -77,7 +77,7 @@ export default {
setUserInfo: "setUserInfo",
}),
changePhone() {
console.log(this.$refs.country)
// console.log(this.$refs.country)
this.form.country_code = this.$refs.country&&this.$refs.country.country_code;
if (!this.user.phone && !this.form.phone) {
this.$toast(this.$t('safe.d5'));

4
pages/service/service.vue

@ -61,11 +61,11 @@
Member.serviceDetail({
id: this.query.id,
}).then((res) => {
console.log(res)
// console.log(res)
this.detail = res.data;
});
Member.contact({}).then((res) => {
console.log(res);
// console.log(res);
this.contacts = res.data;
})
},

2
static/chart_main/chart_main/old-datafeed.js

@ -82,7 +82,7 @@ Datafeeds.UDFCompatibleDatafeed.prototype.onInitialized = function() {
Datafeeds.UDFCompatibleDatafeed.prototype._logMessage = function(message) {
if (this._enableLogging) {
var now = new Date();
console.log(now.toLocaleTimeString() + '.' + now.getMilliseconds() + '> ' + message);
// console.log(now.toLocaleTimeString() + '.' + now.getMilliseconds() + '> ' + message);
}
};

4
static/chart_main/chart_main/sevencoin.js

@ -432,8 +432,8 @@ $(function () {
}
// 生成订阅数据
createMsg() {
console.log(this.contract)
console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`)
// console.log(this.contract)
// console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`)
if (this.contract) {
return `swapKline_${this.symbolName}_${this.resolution(this.interval)}`
} else {

2
static/chart_main/old-datafeed.js

@ -82,7 +82,7 @@ Datafeeds.UDFCompatibleDatafeed.prototype.onInitialized = function() {
Datafeeds.UDFCompatibleDatafeed.prototype._logMessage = function(message) {
if (this._enableLogging) {
var now = new Date();
console.log(now.toLocaleTimeString() + '.' + now.getMilliseconds() + '> ' + message);
// console.log(now.toLocaleTimeString() + '.' + now.getMilliseconds() + '> ' + message);
}
};

4
static/chart_main/sevencoin.js

@ -463,8 +463,8 @@ $(function () {
}
// 生成订阅数据
createMsg() {
console.log(this.contract)
console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`)
// console.log(this.contract)
// console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`)
if (this.contract) {
return `swapKline_${this.symbolName}_${this.resolution(this.interval)}`
} else {

6
static/tradingview.html

@ -22,9 +22,9 @@
<body>
<div class="tradingview" id="tradingview_10798345"></div>
</body>
<script src="https://www.catycoin.com/newlink/mobile/jquery3_5_1.min.js"></script>
<script src="https://www.catycoin.com/newlink/mobile/pako1_0_9.min.js"></script>
<script src="https://www.catycoin.com/newlink/mobile/qs6_9_4.min.js"></script>
<script src="https://www.catycoins.com/newlink/mobile/jquery3_5_1.min.js"></script>
<script src="https://www.catycoins.com/newlink/mobile/pako1_0_9.min.js"></script>
<script src="https://www.catycoins.com/newlink/mobile/qs6_9_4.min.js"></script>
<script src="./chart_main/charting_library.min.js"></script>
<script src="./chart_main/ws.js"></script>
<script src="./chart_main/sevencoin.js?v=2"></script>

Loading…
Cancel
Save