|
|
@@ -260,7 +260,7 @@ func smallPublicPlatoon(engine *xorm.Engine, uid, recommendUid int, userPublicPl |
|
|
|
var fatherUidStr string |
|
|
|
if m1.FatherUid == "" { |
|
|
|
//TODO::顶级 |
|
|
|
fatherUidStr = zhios_order_relate_utils.IntToStr(m1.Position) |
|
|
|
fatherUidStr = zhios_order_relate_utils.IntToStr(m1.Uid) |
|
|
|
} else { |
|
|
|
fatherUids := strings.Split(m1.FatherUid, "-") |
|
|
|
if len(fatherUids) > userPublicPlatoonSetting.SeveralRows { |
|
|
@@ -278,6 +278,16 @@ func smallPublicPlatoon(engine *xorm.Engine, uid, recommendUid int, userPublicPl |
|
|
|
now := time.Now() |
|
|
|
userSmallPublicPlatoonRelation.Uid = uid |
|
|
|
userSmallPublicPlatoonRelation.FatherUid = fatherUidStr |
|
|
|
|
|
|
|
userSmallPublicPlatoonRelation.FatherUid1 = standardSmallPublicPlatoonRelation.FatherUid1 |
|
|
|
userSmallPublicPlatoonRelation.FatherUid2 = standardSmallPublicPlatoonRelation.FatherUid1 |
|
|
|
userSmallPublicPlatoonRelation.FatherUid3 = standardSmallPublicPlatoonRelation.FatherUid2 |
|
|
|
userSmallPublicPlatoonRelation.FatherUid4 = standardSmallPublicPlatoonRelation.FatherUid3 |
|
|
|
userSmallPublicPlatoonRelation.FatherUid5 = standardSmallPublicPlatoonRelation.FatherUid4 |
|
|
|
userSmallPublicPlatoonRelation.FatherUid6 = standardSmallPublicPlatoonRelation.FatherUid5 |
|
|
|
userSmallPublicPlatoonRelation.FatherUid7 = standardSmallPublicPlatoonRelation.FatherUid6 |
|
|
|
userSmallPublicPlatoonRelation.FatherUid8 = standardSmallPublicPlatoonRelation.FatherUid7 |
|
|
|
userSmallPublicPlatoonRelation.FatherUid9 = standardSmallPublicPlatoonRelation.FatherUid8 |
|
|
|
userSmallPublicPlatoonRelation.Pid1 = standardSmallPublicPlatoonRelation.Pid1 |
|
|
|
userSmallPublicPlatoonRelation.Pid2 = standardSmallPublicPlatoonRelation.Pid2 |
|
|
|
userSmallPublicPlatoonRelation.Pid3 = standardSmallPublicPlatoonRelation.Pid3 |
|
|
|