瀏覽代碼

更新

master
huangjiajun 10 月之前
父節點
當前提交
a21df89743
共有 1 個檔案被更改,包括 6 行新增1 行删除
  1. +6
    -1
      rule/public_platoon_double_network_relate_commission.go

+ 6
- 1
rule/public_platoon_double_network_relate_commission.go 查看文件

@@ -27,6 +27,9 @@ func AddPublicPlatoonDoubleNetworkRelateCommission(engine *xorm.Engine, AddPubli
if err != nil {
return nil, err
}
if userPublicPlatoonDoubleNetworkSetting == nil {
return nil, nil
}
for _, param := range AddPublicPlatoonDoubleNetworkRelateCommissionReqList {
//TODO::判断是否有uid为-1 (代表等待新用户填充) 的记录
userPublicPlatoonDoubleNetworkRelation, err2 := db.UserPublicPlatoonDoubleNetworkRelationGetOneByParams(engine, map[string]interface{}{
@@ -360,7 +363,9 @@ func EstimateUserPosition(engine *xorm.Engine, uid int) (total, level, levelRank
if err != nil {
return
}

if userPublicPlatoonDoubleNetworkSetting == nil {
return
}
//2、查询排名
rank, total, userAmount, err := CalcUserRank(engine, zhios_order_relate_utils.IntToStr(uid))
if err != nil {


Loading…
取消
儲存