18 lines
392 B
Go
18 lines
392 B
Go
package biz
|
|
|
|
import (
|
|
"voucher/internal/biz/repository"
|
|
"voucher/internal/biz/thirdrepository"
|
|
)
|
|
|
|
type VoucherBiz struct {
|
|
OrderRepo repository.OrderRepo
|
|
ThirdMQSend thirdrepository.ThirdMQSend
|
|
}
|
|
|
|
func NewVoucherBiz(orderRepo repository.OrderRepo, thirdMQSend thirdrepository.ThirdMQSend) *VoucherBiz {
|
|
return &VoucherBiz{OrderRepo: orderRepo, ThirdMQSend: thirdMQSend}
|
|
}
|
|
|
|
// 1:收单
|