From aaca2f938c46b6f58bafc2fbeebd14836217edeb Mon Sep 17 00:00:00 2001 From: chenghuan Date: Wed, 20 May 2026 13:28:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=A2=9E=E5=8A=A0=E5=A6=87=E5=B9=BC?= =?UTF-8?q?=E7=94=9F=E6=AE=96vip=E7=9B=B8=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将应用版本号更新至1.0.60 - 修改开发环境baseUrl配置,切换至本地测试地址 - 在多个页面中新增"妇幼生殖"角色及相关VIP权限说明 - 优化VIP权限文案,明确不包含论坛权益 --- config/baseUrl.js | 4 ++-- config/requestConfig.js | 3 ++- manifest.json | 4 ++-- pages/curriculum/order/index.vue | 6 +++++- pages/my/index.vue | 3 +++ pages/vip/index.vue | 6 +++--- 6 files changed, 17 insertions(+), 9 deletions(-) diff --git a/config/baseUrl.js b/config/baseUrl.js index 36898be..c67c7af 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -3,8 +3,8 @@ let socketUrl = ""; if (process.env.NODE_ENV === 'development') { // 开发环境 // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 - baseUrl = "https://api.nuttyreading.com/"; //线上正式 - // baseUrl = "http://192.168.110.131:9200/pb/"; // 王亚男 + // baseUrl = "https://api.nuttyreading.com/"; //线上正式 + baseUrl = "http://192.168.110.131:9200/pb/"; // 王亚男 } else if (process.env.NODE_ENV === 'production') { // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 baseUrl = "https://api.nuttyreading.com/"; //线上正式 diff --git a/config/requestConfig.js b/config/requestConfig.js index ca0cf6a..e12f654 100644 --- a/config/requestConfig.js +++ b/config/requestConfig.js @@ -265,7 +265,8 @@ $http.dataFactory = async function (res) { // 返回错误的结果(catch接受数据) return Promise.reject({ statusCode: 0, - errMsg: "【request】" + (httpData.info || httpData.msg), + // errMsg: "【request】" + (httpData.info || httpData.msg), + errMsg: (httpData.info || httpData.msg), data: res.data }); } diff --git a/manifest.json b/manifest.json index 83cce9f..1bffb29 100644 --- a/manifest.json +++ b/manifest.json @@ -2,9 +2,9 @@ "name" : "心灵空间", "appid" : "__UNI__BBBDFD2", "description" : "心灵空间", - "versionName" : "1.0.58", + "versionName" : "1.0.60", "sassImplementationName" : "node-sass", - "versionCode" : 1058, + "versionCode" : 1060, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/curriculum/order/index.vue b/pages/curriculum/order/index.vue index a4f0ee9..599a401 100644 --- a/pages/curriculum/order/index.vue +++ b/pages/curriculum/order/index.vue @@ -631,6 +631,8 @@ export default { role = '心理学'; } else if (type == 9) { role = '中西汇通学'; + } else if (type == 10) { + role = '妇幼生殖'; } if (res.userVip.endTime) { var time = res.userVip.endTime ? res.userVip.endTime.split(' ')[0] : '' @@ -638,7 +640,7 @@ export default { var time = '' } - this.goBuyTitle = '尊贵的' + role + 'VIP,您的有效期到' + time; + this.goBuyTitle = '尊贵的' + role + 'VIP,您的有效期到' + time + '(不包含论坛)'; this.goBuyType = 1; } else { //否则没有开通vip this.goBuyTitle = ''; @@ -677,6 +679,8 @@ export default { text = '心理学'; } else if (item == '9') { text = '中西汇通学'; + } else if (item == '10') { + text = '妇幼生殖'; } this.textList.push(text); }); diff --git a/pages/my/index.vue b/pages/my/index.vue index 223961e..e2a9585 100644 --- a/pages/my/index.vue +++ b/pages/my/index.vue @@ -393,6 +393,9 @@ export default { }else if(item.type=='9'){ item.text = '中西汇通学'; this.textList.push(item.text); + }else if(item.type=='10'){ + item.text = '妇幼生殖'; + this.textList.push(item.text); }else if(item.type=='1'){ item.text = '医学S'; }else if(item.type=='2'){ diff --git a/pages/vip/index.vue b/pages/vip/index.vue index 7c2837a..6bad912 100644 --- a/pages/vip/index.vue +++ b/pages/vip/index.vue @@ -39,9 +39,9 @@ VIP权限: - 无限制观看众妙之门APP与心灵空间APP任意课程; - 无限制观看众妙之门APP任意课程; - 无限制观看心灵空间APP任意课程; + 无限制观看众妙之门APP与心灵空间APP任意课程(不包含论坛); + 无限制观看众妙之门APP任意课程(不包含论坛); + 无限制观看心灵空间APP任意课程(不包含论坛); {{item.title.replace(/超级VIP/g, '')}}