| 12345678910111213141516171819202122232425262728293031323334353637 |
- package com.ydtech.modules.order.service;
- import com.ydtech.core.page.HttpResult;
- import com.ydtech.modules.order.entity.BusinessLicense;
- import org.springframework.web.multipart.MultipartFile;
- import java.io.IOException;
- import java.util.Map;
- public interface IdentifyService {
- /**
- * 身份证正反面识别
- *
- * @param image1 正面
- * @param image2 反面
- * @return
- */
- HttpResult<Map<String, Object>> idCard(MultipartFile image1, MultipartFile image2) throws IOException;
- /**
- * 行驶证正反面识别
- *
- * @param image1 正面
- * @param image2 反面
- * @return
- */
- HttpResult<Map<String, Object>> drivingPermit(MultipartFile image1, MultipartFile image2) throws IOException;
- /**
- * 营业执照识别
- * @param image 正面信息
- * @return
- */
- HttpResult<BusinessLicense> businessLicense(MultipartFile image);
- }
|