Jelajahi Sumber

wip:旧版商机管理不限制信息来源

wangkaiyue 2 tahun lalu
induk
melakukan
debbbfd0ba
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      jyBXSubscribe/rpc/internal/logic/msgdistributorlogic.go

+ 1 - 1
jyBXSubscribe/rpc/internal/logic/msgdistributorlogic.go

@@ -80,7 +80,7 @@ func (l *MsgDistributorLogic) MsgDistributor(in *bxsubscribe.MsgDistributorReq)
 		}
 	}
 	//查询分发信息内容
-	msgRes := IC.BaseServiceMysql.SelectBySql(fmt.Sprintf("SELECT * FROM pushentniche WHERE id in ('%s') and entid =? and source = 2 ", strings.Join(pushIds, "','")), in.EntId)
+	msgRes := IC.BaseServiceMysql.SelectBySql(fmt.Sprintf("SELECT * FROM pushentniche WHERE id in ('%s') and entid =?  ", strings.Join(pushIds, "','")), in.EntId)
 	if msgRes == nil || len(*msgRes) == 0 {
 		return &bxsubscribe.StatusResp{ErrorCode: -1, ErrorMsg: "获取分发信息内容异常"}, nil
 	}