|
@@ -73,13 +73,13 @@ public class ProductController {
|
|
|
|
|
|
@ApiOperation("查看详情")
|
|
@ApiOperation("查看详情")
|
|
@PostMapping(value = "/getDetail")
|
|
@PostMapping(value = "/getDetail")
|
|
- public ProductVo getDetail(@RequestParam @Validated Request<String> request) {
|
|
|
|
|
|
+ public ProductVo getDetail(@RequestBody @Validated Request<String> request) {
|
|
ProductVo dto = productService.getDetail(request.getData());
|
|
ProductVo dto = productService.getDetail(request.getData());
|
|
return dto;
|
|
return dto;
|
|
}
|
|
}
|
|
@PostMapping("/getThingModelByProductKey")
|
|
@PostMapping("/getThingModelByProductKey")
|
|
@ApiOperation("查看物模型")
|
|
@ApiOperation("查看物模型")
|
|
- public ThingModelVo getThingModelByProductKey(@RequestParam @Validated Request<String> request) {
|
|
|
|
|
|
+ public ThingModelVo getThingModelByProductKey(@RequestBody @Validated Request<String> request) {
|
|
|
|
|
|
return productService.getThingModelByProductKey(request.getData());
|
|
return productService.getThingModelByProductKey(request.getData());
|
|
|
|
|