This commit is contained in:
@fawn-nine
2023-10-12 17:06:17 +08:00
parent bf961c1397
commit c65e64e5d8
2 changed files with 14 additions and 14 deletions

View File

@@ -149,19 +149,19 @@
this.$http({
// url: this.$http.adornUrl('/forum/articles/list'),
url: this.$http.adornUrl('/book/clock/getBookClocks'),
method: 'get',
params: this.$http.adornParams({
'page': this.pageIndex,
'limit': this.pageSize,
//'key': this.dataForm.key,
'bookId' : this.bookid
})
// data: {
method: 'post',
// params: this.$http.adornParams({
// 'page': this.pageIndex,
// 'limit': this.pageSize,
// // //'key': this.dataForm.key,
// 'bookid' : this.bookid
// }
// 'limit': this.pageSize,
// //'key': this.dataForm.key,
// 'id' : this.bookid
// })
data: this.$http.adornData({
'page': this.pageIndex,
'limit': this.pageSize,
// //'key': this.dataForm.key,
'id' : this.bookid
})
}).then(({data}) => {
if (data && data.code === 0) {
this.dataList = data.page.records

View File

@@ -7,8 +7,8 @@
// api接口请求地址
// window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.100:9200/pb';
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
// window.SITE_CONFIG['baseUrl'] = 'https://testapi.nuttyreading.com'; // 线上测试环境
window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.38:9200/pb';
window.SITE_CONFIG['baseUrl'] = 'https://testapi.nuttyreading.com'; // 线上测试环境
// window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.38:9200/pb';
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
// cdn地址 = 域名 + 版本号