1、修改swagger的相关注解

This commit is contained in:
yitonglei 2022-05-17 13:23:43 +08:00
parent 4cf8203977
commit 5a3c335c79
2 changed files with 3 additions and 7 deletions

View File

@ -5,6 +5,7 @@ import com.hisense.monitormanage.dto.*;
import com.hisense.monitormanage.entity.*;
import com.hisense.monitormanage.mapper.*;
import com.hisense.monitormanage.service.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
@ -26,6 +27,7 @@ import java.util.Map;
@RestController
@RequestMapping("api/project")
@Api(tags="通用")
public class Controller {
@Autowired

View File

@ -37,11 +37,5 @@ class MonitorManageApplicationTests {
}
@Test
public void reverseGeocodeTest(){
String location = "location";
Map<String,Object> map = new HashMap<>();
map.put("location",location);
monitorService.reverseGeocode(map);
}
}