|
@@ -142,9 +142,9 @@ public class DemandManagerController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @ApiOperation(value = "test")
|
|
|
- @PostMapping("/test")
|
|
|
- public Result test(double lat1, double lat2, double lng1, double lng2, int num) {
|
|
|
+ @ApiOperation(value = "随机生成区域目标")
|
|
|
+ @PostMapping("/random")
|
|
|
+ public Result random(int num) {
|
|
|
List<QueryTargetRelationPointAddDTO> list = new ArrayList<>();
|
|
|
// 中国的大致边界
|
|
|
for (int i = 0; i < num; i++) {
|