Explorar el Código

更新

master
huangjiajun hace 10 meses
padre
commit
a21df89743
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. +6
    -1
      rule/public_platoon_double_network_relate_commission.go

+ 6
- 1
rule/public_platoon_double_network_relate_commission.go Ver fichero

@@ -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 {


Cargando…
Cancelar
Guardar