Commit 2d394de4 authored by suhuiguang's avatar suhuiguang

1.修改错误

parent 834b19d4
package com.yeejoin.amos.fas.business.controller; package com.yeejoin.amos.fas.business.controller;
import com.yeejoin.amos.fas.business.dao.repository.IDictDao;
import com.yeejoin.amos.fas.business.service.intfc.IDictService; 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;
...@@ -17,9 +16,6 @@ import org.springframework.web.bind.annotation.PathVariable; ...@@ -17,9 +16,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")
...@@ -49,7 +45,7 @@ public class PlanVisual3dController extends BaseController { ...@@ -49,7 +45,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