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