|
@@ -41,6 +41,7 @@ import java.util.List;
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
+@RequestMapping("/api")
|
|
|
public class TestController {
|
|
|
|
|
|
@Autowired
|
|
@@ -113,7 +114,7 @@ public class TestController {
|
|
|
return ResultData.ok(allScene);
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/export")
|
|
|
+ @GetMapping("/test/export")
|
|
|
public void export(HttpServletRequest request, HttpServletResponse response) throws Exception {
|
|
|
ShopRequest param = new ShopRequest();
|
|
|
param.setPageNum(1);
|
|
@@ -124,7 +125,7 @@ public class TestController {
|
|
|
|
|
|
}
|
|
|
|
|
|
- @PostMapping("uploadExcel")
|
|
|
+ @PostMapping("/test/uploadExcel")
|
|
|
public ResultData uploadExcel(@RequestParam(required = false) MultipartFile file) throws IOException {
|
|
|
List<HashMap<Integer, String>> excelRowList = ExcelUtil.getExcelRowList(file);
|
|
|
for (HashMap<Integer, String> map : excelRowList) {
|
|
@@ -137,7 +138,7 @@ public class TestController {
|
|
|
}
|
|
|
return ResultData.ok();
|
|
|
}
|
|
|
- @PostMapping("/uploadExcelHK")
|
|
|
+ @PostMapping("/test/uploadExcelHK")
|
|
|
public ResultData uploadExcelHK(@RequestParam(required = false) MultipartFile file) throws IOException {
|
|
|
String baseUrl = "https://hkairportshop.com/";
|
|
|
String imageBasePath = "http://glp-vr.cdfmembers.com/cdf/HK/ImageFiles";
|