Files
hfb_sys/backend/internal/modules/withdrawal/repository.go
T

22 lines
348 B
Go

package withdrawal
import (
"hfb_sys/backend/internal/modules/wallet"
"gorm.io/gorm"
)
type Repository struct {
db *gorm.DB
walletRepo *wallet.Repository
}
func NewRepository(db *gorm.DB, walletRepo *wallet.Repository) *Repository {
return &Repository{
db: db,
walletRepo: walletRepo,
}
}
// 用户创建提现申请