@easy-front-core-sdk/top
v1.5.5
Published
核心模块-淘宝开放平台
Downloads
10
Readme
top
淘宝开放平台(Taobao Open Platform)
Usage
初始化
import { TopCoreFactory } from '@easy-front-core-sdk/top';
const topCore = TopCoreFactory.putCore({
appKey: 'YOUR_APP_KEY',
appSecret: 'YOUR_APP_SECRET',
});
if (topCore) {
console.log(`TopCore 初始化成功`);
} else {
console.log(`TopCore 初始化失败`);
}
使用
const topCore = TopCoreFactory.getCore('YOUR_APP_KEY');