只是简单是记录下自己使用postman如何进行操作的..供自己参考....很不详细
1.直接数据传参
2.StringJson传参
java代码中 json转对象
String json = "......";//{"tradeNo":"88888","tradeAmount":"666.66","orderId":"33333","isAdvance":"1"} JSONObject jsonObject = JSONObject.parseObject(json); BshopPayment bshopPayment = JSON.toJavaObject(jsonObject, BshopPayment.class);