在rabbit里确认已经发送了请求(http://localhost:1111/manage/homePage/setDataIntoRedisByBdId?bdId=12),但是在后台接收不到请求。
并且如果在浏览器发送请求(http://localhost:1111/manage/homePage/setDataIntoRedisByBdId?bdId=12),后台可以正常接收。
鼓捣了半个小时发现,该请求被拦截了,因为请求以 /manage 开头,如果换成(http://localhost:1111/homePage/setDataIntoRedisByBdId?bdId=12)后台就能正常接收请求了。
教训:下次发送这些请求时尽量使用PostMan,浏览器上会有缓存或者验证。