提交 3e222bfb 编写于 作者: d-u-a's avatar d-u-a

secret-net: 更新方法名说明

上级 df7da244
......@@ -126,6 +126,7 @@ module.exports = {
const methodName = this.getMethodName()
const clientInfo = this.getClientInfo()
const secretType = clientInfo.secretType
// methodName 是客户端调用的方法名
// secretType 是客户端调用 uniCloud.importObject 传递的参数 secretMethods
if (methodName === 'login' && (secretType !== 'both' || secretType !== 'response')) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册