.
This commit is contained in:
@@ -149,19 +149,19 @@
|
|||||||
this.$http({
|
this.$http({
|
||||||
// url: this.$http.adornUrl('/forum/articles/list'),
|
// url: this.$http.adornUrl('/forum/articles/list'),
|
||||||
url: this.$http.adornUrl('/book/clock/getBookClocks'),
|
url: this.$http.adornUrl('/book/clock/getBookClocks'),
|
||||||
method: 'get',
|
method: 'post',
|
||||||
params: this.$http.adornParams({
|
// params: this.$http.adornParams({
|
||||||
'page': this.pageIndex,
|
|
||||||
'limit': this.pageSize,
|
|
||||||
//'key': this.dataForm.key,
|
|
||||||
'bookId' : this.bookid
|
|
||||||
})
|
|
||||||
// data: {
|
|
||||||
// 'page': this.pageIndex,
|
// 'page': this.pageIndex,
|
||||||
// 'limit': this.pageSize,
|
// 'limit': this.pageSize,
|
||||||
// // //'key': this.dataForm.key,
|
// //'key': this.dataForm.key,
|
||||||
// 'bookid' : this.bookid
|
// 'id' : this.bookid
|
||||||
// }
|
// })
|
||||||
|
data: this.$http.adornData({
|
||||||
|
'page': this.pageIndex,
|
||||||
|
'limit': this.pageSize,
|
||||||
|
// //'key': this.dataForm.key,
|
||||||
|
'id' : this.bookid
|
||||||
|
})
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
if (data && data.code === 0) {
|
if (data && data.code === 0) {
|
||||||
this.dataList = data.page.records
|
this.dataList = data.page.records
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
// api接口请求地址
|
// api接口请求地址
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.100:9200/pb';
|
// 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'] = 'http://59.110.212.44:9200/pb';
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'https://testapi.nuttyreading.com'; // 线上测试环境
|
window.SITE_CONFIG['baseUrl'] = 'https://testapi.nuttyreading.com'; // 线上测试环境
|
||||||
window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.38:9200/pb';
|
// window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.38:9200/pb';
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
|
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
|
||||||
|
|
||||||
// cdn地址 = 域名 + 版本号
|
// cdn地址 = 域名 + 版本号
|
||||||
|
|||||||
Reference in New Issue
Block a user