Commit f20eb243 authored by suhuiguang's avatar suhuiguang

no message

parent 239ad420
...@@ -16,6 +16,9 @@ import org.springframework.web.bind.annotation.PathVariable; ...@@ -16,6 +16,9 @@ import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import java.util.HashMap;
import java.util.List;
@RestController @RestController
@RequestMapping(value = "/api/visual") @RequestMapping(value = "/api/visual")
@Api(tags="预案可视化API") @Api(tags="预案可视化API")
...@@ -43,7 +46,7 @@ public class PlanVisual3dController extends BaseController { ...@@ -43,7 +46,7 @@ public class PlanVisual3dController extends BaseController {
*/ */
@ApiOperation(httpMethod = "GET",value = "资源查询",notes = "资源查询") @ApiOperation(httpMethod = "GET",value = "资源查询",notes = "资源查询")
@Authorization(ingore = true) @Authorization(ingore = true)
@GetMapping(value="/resource/{type}/list") @RequestMapping(value="/resource/{type}/list")
public CommonResponse getResourceList(@ApiParam(value = "资源类型", required = true) @PathVariable String type){ public CommonResponse getResourceList(@ApiParam(value = "资源类型", required = true) @PathVariable String type){
return planVisual3dService.getResourceListByType(type); return planVisual3dService.getResourceListByType(type);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment