有赞新零售社区

发帖
API使用问题»消息服务

消息服务

04b0f0e73b62 2018-04-12 1110 浏览 1 评论 | 只看楼主 [打印]
消息服务 接收消息 为啥都是空的 没有数据  接收接口服务如下  :
@RequestMapping(value = "/pull" /*method = RequestMethod.POST,*/ /*produces = "application/json;charset=utf-8"*/)
@ResponseBody
public String receiveData(HttpServletRequest request,/*@RequestBody*/ MsgPushEntity entity){
    System.out.println(request.getParameter("msg"));
    System.out.println(entity.getMsg());}最后得到的信息都是null  

用手机打开
收藏 ··· 回复
    有赞-八两   白银   2018-04-12 | 只看该作者
    您是什么消息类型,先看消息有没产生,如果是订单状态事件,可以提供状态名称及订单号,我们先看下。

      1跳至
      您需要登录后才可以回帖 登录 | 立即注册

      本版积分规则

      复制链接
      新浪微博
      QQ空间
      微信扫码
      • 回复

      • 评分

      客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

      复制成功