瀏覽代碼

fix:修改获取群发详情

jimmyyem 1 月之前
父節點
當前提交
7752ddd5ab
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      internal/logic/batch_msg/get_batch_msg_by_id_logic.go

+ 0 - 1
internal/logic/batch_msg/get_batch_msg_by_id_logic.go

@@ -37,7 +37,6 @@ func (l *GetBatchMsgByIdLogic) GetBatchMsgById(req *types.IDReq) (*types.BatchMs
 	data, err := l.svcCtx.DB.BatchMsg.Query().Where(
 	data, err := l.svcCtx.DB.BatchMsg.Query().Where(
 		batchmsg.ID(req.Id),
 		batchmsg.ID(req.Id),
 		batchmsg.OrganizationID(organizationId),
 		batchmsg.OrganizationID(organizationId),
-		batchmsg.Ctype(1),
 	).First(l.ctx)
 	).First(l.ctx)
 	if err != nil {
 	if err != nil {
 		if ent.IsNotFound(err) {
 		if ent.IsNotFound(err) {