增加公告图片编辑, 增加取消归档
This commit is contained in:
@@ -95,6 +95,11 @@ func (s *Service) Archive(ctx context.Context, id uint64) error {
|
||||
return s.repo.Archive(ctx, id)
|
||||
}
|
||||
|
||||
// Unarchive 取消归档公告
|
||||
func (s *Service) Unarchive(ctx context.Context, id uint64) error {
|
||||
return s.repo.Unarchive(ctx, id)
|
||||
}
|
||||
|
||||
// Delete 删除公告
|
||||
func (s *Service) Delete(ctx context.Context, id uint64) error {
|
||||
return s.repo.Delete(ctx, id)
|
||||
|
||||
Reference in New Issue
Block a user