初始化项目
parent
ee308bfd89
commit
ef7501c8bc
|
@ -55,8 +55,5 @@ public enum BusinessType {
|
|||
* 清空数据
|
||||
*/
|
||||
CLEAN,
|
||||
/**
|
||||
* 查询
|
||||
*/
|
||||
SELECT
|
||||
|
||||
}
|
||||
|
|
|
@ -41,7 +41,6 @@ public class AttributeGroupController extends BaseController {
|
|||
@Autowired
|
||||
private AttributeGroupService attributeGroupService;
|
||||
|
||||
|
||||
/**
|
||||
* 查询属性组列表
|
||||
*/
|
||||
|
@ -92,19 +91,6 @@ public class AttributeGroupController extends BaseController {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 回显
|
||||
*/
|
||||
@RequiresPermissions("product:attributeGroup:getById")
|
||||
@Log(title = "属性组", businessType = BusinessType.SELECT)
|
||||
@PostMapping
|
||||
@ApiOperation("回显属性组")
|
||||
@GetMapping("/{id}")
|
||||
public Result<AttributeGroup> getById(@PathVariable("id") Long id) {
|
||||
AttributeGroup attributeGroup = attributeGroupService.getById(id);
|
||||
return Result.success(attributeGroup);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改属性组
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue