Browse Source

更新

tags/v4.3.1
huangjiajun 1 year ago
parent
commit
4108419509
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rule/regional_sub_agent.go

+ 1
- 1
rule/regional_sub_agent.go View File

@@ -214,7 +214,7 @@ func makeSubSystemData(engine *xorm.Engine, args *md.RegionalAgentSystemArgs, re
parentUser, _ := db.UserProfileFindByID(engine, args.Uid)
parentUid := 0
if parentUser != nil {
parentUid = parentUser.Uid
parentUid = parentUser.ParentUid
}
parents, amount, divideAmount, err = SubCommAmount(parentUid, zhios_order_relate_utils.AnyToFloat64(commissionRate), amount, agentUser, coinSetDetail, virtualCoin, parents, false)
if err != nil {


Loading…
Cancel
Save