|
@@ -34,11 +34,11 @@ public class BillLuggageController {
|
|
|
@RequestParam("luggageLocation") String luggageLocation,
|
|
|
@RequestParam("luggageLocationId") String luggageLocationId,
|
|
|
@RequestParam("luggageNum") Integer luggageNum,
|
|
|
- @RequestParam("img1") MultipartFile img,
|
|
|
- @RequestParam("img2") MultipartFile img2,
|
|
|
- @RequestParam("img3") MultipartFile img3,
|
|
|
- @RequestParam("img4") MultipartFile img4,
|
|
|
- @RequestParam("img5") MultipartFile img5) throws IOException {
|
|
|
+ @RequestParam(value = "img1",required = false) MultipartFile img,
|
|
|
+ @RequestParam(value = "img2",required = false) MultipartFile img2,
|
|
|
+ @RequestParam(value = "img3",required = false) MultipartFile img3,
|
|
|
+ @RequestParam(value = "img4",required = false) MultipartFile img4,
|
|
|
+ @RequestParam(value = "img5",required = false) MultipartFile img5) throws IOException {
|
|
|
return billLuggageService.addLuggage(httpServletRequest,userName,phone,luggageDate,luggageLocation,luggageLocationId,luggageNum,img,img2,img3,img4,img5);
|
|
|
}
|
|
|
|