Преглед на файлове

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

fuwencai преди 1 година
родител
ревизия
3ec937cae9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 {