|
@@ -91,6 +91,9 @@ public class PushFacade {
|
|
|
searchData.setLength(10);
|
|
|
|
|
|
Response<ResponseData> res = aiServiceClient.bayesPageData(searchData);
|
|
|
+ if (null == res || null == res.getData()) {
|
|
|
+ throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "AI没有返回结果");
|
|
|
+ }
|
|
|
return res.getData();
|
|
|
}
|
|
|
|