diff --git a/src/views/modules/book/bookchapter-add-or-update.vue b/src/views/modules/book/bookchapter-add-or-update.vue index 8418e34..302587c 100644 --- a/src/views/modules/book/bookchapter-add-or-update.vue +++ b/src/views/modules/book/bookchapter-add-or-update.vue @@ -209,7 +209,7 @@ import global from '../../common/common.vue' //引入共用组间 this.$refs['dataForm'].validate((valid) => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/book/bookchapter/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/book/bookchapter/${!this.dataForm.id ? 'save' : 'updateBookChapter'}`), method: 'post', data: this.$http.adornData({ 'id': this.dataForm.id || undefined, diff --git a/static/config/index.js b/static/config/index.js index 6b26f08..9c88ed2 100644 --- a/static/config/index.js +++ b/static/config/index.js @@ -5,7 +5,9 @@ window.SITE_CONFIG = {}; // 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://192.168.110.110:9200/pb'; // window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb'; // cdn地址 = 域名 + 版本号