From a8430479a926fc48506cfc709b8cdadb9f7f2eb6 Mon Sep 17 00:00:00 2001 From: linju-json Date: Wed, 1 Sep 2021 13:34:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E4=BA=86=E6=9B=B4=E7=9B=B4=E8=A7=82?= =?UTF-8?q?=E7=90=86=E8=A7=A3=E8=B7=AF=E7=94=B1=E6=8B=A6=E6=88=AA=E3=80=82?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=B7=AF=E7=94=B1=E6=8B=A6=E6=88=AA=E5=99=A8?= =?UTF-8?q?=E4=B8=AD=EF=BC=8C=E9=BB=98=E8=AE=A4=E8=BF=87=E6=BB=A4=E7=99=BB?= =?UTF-8?q?=E9=99=86=E7=9B=B8=E5=85=B3=E9=A1=B5=E9=9D=A2=E6=8B=A6=E6=88=AA?= =?UTF-8?q?=E7=9A=84=E9=80=BB=E8=BE=91=E3=80=82=E7=A1=AE=E4=BF=9D=E6=89=80?= =?UTF-8?q?=E6=9C=89=E7=99=BD=E5=90=8D=E5=8D=95=E9=A1=B5=E9=9D=A2=E5=9D=87?= =?UTF-8?q?=E5=9C=A8=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6router.visitor?= =?UTF-8?q?=E4=B8=AD=E4=BD=93=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- uni_modules_tools/copy/manifest.json | 388 +++++++++--------- .../uni-config-center/uni-id/config.json | 24 +- 3 files changed, 217 insertions(+), 197 deletions(-) diff --git a/manifest.json b/manifest.json index 4d879fd..d70cfa7 100644 --- a/manifest.json +++ b/manifest.json @@ -221,4 +221,4 @@ } //... // 中文(简体) -// 应用名称 +// 应用名称 \ No newline at end of file diff --git a/uni_modules_tools/copy/manifest.json b/uni_modules_tools/copy/manifest.json index 48a249e..4d879fd 100644 --- a/uni_modules_tools/copy/manifest.json +++ b/uni_modules_tools/copy/manifest.json @@ -1,204 +1,224 @@ { - "name" : "统一应用基本项目", - "appid" : "__UNI__E5373F7", - "description" : "云端一体应用快速开发模版", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - "app-plus" : { - "locales" : { - "en" : { + "name": "统一应用基本项目", + "appid": "请点击重新获取", + "description": "云端一体应用快速开发模版", + "versionName": "1.0.0", + "versionCode": "100", + "transformPx": false, + "app-plus": { + "locales": { + "en": { // 英文 - "name" : "uni-starter", // 应用名称 - "android" : { - "strings" : { + "name": "uni-starter", // 应用名称 + "android": { + "strings": { //Android平台自定义字符串 - "CustomKey" : "CustomValue" - } - }, - "ios" : { - "privacyDescription" : { + "CustomKey": "CustomValue" + } + }, + "ios": { + "privacyDescription": { //iOS平台隐私访问描述信息 - "NSPhotoLibraryUsageDescription" : "access to the user’s photo library(read)" - }, - "infoPlist" : { + "NSPhotoLibraryUsageDescription": "access to the user’s photo library(read)" + }, + "infoPlist": { //iOS平台自定义InfoPlist.strings - "CustomKey" : "CustomValue" - } - } - }, - "zh" : { + "CustomKey": "CustomValue" + } + } + }, + "zh": { // 中文(简体) - "name" : "统一应用基本项目" // 应用名称 - } - }, - "privacy" : { - "prompt" : "template", - "template" : { - "title" : "服务协议和隐私政策", - "message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《服务协议》《隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", - "buttonAccept" : "同意", - "buttonRefuse" : "暂不同意" - } + "name": "统一应用基本项目" // 应用名称 + } + }, + "privacy": { + "prompt": "template", + "template": { + "title": "服务协议和隐私政策", + "message": "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《服务协议》《隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", + "buttonAccept": "同意", + "buttonRefuse": "暂不同意" + } + }, + "compatible": { + "ignoreVersion": true + }, + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": false, + "waiting": true, + "autoclose": true, + "delay": 0 + }, + "modules": { + "Fingerprint": { + }, + "Share": { + }, + "OAuth": { + }, + "FaceID": { + }, + "Push": { + }, + "Geolocation": { + } + }, + "distribute": { + "android": { + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "abiFilters": [ + "armeabi-v7a", + "arm64-v8a", + "x86" + ] + }, + "ios": { + "capabilities": { + "entitlements": { + "com.apple.developer.associated-domains": [ + "applinks:static-76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e.bspapp.com" + ] + } + } + }, + "sdkConfigs": { + "oauth": { + "apple": { + }, + "weixin": { + "appid": "", + "appsecret": "", + "UniversalLinks": "" + }, + "univerify": { + } }, - "compatible" : { - "ignoreVersion" : true + "ad": { }, - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : false, - "waiting" : true, - "autoclose" : true, - "delay" : 0 + "share": { + "weixin": { + "appid": "", + "UniversalLinks": "" + } }, - "modules" : { - "Fingerprint" : {}, - "Share" : {}, - "OAuth" : {}, - "FaceID" : {}, - "Push" : {}, - "Geolocation" : {} + "geolocation": { + "baidu": { + "__platform__": [ + "ios", + "android" + ], + "appkey_ios": "请填写地图的key", + "appkey_android": "请填写地图的key" + } }, - "distribute" : { - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ] - }, - "ios" : { - "capabilities" : { - "entitlements" : { - "com.apple.developer.associated-domains" : [ "applinks:static-76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e.bspapp.com" ] - } - } - }, - "sdkConfigs" : { - "oauth" : { - "apple" : {}, - "weixin" : { - "appid" : "wxffdd8fa6ec4ef2a0", - "appsecret" : "", - "UniversalLinks" : "" - }, - "univerify" : {} - }, - "ad" : {}, - "share" : { - "weixin" : { - "appid" : "wxffdd8fa6ec4ef2a0", - "UniversalLinks" : "" - } - }, - "geolocation" : { - "baidu" : { - "__platform__" : [ "ios", "android" ], - "appkey_ios" : "请填写地图的key", - "appkey_android" : "请填写地图的key" - } - }, - "push" : { - "unipush" : {} - }, - "payment" : {} - }, - "icons" : { - "android" : { - "hdpi" : "", - "xhdpi" : "", - "xxhdpi" : "", - "xxxhdpi" : "" - }, - "ios" : { - "appstore" : "", - "ipad" : { - "app" : "", - "app@2x" : "", - "notification" : "", - "notification@2x" : "", - "proapp@2x" : "", - "settings" : "", - "settings@2x" : "", - "spotlight" : "", - "spotlight@2x" : "" - }, - "iphone" : { - "app@2x" : "", - "app@3x" : "", - "notification@2x" : "", - "notification@3x" : "", - "settings@2x" : "", - "settings@3x" : "", - "spotlight@2x" : "", - "spotlight@3x" : "" - } - } - }, - "splashscreen" : { - "iosStyle" : "common", - "androidStyle" : "common" - } + "push": { + "unipush": { + } }, - "nvueLaunchMode" : "" - }, - "quickapp" : {}, - "mp-weixin" : { - "appid" : "wx81dbb061d2258234", - "setting" : { - "urlCheck" : false, - "es6" : false + "payment": { + } + }, + "icons": { + "android": { + "hdpi": "", + "xhdpi": "", + "xxhdpi": "", + "xxxhdpi": "" }, - "usingComponents" : true, - "betterScopedSlots" : true, - "permission" : { - "scope.userLocation" : { - "desc" : "演示在onShow生命周期获取地理位置" - } + "ios": { + "appstore": "", + "ipad": { + "app": "", + "app@2x": "", + "notification": "", + "notification@2x": "", + "proapp@2x": "", + "settings": "", + "settings@2x": "", + "spotlight": "", + "spotlight@2x": "" + }, + "iphone": { + "app@2x": "", + "app@3x": "", + "notification@2x": "", + "notification@3x": "", + "settings@2x": "", + "settings@3x": "", + "spotlight@2x": "", + "spotlight@3x": "" + } } + }, + "splashscreen": { + "iosStyle": "common", + "androidStyle": "common" + } }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true + "nvueLaunchMode": "" + }, + "quickapp": { + }, + "mp-weixin": { + "appid": "", + "setting": { + "urlCheck": false, + "es6": false }, - "mp-toutiao" : { - "usingComponents" : true - }, - "uniStatistics" : { - "enable" : false - }, - "h5" : { - "template" : "", - "sdkConfigs" : { - "maps" : { - "qqmap" : { - "key" : "" - } - } + "usingComponents": true, + "betterScopedSlots": true, + "permission": { + "scope.userLocation": { + "desc": "演示在onShow生命周期获取地理位置" + } + } + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "h5": { + "template": "", + "sdkConfigs": { + "maps": { + "qqmap": { + "key": "" } - }, - "_spaceID" : "", - "vueVersion" : "2" + } + } + }, + "_spaceID": "", + "vueVersion": "2" } //... // 中文(简体) // 应用名称 - diff --git a/uni_modules_tools/copy/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json b/uni_modules_tools/copy/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json index 9655ed1..bfc8dbf 100644 --- a/uni_modules_tools/copy/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json +++ b/uni_modules_tools/copy/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json @@ -12,40 +12,40 @@ "tokenExpiresIn": 2592000, "oauth": { "weixin": { - "appid": "", - "appsecret": "" + "appid": "填写来源微信开放平台https://open.weixin.qq.com/创建的应用的appid", + "appsecret": "填写来源微信开放平台https://open.weixin.qq.com/创建的应用的appsecret" }, "apple": { - "bundleId": "" + "bundleId": "苹果开发者后台获取的bundleId" } } }, "mp-weixin": { "oauth": { "weixin": { - "appid": "", - "appsecret": "" + "appid": "微信小程序登录所用的appid、appsecret需要在对应的小程序管理控制台获取", + "appsecret": "微信小程序后台获取的appsecret" } } }, "mp-alipay": { "oauth": { "alipay": { - "appid": "", - "privateKey": "" + "appid": "支付宝小程序登录用到的appid、privateKey请参考支付宝小程序的文档进行设置或者获取,https://opendocs.alipay.com/open/291/105971#LDsXr", + "privateKey": "支付宝小程序登录用到的appid、privateKey请参考支付宝小程序的文档进行设置或者获取,https://opendocs.alipay.com/open/291/105971#LDsXr" } } }, "service": { "sms": { - "name": "", + "name": "应用名称,对应短信模版的name", "codeExpiresIn": 300, - "smsKey": "", - "smsSecret": "" + "smsKey": "短信密钥key,开通短信服务处可以看到", + "smsSecret": "短信密钥secret,开通短信服务处可以看到" }, "univerify": { - "appid": "", - "apiKey": "", + "appid": "当前应用的appid,使用云函数URL化,此项必须配置", + "apiKey": "apiKey 和 apiSecret 在开发者中心获取,开发者中心:https://dev.dcloud.net.cn/uniLogin/index?type=0,文档:https://ask.dcloud.net.cn/article/37965", "apiSecret": "" } } -- GitLab