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