文章詳情頁
java - 極光推送怎么判斷用戶在線狀態
瀏覽:153日期:2023-12-21 17:18:13
問題描述
可以直接推送消息,但是判斷是否在線拋異常:
Got error response - responseCode:403, responseContent:{'error':{'code':2004,'message':'Need permission to perform this action.'}}Request is forbidden! Maybe your appkey is listed in blacklist or your params is invalid.
調用的方法:public Map<String,OnlineStatus> getUserOnlineStatus(String... registrationIds)
throws cn.jiguang.common.resp.APIConnectionException,cn.jiguang.common.resp.APIRequestException
問題解答
回答1:403拒絕訪問這個接口是付費調用的吧。
標簽:
java
相關文章:
1. boot2docker無法啟動2. docker-compose中volumes的問題3. 關docker hub上有些鏡像的tag被標記““This image has vulnerabilities””4. nignx - docker內nginx 80端口被占用5. docker容器呢SSH為什么連不通呢?6. 關于docker下的nginx壓力測試7. docker安裝后出現Cannot connect to the Docker daemon.8. node.js - antdesign怎么集合react-redux對input控件進行初始化賦值9. java - SSH框架中寫分頁時service層中不能注入分頁類10. dockerfile - 為什么docker容器啟動不了?
排行榜

網公網安備