Commit c4cc64f0 authored by hezhen's avatar hezhen

Merge branch 'master-customer-management' into dev

parents 337a06ea 98b487ce
...@@ -171,7 +171,8 @@ public class JPushBiz extends BaseBiz<MessagePushMapper, MessagePush> { ...@@ -171,7 +171,8 @@ public class JPushBiz extends BaseBiz<MessagePushMapper, MessagePush> {
log.info("无有效数据--type=="+messagePush.getType()+"------userId=="+userIds); log.info("无有效数据--type=="+messagePush.getType()+"------userId=="+userIds);
return null; return null;
} }
audience=Audience.alias(userIds); String [] userIdList=userIds.split(",");
audience=Audience.alias(userIdList);
} }
JsonObject intent = new JsonObject(); JsonObject intent = new JsonObject();
if (StringUtils.isNotBlank(messagePush.getIntent())){ if (StringUtils.isNotBlank(messagePush.getIntent())){
......
...@@ -36,7 +36,7 @@ public class JPushController { ...@@ -36,7 +36,7 @@ public class JPushController {
@RequestMapping(value = "/stype", method = RequestMethod.GET) @RequestMapping(value = "/stype", method = RequestMethod.GET)
public ObjectRestResponse stype(@RequestParam(value = "id",defaultValue = "0") Integer id, public ObjectRestResponse stype(@RequestParam(value = "id",defaultValue = "0") Integer id,
@RequestParam(value = "userIds",defaultValue = "") String userIds, @RequestParam(value = "userIds",defaultValue = "303") String userIds,
@RequestParam(value = "orderNo",defaultValue = "") String orderNo) throws Exception { @RequestParam(value = "orderNo",defaultValue = "") String orderNo) throws Exception {
return jPushBiz.jpushToAlias(id,userIds,orderNo); return jPushBiz.jpushToAlias(id,userIds,orderNo);
} }
......
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