order_bonus.go 532 字节
package service

import (
	coreDomain "github.com/linmadan/egglib-go/core/domain"
)

type OrderBonusService interface {
	coreDomain.DomainEventPublisher
	UpdateBounsByGoodNumber(orderId int64, adminId int64, goodid int64, goodWithNumber int, reason string) error
	UpdateBounsByPartnerBonusPercent(orderId int64, adminId int64, goodId int64, partnerPercent float64, reason string) error
	UpdateOrderRemarkBonus(orderId int64, adminId int64, remark string) error
	PayOrderGoodBonus(orderId int64, goodId int64, adminId int64) error
}