From c531c0c7eee2e31f5d3d82fe9e8e0c2d2b617d47 Mon Sep 17 00:00:00 2001 From: DCloud_json <630033903@qq.com> Date: Wed, 12 May 2021 17:23:19 +0800 Subject: [PATCH] Add new file --- .../uni-config-center/uni-id/config.json | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json diff --git a/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json b/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json new file mode 100644 index 0000000..d64dd1b --- /dev/null +++ b/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json @@ -0,0 +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": "", + "appsecret": "" + }, + "apple": { + "bundleId": "" + } + } + }, + "mp-weixin": { + "oauth": { + "weixin": { + "appid": "", + "appsecret": "" + } + } + }, + "mp-alipay": { + "oauth": { + "alipay": { + "appid": "alipay appid", + "privateKey": "alipay privateKey" + } + } + }, + "service": { + "sms": { + "name": "DCloud", + "codeExpiresIn": 300, + "smsKey": "", + "smsSecret": "" + }, + "univerify": { + "appid": "__UNI__03B096E", + "apiKey": "", + "apiSecret": "" + } + } +} -- GitLab