Documentation ¶
Index ¶
Constants ¶
View Source
const (
MinAmount = 0.001
)
Variables ¶
View Source
var ( ErrDeadLoop = errors.New(`推荐人关系异常,同一推荐人多次出现,已经构成死循环`) ErrAgentLevelNotExists = errors.New(`代理等级不存在`) )
Functions ¶
This section is empty.
Types ¶
type Bonus ¶
type Bonus struct {
// contains filtered or unexported fields
}
func (*Bonus) Confirm ¶
func (b *Bonus) Confirm(customer *dbschema.OfficialCustomer, flow dbschema.OfficialCustomerWalletFlow) error
func (*Bonus) SalesCommissionRatio ¶
func (b *Bonus) SalesCommissionRatio(l *dbschema.OfficialCustomerAgentLevel, i int) float64
Click to show internal directories.
Click to hide internal directories.