Browse Source

Merge branch 'yhg_240730'

jimmyyem 6 months ago
parent
commit
3ca0ead5b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/logic/batch_msg/create_batch_msg_logic.go

+ 1 - 1
internal/logic/batch_msg/create_batch_msg_logic.go

@@ -168,7 +168,7 @@ func (l *CreateBatchMsgLogic) CreateBatchMsg(req *types.BatchMsgInfo) (*types.Ba
 	total := int32(len(userList))*int32(len(msgActionList)) + int32(len(groupList))*int32(len(msgActionList))
 
 	if total == 0 {
-		return &types.BaseMsgResp{Msg: errormsg.TargetNotFound}, nil
+		return &types.BaseMsgResp{Msg: "未查询到收信人,请重新选择", Code: 3}, nil
 	}
 
 	uuid := uuidx.NewUUID()