增加个推配置和公共方法
This commit is contained in:
parent
85e7989a8e
commit
4c591e0937
@ -26,9 +26,9 @@ public interface GeTuiPushService {
|
||||
* <p>
|
||||
* 通知消息内容参考:https://docs.getui.com/getui/server/rest_v2/common_args/?id=doc-title-6
|
||||
*
|
||||
* @param cid
|
||||
* @param title
|
||||
* @param content
|
||||
* @param cid 设备id(与用户关联的)
|
||||
* @param title 推送标题
|
||||
* @param content 推送内容
|
||||
* @param clickType: 点击通知后续动作,
|
||||
* 目前支持以下后续动作,
|
||||
* intent:打开应用内特定页面(intent和want字段必须填写一个)
|
||||
|
||||
@ -111,7 +111,7 @@ public class GeTuiPushServiceImpl implements GeTuiPushService {
|
||||
Audience audience = new Audience();
|
||||
audience.addCid(cid);
|
||||
pushDTO.setAudience(audience);
|
||||
|
||||
|
||||
// 进行cid单推
|
||||
ApiResult<JSONObject> apiResult = creatPushApi().pushToSingleByCid(pushDTO);
|
||||
if (!apiResult.isSuccess()) {
|
||||
@ -127,9 +127,9 @@ public class GeTuiPushServiceImpl implements GeTuiPushService {
|
||||
* <p>
|
||||
* 通知消息内容参考:https://docs.getui.com/getui/server/rest_v2/common_args/?id=doc-title-6
|
||||
*
|
||||
* @param cid
|
||||
* @param title
|
||||
* @param content
|
||||
* @param cid 设备id(与用户关联的)
|
||||
* @param title 推送标题
|
||||
* @param content 推送内容
|
||||
* @param clickType: 点击通知后续动作,
|
||||
* 目前支持以下后续动作,
|
||||
* intent:打开应用内特定页面(intent和want字段必须填写一个)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user