|
@@ -94,11 +94,6 @@ public class OrderInvoiceController extends BaseController {
|
|
|
@PostMapping("/vatInvoiceOCR")
|
|
|
public AjaxResult VatInvoiceOCR(@RequestBody InvoiceQueryBo bo){
|
|
|
Map<String, String> rs = iFaceOcrService.VatInvoiceOCR(bo);
|
|
|
- if(Validator.isNotEmpty(rs)){
|
|
|
- return AjaxResult.success(rs);
|
|
|
- }else{
|
|
|
- return AjaxResult.error();
|
|
|
- }
|
|
|
-
|
|
|
+ return AjaxResult.success(rs);
|
|
|
}
|
|
|
}
|