From adebb45ee5b5ed92e7a607c398e83aa0399a47c9 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Sun, 27 Jul 2025 22:16:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83v1.9=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/owner/ownerApi.js | 12 +++++++----- conf/config.js | 8 ++++---- constant/UrlConstant.js | 2 +- pages.json | 3 --- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/api/owner/ownerApi.js b/api/owner/ownerApi.js index 2d777af..567acf8 100644 --- a/api/owner/ownerApi.js +++ b/api/owner/ownerApi.js @@ -400,11 +400,13 @@ export function authOwner(_data) { data: _data, success: function(res) { let _json = res.data; - uni.showToast({ - title: _json.msg, - icon: 'none', - duration: 5000 - }); + setTimeout(function(){ + uni.showToast({ + title: _json.msg, + icon: 'none', + duration: 5000 + }); + },1000) if (_json.code != 0) { reject(_json.msg); return; diff --git a/conf/config.js b/conf/config.js index 01525a7..bed0e05 100644 --- a/conf/config.js +++ b/conf/config.js @@ -15,20 +15,20 @@ const baseUrl = '/'; // #ifndef H5 //服务器域名 小程序 或者 app 时 后端地址 -const baseUrl = 'https://crsdt.cn/'; +const baseUrl = 'http://demo.homecommunity.cn/'; // #endif -let commonBaseUrl = 'https://crsdt.cn/'; +let commonBaseUrl = 'http://demo.homecommunity.cn/'; //商城的url -let mallUrl = 'http://mallapp.crsdt.cn/'; +let mallUrl = 'http://mallapp.homecommunity.cn/'; //商城小程序ID let mallMinAppId = "xx"; //默认的小区ID和名称,用户还没有登录时显示的小区信息 -let DEFAULT_COMMUNITY_ID = "2024121997074180"; //HC测试小区id 用于没有登录时展示相关信息 +let DEFAULT_COMMUNITY_ID = "2025071810280004"; //HC测试小区id 用于没有登录时展示相关信息 let DEFAULT_COMMUNITY_NAME = "演示小区"; // APP 或者 公众号 appId diff --git a/constant/UrlConstant.js b/constant/UrlConstant.js index 77aaa6d..4782f3a 100644 --- a/constant/UrlConstant.js +++ b/constant/UrlConstant.js @@ -22,7 +22,7 @@ const listOwnerRepairs = baseUrl + 'app/ownerRepair.listOwnerRepairs'; //查询 const saveOwner = baseUrl + 'app/owner.saveOwnerMember'; //家庭成员列表 -const queryOwnerMembers = baseUrl + 'app/owner.queryOwnerMembers'; //投诉建议列表 +const queryOwnerMembers = baseUrl + 'app/owner.queryAppOwnerMembers'; //投诉建议列表 const listComplaints = baseUrl + 'app/complaint.listComplaints'; //添加投诉建议 diff --git a/pages.json b/pages.json index 2a78db5..fda4a9f 100644 --- a/pages.json +++ b/pages.json @@ -1117,15 +1117,12 @@ "iconPath": "static/images/rent.png", "selectedIconPath": "static/images/rent-selected.png" }, - - { "pagePath": "pages/mall/mall", "text": "商圈", "iconPath": "static/images/market.png", "selectedIconPath": "static/images/market-selected.png" }, - { "pagePath": "pages/my/my", "text": "我的",