feat:优化项目信息
This commit is contained in:
@ -59,8 +59,7 @@ func (c *Project) Instance(tenantID uint64, title string, page, pageSize int) (*
|
||||
|
||||
// Shelf 上下架操作
|
||||
func (c *Project) Shelf(id uint64) error {
|
||||
return controller.NewShelf(controller.WithShelfSessionAdmin(c.Admin)).
|
||||
Handle(model2.NewTechnologyProject(), id)
|
||||
return controller.NewShelf(controller.WithShelfSessionAdmin(c.Admin)).Handle(model2.NewTechnologyProject(), id, nil)
|
||||
}
|
||||
|
||||
// Delete 删除操作
|
||||
|
Reference in New Issue
Block a user