egg_tools/test/lark.ts
2025-04-03 13:31:28 +00:00

12 lines
256 B
TypeScript

import { LarkService } from "../packages/net-tool/src/index"
const larkService = new LarkService({
appId: "appId",
appSecret: "appSecret",
})
larkService.user
.code2Login("")
.then((res) => console.log(res))
.catch((err) => console.error(err))