diff --git a/src/views/modules/book/clock.vue b/src/views/modules/book/clock.vue index 5395cb4..6d908a0 100644 --- a/src/views/modules/book/clock.vue +++ b/src/views/modules/book/clock.vue @@ -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 diff --git a/static/config/index.js b/static/config/index.js index 62f3a43..1e28d0a 100644 --- a/static/config/index.js +++ b/static/config/index.js @@ -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地址 = 域名 + 版本号