1.0.6 • Published 6 years ago

tpf-sdk v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

tpf-sdk

使用方法

var tpfSdk = require("tpf-sdk")

// 填入分配的secret
tpfSdk.setAppSecret(secret)
// 填入分配的 appId
tpfSdk.setAppId(2000)
// 填入 分配的 appKey
tpfSdk.setAppKey("generalKeyDef")

// 此函数返回 http 消息所需要的 http 头
// @providerId 服务提供者id
// @msgId 消息id
// @content js对象 要发送的消息内容 eg: { "id": 1}
var headers = tpfSdk.headers(providerId, msgId, content)
1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago