消息服务 接收消息 为啥都是空的 没有数据 接收接口服务如下 :
@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
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|