加固后台管理安全
This commit is contained in:
@@ -35,8 +35,8 @@ func (s *Service) List(ctx context.Context, query ListQuery) (*ListResponse, err
|
||||
}
|
||||
|
||||
// Get 获取单个配置
|
||||
func (s *Service) Get(ctx context.Context, id uint64, includeSecret bool) (*ConfigDTO, error) {
|
||||
return s.repo.FindByID(ctx, id, includeSecret)
|
||||
func (s *Service) Get(ctx context.Context, id uint64, includeSecret bool, actorID uint64, meta AuditMeta) (*ConfigDTO, error) {
|
||||
return s.repo.FindByID(ctx, id, includeSecret, actorID, meta)
|
||||
}
|
||||
|
||||
// ExportBackup 导出支付配置备份。
|
||||
|
||||
Reference in New Issue
Block a user