.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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地址 = 域名 + 版本号
|
||||
|
||||
Reference in New Issue
Block a user