瀏覽代碼

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 {