|
|
@@ -14,10 +14,10 @@ import ( |
|
|
|
|
|
|
|
func IntegralRelease(engine *xorm.Engine, uid, level int, returnAllLevel bool, IsShowExtend, pvd string, user *model.User, comf float64, price string, cfg *comm_plan.PlanOpt, isGoods string, commArr map[string]string, virtualCoinMoneyRate map[int]string) (pvdFee, sysFee, subsidyFee float64, lvUser *comm_plan.LvUser, err error) { |
|
|
|
//佣金扣除抽成后 |
|
|
|
fee, pvdFee, sysFee := CommFee(comf, cfg, "commission", isGoods) |
|
|
|
fee, _, pvdFee, sysFee := CommFee(comf, cfg, "commission", isGoods) |
|
|
|
////积分扣除抽成后 |
|
|
|
integralFee, _, _ := CommFee(zhios_order_relate_utils.StrToFloat64(price), cfg, "integral", isGoods) |
|
|
|
integralFeeCom, _, _ := CommFee(comf, cfg, "integral", isGoods) |
|
|
|
integralFee, _, _, _ := CommFee(zhios_order_relate_utils.StrToFloat64(price), cfg, "integral", isGoods) |
|
|
|
integralFeeCom, _, _, _ := CommFee(comf, cfg, "integral", isGoods) |
|
|
|
//常规级差 |
|
|
|
var userRelationship *[]md.UserRelation |
|
|
|
if returnAllLevel { |
|
|
|