‘linchangsheng’ 7 months ago
parent
commit
f3c576b312

+ 2 - 2
src/main/java/com/zfire/mall/manager/controller/k3/K3CategoryController.java

@@ -67,11 +67,11 @@ public class K3CategoryController {
 
 
     @ApiOperation(value = "存货类别详情")
     @ApiOperation(value = "存货类别详情")
     @PostMapping("/detail")
     @PostMapping("/detail")
-    public ResponseHelper detail(
+    public ResponseHelper<KingDeeCategory> detail(
             @ApiParam(value = "品类id",required = true)@RequestParam String categoryId
             @ApiParam(value = "品类id",required = true)@RequestParam String categoryId
     ) throws Exception {
     ) throws Exception {
         KingDeeCategory kingDeeCategory = k3CategoryLogic.detail(categoryId);
         KingDeeCategory kingDeeCategory = k3CategoryLogic.detail(categoryId);
-        return ResponseHelper.success();
+        return ResponseHelper.success(kingDeeCategory);
     }
     }
 
 
 }
 }