@bnfe/lark-utils
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@bnfe/lark-utils", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "lark-utils", | ||
@@ -12,3 +12,5 @@ "main": "dist/lark-utils.cjs.js", | ||
], | ||
"keywords": [], | ||
"keywords": [ | ||
"lark" | ||
], | ||
"author": "", | ||
@@ -15,0 +17,0 @@ "license": "MIT", |
@@ -22,3 +22,9 @@ ## @bnfe/lark-utils | ||
```js | ||
larkSDK.baseLogin("appId", "env"); | ||
/** | ||
* 飞书授权登录-免登 | ||
* @param {string} appId 飞书应用的appId | ||
* @param {string} env 环境变量 | ||
* @return Promise | ||
*/ | ||
larkSDK.baseLogin(appId, env); | ||
``` | ||
@@ -29,5 +35,12 @@ | ||
```js | ||
larkSDK.login("appId"); | ||
/** | ||
* 飞书授权登录-鉴权 | ||
* @param {string} appId 飞书应用的appId | ||
* @param {string} env 环境变量 | ||
* @param {string[]} jsApiList 需要授权的接口 | ||
* @return Promise | ||
*/ | ||
larkSDK.login(appId, env, jsApiList); | ||
``` | ||
> 也可以在window上获取larkSDK的方法 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15060
45