This commit is contained in:
dongruihua
2023-01-03 22:55:02 +08:00
parent c686e8cff3
commit 369a3f4390

View File

@@ -92,7 +92,8 @@ public class OutSideDataServiceImpl implements IOutSideDataService {
try { try {
//OkHttpUtil http=new OkHttpUtil(); //OkHttpUtil http=new OkHttpUtil();
String responseStr = okHttpUtil.doPostJson(url,"{}", headers); String responseStr = okHttpUtil.doPostJson(url,"{}", headers);
//System.out.println(responseStr); System.out.println("用户中心接口返回:"+responseStr);
JsonNode rootNode= mapper.readTree(responseStr); JsonNode rootNode= mapper.readTree(responseStr);
int code = rootNode.get("status").asInt(); int code = rootNode.get("status").asInt();
if(code!=200) { if(code!=200) {