|
@@ -11,6 +11,7 @@ import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -26,7 +27,7 @@ public class WdInfoController {
|
|
|
WdInfoService wdInfoService;
|
|
|
|
|
|
// 获取各地区网点分类分布情况
|
|
|
- @GetMapping("/categoryDistribution")
|
|
|
+ @PostMapping("/categoryDistribution")
|
|
|
public R categoryDistribution(BrandListQueryBody body){
|
|
|
List<String> addrCodes = body.getAddrCode();
|
|
|
List<String> typeCodes = body.getTypeCode();
|
|
@@ -34,7 +35,7 @@ public class WdInfoController {
|
|
|
}
|
|
|
|
|
|
// 获取各地区网点类型分布情况
|
|
|
- @GetMapping("/wdTypeDistribution")
|
|
|
+ @PostMapping("/wdTypeDistribution")
|
|
|
public R wdTypeDistribution(BrandListQueryBody body){
|
|
|
List<String> addrCodes = body.getAddrCode();
|
|
|
List<String> typeCodes = body.getTypeCode();
|
|
@@ -47,6 +48,4 @@ public class WdInfoController {
|
|
|
return R.ok(wdInfoService.searchWdTotal());
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
}
|