称重抓取

This commit is contained in:
2026-03-06 17:58:55 +08:00
parent 32f88b1443
commit 73c1bc9d01
4 changed files with 22 additions and 1 deletions

View File

@@ -82,4 +82,10 @@ public class MaterialInfoController extends BaseController<MaterialInfoService,
baseService.uploadMaterialPhotos(zipFile);
return R.ok();
}
@Operation(summary = "照片抓取", description = "照片抓取")
@PostMapping("/import/catch")
public String catchPhoto(@RequestParam("file")MultipartFile file) {
CheckUtils.throwIfEmpty(file,"照片抓取失败,请重新抓取");
return baseService.catchPhoto(file);
}
}