From 6005345c3ee350fc7c4408a7918a56bb4599165c Mon Sep 17 00:00:00 2001 From: linju-json Date: Wed, 23 Jun 2021 11:07:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4callFunction=E6=8B=A6?= =?UTF-8?q?=E6=88=AA=E5=99=A8=E4=B8=AD=E5=A4=9A=E4=BD=99=E7=9A=84=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + changelog.md | 2 ++ common/appInit.js | 5 ----- manifest.json | 2 +- package.json | 2 +- uni_modules_tools/config.js | 5 +++-- 6 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1e5ef53..e05e497 100644 --- a/README.md +++ b/README.md @@ -385,6 +385,7 @@ uni-starter │ | ├─static 存放应用引用的本地静态资源(如图片、视频等)的目录,注意:静态资源只能存放于此 ├─uni_modules 存放[uni_module](/uni_modules)规范的插件。 +├─uni_modules_tools uni_modules插件上传辅助脚本 详情。 ├─main.js Vue初始化入口文件 ├─App.vue 应用配置,用来配置App全局样式以及监听 应用生命周期 ├─uni-starter.config uni-starter的前端的配置文件,项目所有模块的配置在这里填写。详见该文件的代码注释。 diff --git a/changelog.md b/changelog.md index 883f650..b71dd5f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +## 1.0.24(2021-06-23) +删除callFunction拦截器中多余的代码 ## 1.0.23(2021-06-22) 更正调试遗留的uni-config-center/uni-id/config.json的tokenExpiresIn=1配置问题,改为默认值7200 ## 1.0.22(2021-06-22) diff --git a/common/appInit.js b/common/appInit.js index 605630e..d4b4c30 100644 --- a/common/appInit.js +++ b/common/appInit.js @@ -211,11 +211,6 @@ export default function() { url: "/pages/ucenter/login-page/index/index" }) break; - case 30203: - uni.navigateTo({ - url: "/pages/ucenter/login-page/index/index" - }) - break; case 50101: uni.showToast({ title: e.result.msg, diff --git a/manifest.json b/manifest.json index ece5063..a41fbb5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "uni-starter", - "appid": "", + "appid": "请点击重新获取", "description": "云端一体应用快速开发模版", "versionName": "1.0.0", "versionCode": "100", diff --git a/package.json b/package.json index c2514a3..242b6e0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "id": "uni-starter", "displayName": "uni-starter", - "version": "1.0.23", + "version": "1.0.24", "description": "云端一体应用快速开发基本项目模版", "keywords": [ "uni-starter", diff --git a/uni_modules_tools/config.js b/uni_modules_tools/config.js index c71e67c..e9852e9 100644 --- a/uni_modules_tools/config.js +++ b/uni_modules_tools/config.js @@ -1,9 +1,10 @@ // "文件路径" : {"键名":"改成什么"} { "/manifest.json": { - "appid": "" //清空appid + "appid": "请点击重新获取" //清空appid }, - "/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json": { + "/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json": { + "tokenExpiresIn": 7200, "app-plus": { "oauth": { "weixin": { -- GitLab