From 6ff1f96afbe7d2a8ee720d3256684ffd6e520cc2 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Sat, 3 Feb 2024 21:49:25 +0800 Subject: [PATCH] update --- ..._platoon_double_network_relate_commission.go | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/rule/public_platoon_double_network_relate_commission.go b/rule/public_platoon_double_network_relate_commission.go index df2e4ee..88af1f2 100644 --- a/rule/public_platoon_double_network_relate_commission.go +++ b/rule/public_platoon_double_network_relate_commission.go @@ -343,15 +343,14 @@ func randSeedIntDoubleNetwork(start, end int64, nums int, uniqueMap map[int64]bo } /* -*EstimateUserPosition 预估用户位置 -*total 排名总数 -*level 预估排名层级 -*levelRank 用户当前层级排名 -*rank 用户总排名 -*previousRow 上一层级 -*diffValue 距离上一层级差值 - */ - +EstimateUserPosition 预估用户位置 +total 排名总数 +level 预估排名层级 +levelRank 用户当前层级排名 +rank 用户总排名 +previousRow 上一层级 +diffValue 距离上一层级差值 +*/ func EstimateUserPosition(engine *xorm.Engine, uid int) (total, level, levelRank, rank, previousRow int, diffValue string, err error) { //1、查找 `user_public_platoon_setting` 基础设置 userPublicPlatoonDoubleNetworkSetting, err := db.UserPublicPlatoonDoubleNetworkSettingGetOneByParams(engine, map[string]interface{}{