From 5ac52954c38c9ab08d5cf8e98a179157c66de4c0 Mon Sep 17 00:00:00 2001 From: eternity Date: Thu, 7 Jul 2022 19:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=B4=BB=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.config.json | 4 ++-- project.private.config.json | 15 +++------------ utils/common.js | 8 ++++++-- 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/project.config.json b/project.config.json index 913cf2d..c0f921a 100644 --- a/project.config.json +++ b/project.config.json @@ -23,7 +23,7 @@ "uploadWithSourceMap": true, "compileHotReLoad": false, "lazyloadPlaceholderEnable": false, - "useMultiFrameRuntime": false, + "useMultiFrameRuntime": true, "useApiHook": false, "useApiHostProcess": false, "babelSetting": { @@ -103,4 +103,4 @@ ] } } -} +} \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json index 3842492..6b13910 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -5,15 +5,6 @@ "projectname": "bml_travel_applets", "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "condition": { - "plugin": { - "list": [] - }, - "game": { - "list": [] - }, - "gamePlugin": { - "list": [] - }, "miniprogram": { "list": [ { @@ -362,10 +353,10 @@ "name": "", "pathName": "pages/release/addactive/addactive", "query": "", - "scene": null, - "launchMode": "default" + "launchMode": "default", + "scene": null } ] } } -} +} \ No newline at end of file diff --git a/utils/common.js b/utils/common.js index 727345c..0a024db 100644 --- a/utils/common.js +++ b/utils/common.js @@ -101,10 +101,13 @@ var HOST_URI = 'https://api.tuleduo.cn'; let API_Setmember='/open/club/member/edit'//成员列表       let API_getClubMessagePage= '/open/massage/club/pages' //俱乐部消息 let API_getSystemMessagePage= '/open/massage/system/pages' //系统消息 - + let API_removeActivity = '/open/club/activity/remove'//删除活动  function SetMember(){   return HOST_URI + API_Setmember;  } + function removeActivity(){ + return HOST_URI + API_removeActivity; + }  function memberLsit(){   return HOST_URI + API_memberList;  } @@ -456,5 +459,6 @@ function getClubMessagePage(){ checkUserClubRole, checkUserClubActivity, getClubMessagePage, - getSystemMessagePage + getSystemMessagePage, + removeActivity };