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 index 64142988cd6be5b516f7b942ed51903595ac4690..f49c3901777ac5d8c16e5ae2dda3bdf6bd47452f 100644 --- 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 @@ -52,5 +52,22 @@ "privateKey": "支付宝小程序登录用到的appid、privateKey请参考支付宝小程序的文档进行设置或者获取,https://opendocs.alipay.com/open/291/105971#LDsXr" } } - } + }, + "service": { + "sms": { + "name": "应用名称,对应短信模版的name", + "codeExpiresIn": 180, + "smsKey": "短信密钥key,开通短信服务处可以看到", + "smsSecret": "短信密钥secret,开通短信服务处可以看到", + "scene": { + "bind-mobile-by-sms": { + "templateId": "绑定手机号使用的短信验证码模板", + "codeExpiresIn": 240 + } + } + }, + "univerify": { + "appid": "当前应用的appid,使用云函数URL化,此项必须配置" + } + } }