From 68b640155397cb8b1147f290f2eabb1ff50e4aa7 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Wed, 27 Sep 2023 10:02:52 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/book/bookchapter-add-or-update.vue | 2 +- static/config/index.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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地址 = 域名 + 版本号