From e3d6da86c43c58596f2a5383235f6d892a01a600 Mon Sep 17 00:00:00 2001 From: linju-json Date: Mon, 7 Jun 2021 20:06:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E8=BF=8E=E5=90=88=E8=8B=B9=E6=9E=9CAp?= =?UTF-8?q?p=20Store=E7=9A=84=E8=A7=84=E5=88=99=EF=BC=8C=E7=99=BB=E9=99=86?= =?UTF-8?q?=E4=B8=8E=E5=88=86=E4=BA=AB=E5=8A=9F=E8=83=BD=E9=A1=B9=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B9=8B=E5=89=8D=E8=87=AA=E5=8A=A8=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E5=AE=89=E8=A3=85=E4=BA=86=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AB=AF=E3=80=82=E6=AF=94=E5=A6=82=EF=BC=9A?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=9C=AA=E5=AE=89=E8=A3=85=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E5=88=99=E4=B8=8D=E6=98=BE=E7=A4=BA=E5=BE=AE=E4=BF=A1=E5=BF=AB?= =?UTF-8?q?=E6=8D=B7=E7=99=BB=E9=99=86=E5=92=8C=E5=BE=AE=E4=BF=A1=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E9=80=89=E9=A1=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules_tools/change_after.js | 2 +- uni_modules_tools/copy/manifest.json | 225 ++++++++++-------- .../uni-config-center/uni-id/config.json | 100 ++++---- 3 files changed, 172 insertions(+), 155 deletions(-) diff --git a/uni_modules_tools/change_after.js b/uni_modules_tools/change_after.js index 502f3e7..714bbd1 100644 --- a/uni_modules_tools/change_after.js +++ b/uni_modules_tools/change_after.js @@ -13,7 +13,7 @@ module.exports = function(){ shell.echo('Error: Git add failed'); shell.exit(1); } - if (exec(`git commit -am "${changelog}"`).code !== 0) { + if (exec(`git commit -a -m "${changelog}"`).code !== 0) { shell.echo('Error: Git commit failed'); shell.exit(1); } diff --git a/uni_modules_tools/copy/manifest.json b/uni_modules_tools/copy/manifest.json index 2b19460..762f6f9 100644 --- a/uni_modules_tools/copy/manifest.json +++ b/uni_modules_tools/copy/manifest.json @@ -1,112 +1,129 @@ { - "name" : "uni-starter", - "appid" : "__UNI__03B096E", - "description" : "云端一体应用快速开发模版", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - "app-plus" : { - "privacy" : { - "prompt" : "template", - "template" : { - "title" : "服务协议和隐私政策", - "message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《服务协议》《隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", - "buttonAccept" : "同意", - "buttonRefuse" : "暂不同意" - } + "name": "uni-starter", + "appid": "", + "description": "云端一体应用快速开发模版", + "versionName": "1.0.0", + "versionCode": "100", + "transformPx": false, + "app-plus": { + "privacy": { + "prompt": "template", + "template": { + "title": "服务协议和隐私政策", + "message": "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《服务协议》《隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", + "buttonAccept": "同意", + "buttonRefuse": "暂不同意" + } + }, + "compatible": { + "ignoreVersion": true + }, + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 + }, + "modules": { + "Fingerprint": { + }, + "Share": { + }, + "Push": { + }, + "OAuth": { + }, + "FaceID": { + } + }, + "distribute": { + "android": { + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "abiFilters": [ + "armeabi-v7a", + "arm64-v8a", + "x86" + ] + }, + "ios": { + }, + "sdkConfigs": { + "oauth": { + "univerify": { + }, + "apple": { + }, + "weixin": { + "appid": "wxffdd8fa6ec4ef2a0", + "appsecret": "", + "UniversalLinks": "" + } }, - "compatible" : { - "ignoreVersion" : true + "ad": { }, - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 + "share": { + "weixin": { + "appid": "wxffdd8fa6ec4ef2a0", + "UniversalLinks": "" + } }, - "modules" : { - "Fingerprint" : {}, - "Share" : {}, - "Push" : {}, - "OAuth" : {}, - "FaceID" : {} + "geolocation": { }, - "distribute" : { - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ] - }, - "ios" : {}, - "sdkConfigs" : { - "oauth" : { - "univerify" : {}, - "apple" : {}, - "weixin" : { - "appid" : "wxffdd8fa6ec4ef2a0", - "appsecret" : "", - "UniversalLinks" : "" - } - }, - "ad" : {}, - "share" : { - "weixin" : { - "appid" : "wxffdd8fa6ec4ef2a0", - "UniversalLinks" : "" - } - }, - "geolocation" : {}, - "push" : { - "unipush" : {} - }, - "payment" : {} - } + "push": { + "unipush": { + } }, - "nvueLaunchMode" : "" - }, - "quickapp" : {}, - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false, - "es6" : false - }, - "usingComponents" : true, - "betterScopedSlots" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true + "payment": { + } + } }, - "uniStatistics" : { - "enable" : false + "nvueLaunchMode": "" + }, + "quickapp": { + }, + "mp-weixin": { + "appid": "", + "setting": { + "urlCheck": false, + "es6": false }, - "h5" : { - "template" : "" - } -} + "usingComponents": true, + "betterScopedSlots": true + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "h5": { + "template": "" + } +} \ No newline at end of file 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 02ce9bb..9655ed1 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 @@ -1,52 +1,52 @@ { - "passwordSecret": "passwordSecret-demo", - "tokenSecret": "tokenSecret-demo", - "tokenExpiresIn": 7200, - "tokenExpiresThreshold": 600, - "passwordErrorLimit": 6, - "bindTokenToDevice": true, - "passwordErrorRetryTime": 3600, - "autoSetInviteCode": false, - "forceInviteCode": false, - "app-plus": { - "tokenExpiresIn": 2592000, - "oauth": { - "weixin": { - "appid": "wxffdd8fa6ec4ef2a0", - "appsecret": "6c9119430d7be0a147bcbbb73ef33acf" - }, - "apple": { - "bundleId": "io.dcloud.hellouniapp" - } - } - }, - "mp-weixin": { - "oauth": { - "weixin": { - "appid": "wx81dbb061d2258234", - "appsecret": "73be6e8b8b31b7b0783fe448cc1fe820" - } - } - }, - "mp-alipay": { - "oauth": { - "alipay": { - "appid": "alipay appid", - "privateKey": "alipay privateKey" - } - } - }, - "service": { - "sms": { - "name": "DCloud", - "codeExpiresIn": 300, - "smsKey": "71a19f38c954f7d768d68a050486bf15", - "smsSecret": "d6c424b702d73baa3b6e1a1452469213" - }, - "univerify": { - "appid": "__UNI__03B096E", - "apiKey": "3fc28519d90d74173bcecf2daf4ffcc4", - "apiSecret": "dd793e5bc4b372ce932f35bbb4c5d61b" - } - } + "passwordSecret": "passwordSecret-demo", + "tokenSecret": "tokenSecret-demo", + "tokenExpiresIn": 7200, + "tokenExpiresThreshold": 600, + "passwordErrorLimit": 6, + "bindTokenToDevice": true, + "passwordErrorRetryTime": 3600, + "autoSetInviteCode": false, + "forceInviteCode": false, + "app-plus": { + "tokenExpiresIn": 2592000, + "oauth": { + "weixin": { + "appid": "", + "appsecret": "" + }, + "apple": { + "bundleId": "" + } + } + }, + "mp-weixin": { + "oauth": { + "weixin": { + "appid": "", + "appsecret": "" + } + } + }, + "mp-alipay": { + "oauth": { + "alipay": { + "appid": "", + "privateKey": "" + } + } + }, + "service": { + "sms": { + "name": "", + "codeExpiresIn": 300, + "smsKey": "", + "smsSecret": "" + }, + "univerify": { + "appid": "", + "apiKey": "", + "apiSecret": "" + } + } } \ No newline at end of file -- GitLab