瀏覽代碼

更新

tags/v4.3.1
huangjiajun 1 年之前
父節點
當前提交
4108419509
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      rule/regional_sub_agent.go

+ 1
- 1
rule/regional_sub_agent.go 查看文件

@@ -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…
取消
儲存