xueyiming 9 ماه پیش
والد
کامیت
d2cee19b0a

+ 2 - 0
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/exterior/impl/GhDetailServiceImpl.java

@@ -65,6 +65,7 @@ public class GhDetailServiceImpl implements GhDetailService {
             if (updateGhDetail == null) {
                 continue;
             }
+            System.out.println("getGhDetail = " + ghDetail);
             log.info("getGhDetail = {}", ghDetail);
             ghDetailMapper.updateByPrimaryKeySelective(updateGhDetail);
         }
@@ -81,6 +82,7 @@ public class GhDetailServiceImpl implements GhDetailService {
         JSONArray jsonArray = JSONArray.parseArray(block);
         if (jsonArray != null && !jsonArray.isEmpty()) {
             JSONObject jsonObject = jsonArray.getJSONObject(0);
+            System.out.println("jsonObject = " + jsonObject);
             log.info("jsonObject = {}", jsonObject);
             ghDetail.setGhName(jsonObject.getString("name"));
         }