Commit 36a92509 authored by wujipeng's avatar wujipeng
Browse files

接口扫描

parent 1e8a72c6
...@@ -5,6 +5,7 @@ import com.ruzhoukj.sms.model.vo.CustomerProjectVO; ...@@ -5,6 +5,7 @@ import com.ruzhoukj.sms.model.vo.CustomerProjectVO;
import com.ruzhoukj.sms.service.CustomerProjectService; import com.ruzhoukj.sms.service.CustomerProjectService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
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;
...@@ -26,7 +27,7 @@ public class CustomerProjectController { ...@@ -26,7 +27,7 @@ public class CustomerProjectController {
private CustomerProjectService customerProjectService; private CustomerProjectService customerProjectService;
@ApiOperation(value = "经管") @ApiOperation(value = "经管")
@RequestMapping("/jg") @GetMapping("/jg")
public Result<List<CustomerProjectVO>> jg() { public Result<List<CustomerProjectVO>> jg() {
return Result.data(customerProjectService.jg()); return Result.data(customerProjectService.jg());
} }
......
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