ly-item/ly-item-service/src/main/java/com/leyou/item/web/SpecController.java
/**
     * Query specification groups by category_id
     * @param CategoryId
     * @return Collections of the specification groups
     */
Query specification groups by category_id
@param CategoryId
@return Collections of the specification groups
Query specification groups by category_id @param CategoryId @return Collections of the specification groups
@GetMapping("/groups/of/category")
    public ResponseEntity<List<SpecGroupDTO>> queryGroupByCategoryId(@RequestParam("id")Long CategoryId){
        List<SpecGroupDTO> list = groupService.queryGroupByCategoryId(CategoryId);
        return ResponseEntity.ok(list);
    }
@ GetMapping ( "/groups/of/category" ) public ResponseEntity < List < SpecGroupDTO > > queryGroupByCategoryId ( @ RequestParam ( "id" ) Long CategoryId ) { List < SpecGroupDTO > list = groupService . queryGroupByCategoryId ( CategoryId ) ; return ResponseEntity . ok ( list ) ; }
Query specification groups by category_id
 @param CategoryId
 @return Collections of the specification groups
Query specification groups by category_id @param CategoryId @return Collections of the specification groups