jc-tag
v0.1.8
Published
jc-tag
Downloads
54
Readme
1. 下载依赖
npm i jc-tag
2. 使用
// 1.导入依赖
import tag from 'jc-tag'
// 2.new出一个标签服务对象 TAG_SYSTEM_HOST:标签服务地址
const tagEntity = new tag(TAG_SYSTEM_HOST)
// 3.调用里面的 getApplicationByAppName() 方法获取appId 或调用 registerApplication()方法注册应用并获取appId
// 4.调用登录方法拿到token
// 5.调用您想使用的API