|
|
@@ -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");
|