|
|
@@ -3,6 +3,7 @@ package rule |
|
|
|
import ( |
|
|
|
"code.fnuoos.com/go_rely_warehouse/zyos_go_order_relate_rule.git/lib/comm_plan" |
|
|
|
"code.fnuoos.com/go_rely_warehouse/zyos_go_order_relate_rule.git/md" |
|
|
|
"code.fnuoos.com/go_rely_warehouse/zyos_go_order_relate_rule.git/svc" |
|
|
|
"context" |
|
|
|
"errors" |
|
|
|
"golang.org/x/sync/errgroup" |
|
|
@@ -39,7 +40,7 @@ func BatchGetCommission(eg *xorm.Engine, dbName string, commissionParamList []*m |
|
|
|
return errors.New("商品ID缺失") |
|
|
|
} |
|
|
|
|
|
|
|
_, _, _, _, lvUser, err := GetRewardCommission(eg, ¶m.CommissionParam, isShare, param.Uid, param.Provider, dbName, isAllLevelReturn, map[string]string{}) |
|
|
|
_, _, _, _, lvUser, err := svc.GetRewardCommission(eg, ¶m.CommissionParam, isShare, param.Uid, param.Provider, dbName, isAllLevelReturn, map[string]string{}) |
|
|
|
if err != nil { |
|
|
|
return err |
|
|
|
} |
|
|
|