Commit db65be02 by 丁伟峰

Merge branch 'feat-dingwf-mvp616' into develop

2 parents 7c5a3d5f 02396c73
......@@ -6,10 +6,7 @@ import com.alibaba.cloud.integration.order.dto.CapacityStatQueryReqDTO;
import com.alibaba.cloud.integration.order.service.CapacityQueryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/pea-order")
......@@ -18,8 +15,8 @@ public class CapacityController {
@Autowired
private CapacityQueryService capacityQueryService;
@PostMapping("/capacity/query")
public Result<?> capacityQuery(@Validated @RequestBody CapacityStatQueryReqDTO reqDTO) {
@GetMapping("/capacity/query")
public Result<?> capacityQuery(@Validated CapacityStatQueryReqDTO reqDTO) {
Result<?> res = null;
try {
res = capacityQueryService.getTeamStatData(reqDTO);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!