fix idcard msg

This commit is contained in:
ran.shang
2025-06-18 17:08:46 +08:00
parent a2353f38f0
commit 7648f29ca3
3 changed files with 3 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ public class AliVerifyServiceImpl implements AliVerifyService {
return AlitaResult.success(res.getData());
}
return AlitaResult.error(SdkConstants.SDK_HTTP_INVOKE_RESPONSE_FAIL_CODE,
res.getCode() + res.getData().getDesc());
res.getData() == null ? res.getMsg() : res.getData().getDesc());
} catch (Exception e) {
return AlitaResult.error(SdkConstants.SDK_RESPONSE_CONVERT_ERROR_CODE,
e.getMessage());