|
|
@@ -119,13 +119,13 @@ public class GorseController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@PutMapping(value = "/bulk/{type}")
|
|
|
- public ResponseData bulkUser(@RequestParam Map<String, String> data, @RequestParam("file") MultipartFile file, @PathVariable("type") String type) throws Exception {
|
|
|
+ public ResponseData bulkUserOrItem(@RequestParam Map<String, String> data, @RequestParam("file") MultipartFile file, @PathVariable("type") String type) throws Exception {
|
|
|
return success(gorseService.bulkUserOrItem(data, file, type));
|
|
|
}
|
|
|
|
|
|
- @GetMapping(value = "/get_bulk_user")
|
|
|
- public ResponseData getBulkUser() throws Exception {
|
|
|
- return success(gorseService.getBulkUser());
|
|
|
+ @GetMapping(value = "/get_bulk/{type}")
|
|
|
+ public String getBulkUserOrItem(@PathVariable("type") String type) throws Exception {
|
|
|
+ return gorseService.getBulkUserOrItem(type);
|
|
|
}
|
|
|
|
|
|
|