Sfoglia il codice sorgente

wip:主账号不为空时使用主账号id

fuwencai 1 anno fa
parent
commit
3ec937cae9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      jyBXBuyer/rpc/model/buyerListBYEs.go

+ 1 - 1
jyBXBuyer/rpc/model/buyerListBYEs.go

@@ -326,7 +326,7 @@ func SupplyFollowInfo(in *bxbuyer.BuyerListReq, buyerNames []string, resp *bxbuy
 	isFws := map[string]bool{}
 	entIdInt, _ := strconv.Atoi(in.EntId)
 	powerCheck := IC.Middleground.PowerCheckCenter.Check(in.AppId, in.MgoUserId, in.NewUserId, in.AccountId, int64(entIdInt), in.PositionType, in.PositionId)
-	if powerCheck != nil && (*powerCheck).Member.Status > 0 && (*powerCheck).Member.Pid != "" {
+	if powerCheck != nil && (*powerCheck).Member.Pid != "" {
 		in.UserId = (*powerCheck).Member.Pid
 	}
 	if in.IsCheckFollow {