zoujiajian 2 年之前
父節點
當前提交
7fb52969bc

+ 5 - 1
netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationFrontServiceImpl.java

@@ -920,7 +920,11 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
 		loginReq.setRelationId(relation.getId());
 		loginReq.setGoodsId(goodsId);
 		try {
-			return getAiVerifyCode(loginReq);
+			String aiVerifyCode = getAiVerifyCode(loginReq);
+			if (StrUtil.isEmpty(aiVerifyCode)) {
+				throw BusinessRuntimeException.getInstance("");
+			}
+			return aiVerifyCode;
 		} catch (Exception e) {
 			if (StrUtil.equals(loginReq.getLang(), Constant.EN_US)) {
 				throw BusinessRuntimeException.getInstance("Please verify that the link was sent");