From 0097caebeb0aff46aa0661629d59705350147ff3 Mon Sep 17 00:00:00 2001 From: handongxun Date: Thu, 8 Sep 2022 16:35:53 +0800 Subject: [PATCH] =?UTF-8?q?secret-net:=20=E8=A1=A5=E5=85=85=20secretMethod?= =?UTF-8?q?s=20=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/uniCloud/secret-net.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/uniCloud/secret-net.md b/docs/uniCloud/secret-net.md index 63d33cef8..7d5e4878b 100644 --- a/docs/uniCloud/secret-net.md +++ b/docs/uniCloud/secret-net.md @@ -103,7 +103,7 @@ uniCloud.importObject('object-name', { ``` -**secret 属性说明** +**secretType 属性说明**@secretType |值 |描述 | |:-: |:-: | @@ -114,7 +114,7 @@ uniCloud.importObject('object-name', { **secretMethods 属性说明** -`secretMethods` 是云对象中指定需要加密的方法名。因为云对象导入后,调用方法时没有额外指定的方式,所以集中在这里配置。如果不配置,则云对象的所有方法请求时都会加密。 +`secretMethods` 是云对象中指定需要加密的方法名。可对每个方法配置,例如: `secretMethods: {'login':'both'}`,指定 `login` 方法的 `secretType` 为 both ## 小贴士 -- GitLab