-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 更新api.md,增加厂商通道参数设置方法 & 新增查询设备在线状态的接口
* 修复getReportStatus参数问题
- Loading branch information
dengff
committed
Jul 6, 2020
1 parent
a87b5d0
commit 4617e78
Showing
6 changed files
with
92 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
var JPush = require("../index.js").JPushAsync; | ||
var Conf = require("./Conf.js"); | ||
|
||
var client = JPush.buildClient(Conf.appKey, Conf.masterSecret); | ||
|
||
async function getReportStatusMessage() { | ||
const data = await client.getReportStatusMessage(23223422, ['24243242']); | ||
if (data.err) { | ||
console.log(data.err); | ||
} else { | ||
console.log(data.res); | ||
} | ||
} | ||
getReportStatusMessage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters