Sfoglia il codice sorgente

获取合作伙伴接口bug修复

wangmh 8 anni fa
parent
commit
7e675db7cd

+ 1 - 1
sso-common/src/main/java/com/uas/sso/util/AccountUtils.java

@@ -665,7 +665,7 @@ public class AccountUtils {
                 if (!result.isSuccess()) {
                     throw new Exception(result.getErrMsg());
                 } else if (result.getContent() != null) {
-                    return JSONObject.parseObject(res.getContent(), new TypeReference<Page<PartnershipRecordView>>() {});
+                    return JSONObject.parseObject(result.getContent().toString(), new TypeReference<Page<PartnershipRecordView>>() {});
                 }
             }