glj-代码提交
This commit is contained in:
parent
6704340b46
commit
e9d6776631
|
@ -25,6 +25,6 @@ public class DataUpload extends EntityData{
|
|||
private Long disasterId;
|
||||
|
||||
private String vordmId;
|
||||
|
||||
|
||||
private String geometry;
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
@ -32,6 +33,6 @@ public class WordCloudsController {
|
|||
@GetMapping("/wordCount")
|
||||
public R<Map<String,List<WorldCharts>>> wordCount(@RequestParam Long disasterId){
|
||||
Map<String, List<WorldCharts>> stringListMap = service.wordCount(disasterId);
|
||||
return R.data(service.wordCount(disasterId));
|
||||
return R.data(stringListMap);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue