|
@@ -137,6 +137,7 @@ public class BankAuthController extends BaseController {
|
|
|
if ("4".equals(image.getStep())) {
|
|
if ("4".equals(image.getStep())) {
|
|
|
String type = environment.getProperty("fqgz.bank.handwriting");
|
|
String type = environment.getProperty("fqgz.bank.handwriting");
|
|
|
String ocrName = HandwritingUtil.getHandwritingText(type, image.getBase64());
|
|
String ocrName = HandwritingUtil.getHandwritingText(type, image.getBase64());
|
|
|
|
|
+ log.info("手写签名为:" + ocrName);
|
|
|
UserAXQInfoEntity entity = userAXQInfoRepository.getUserAXQInfoWithIdcard(image.getIdCard());
|
|
UserAXQInfoEntity entity = userAXQInfoRepository.getUserAXQInfoWithIdcard(image.getIdCard());
|
|
|
if (!ocrName.equals(entity.getUserName())) {
|
|
if (!ocrName.equals(entity.getUserName())) {
|
|
|
return ResponseDTO.error(ResultCode.HANDWRITING_FAIL);
|
|
return ResponseDTO.error(ResultCode.HANDWRITING_FAIL);
|