Explorar o código

fix: 加入了log

DingXiaoYu %!s(int64=2) %!d(string=hai) anos
pai
achega
ca0acc6c96

+ 2 - 0
seecoder-portal-server/src/main/java/cn/seecoder/seecoderportalserver/serviceImpl/subsystem/DevcloudServiceImpl.java

@@ -33,6 +33,7 @@ public class DevcloudServiceImpl implements DevcloudService {
     @Override
     public JSONArray listProjectsByUserId() {
         JSONObject result = null;
+        log.info("展示用户所有的项目:");
         try {
             result = JSON.parseObject(
                     httpService.sendGet(
@@ -42,6 +43,7 @@ public class DevcloudServiceImpl implements DevcloudService {
         } catch (Exception e) {
             e.printStackTrace();
         }
+        log.info("{}",result);
         assert result != null;
         if (result.containsKey("code") && result.getInteger("code") == 200) {
             return result.getJSONArray("data");