Commit f741d43e authored by hezhen's avatar hezhen

123

parent d173e718
......@@ -15,6 +15,7 @@ public enum PushJumpType {
VEHICLE_ORDER_SCORE(3,"租车订单评价页"),
TOUR_ORDER_SCORE(4,"旅游订单评价页面"),
MEMBER_ORDER_DETAIL(5,"会员订单详情页"),
URL(6,"指定跳转地址"),
;
/**
* 编码
......
......@@ -64,11 +64,16 @@ public class MessagePush implements Serializable {
@ApiModelProperty(value = "指定跳转页面")
private String intent;
@Column(name = "jump_type")
@ApiModelProperty(value = "跳转页面类型:0-进入app;其他见枚举")
private Integer jumpType;
@ApiModelProperty(value = "指定跳转地址")
private String url;
@Column(name = "crt_time")
@ApiModelProperty(value = "创建时间", hidden = true )
private Long crtTime;
......
......@@ -182,6 +182,7 @@ public class JPushBiz extends BaseBiz<MessagePushMapper, MessagePush> {
if (StringUtils.isNotBlank(orderNo)){
extras.put("orderNo",orderNo);
}
extras.put("url",messagePush.getUrl());
Notification notification = Notification.newBuilder()
.addPlatformNotification(AndroidNotification.newBuilder()
.setAlert(messagePush.getAlert())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment