Commit 4d06699a authored by suhuiguang's avatar suhuiguang

1.删除错误

parent f20eb243
package com.yeejoin.amos.fas.business.controller; package com.yeejoin.amos.fas.business.controller;
import com.yeejoin.amos.fas.business.service.intfc.IDictService;
import com.yeejoin.amos.fas.business.service.intfc.IPlanVisual3dService; import com.yeejoin.amos.fas.business.service.intfc.IPlanVisual3dService;
import com.yeejoin.amos.op.core.common.response.CommonResponse; import com.yeejoin.amos.op.core.common.response.CommonResponse;
import com.yeejoin.amos.op.core.util.CommonResponseUtil; import com.yeejoin.amos.op.core.util.CommonResponseUtil;
...@@ -16,9 +15,6 @@ import org.springframework.web.bind.annotation.PathVariable; ...@@ -16,9 +15,6 @@ 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")
...@@ -46,7 +42,7 @@ public class PlanVisual3dController extends BaseController { ...@@ -46,7 +42,7 @@ public class PlanVisual3dController extends BaseController {
*/ */
@ApiOperation(httpMethod = "GET",value = "资源查询",notes = "资源查询") @ApiOperation(httpMethod = "GET",value = "资源查询",notes = "资源查询")
@Authorization(ingore = true) @Authorization(ingore = true)
@RequestMapping(value="/resource/{type}/list") @GetMapping(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