上传参数:"coverImg": "8LKCmBajSO774LcRYpGAgqzjhSi0XCEByhkKWG8bTmkBkXMtnHqpcnWqSBSVcEk9",
"isFeedsPublic": 1,
"type": 0,
"anchorName": "测试测试",
"shareImg": "8LKCmBajSO774LcRYpGAghcIOdSmhwdbWRGn1li4YCPPkCMC3q1xpagIt1OstrVO",
"feedsImg": "8LKCmBajSO774LcRYpGAgs66SZ6F4X8jaPlIgsYDmzxQxJgsQrsq7Vdyii8P8PYi",
"closeGoods": 0,
"closeLike": 0,
"closeKf": 0,
"closeShare": 0,
"name": "测试测试",
"closeReplay": 0,
"startTime": "1628524800",
"endTime": "1628784000",
"closeComment": 0,
"anchorWechat": "lzybz5201"
Map<String, Object> params = new HashMap<>();
params.put(“type”,Integer.valueOf(form.getLiveType()));
............
ObjectMapper objectMapper = new ObjectMapper();
String json = objectMapper.writeValueAsString(params);
ResponseEntity<**> liveInfo = restTemplate.postForEntity(url,json, **.class);