称重抓取
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user