1、修改swagger的相关注解
This commit is contained in:
parent
4cf8203977
commit
5a3c335c79
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue