新增支付配置备份导出功能
This commit is contained in:
@@ -37,6 +37,11 @@ func (s *Service) Get(id uint64, includeSecret bool) (*ConfigDTO, error) {
|
||||
return s.repo.FindByID(id, includeSecret)
|
||||
}
|
||||
|
||||
// ExportBackup 导出支付配置备份。
|
||||
func (s *Service) ExportBackup(actorID uint64, meta AuditMeta) (*ExportBackup, error) {
|
||||
return s.repo.ExportBackup(actorID, meta)
|
||||
}
|
||||
|
||||
// Create 创建配置
|
||||
func (s *Service) Create(req CreateRequest, actorID uint64, meta AuditMeta) (*ConfigDTO, error) {
|
||||
return s.repo.Create(req, actorID, meta)
|
||||
|
||||
Reference in New Issue
Block a user