Przeglądaj źródła

fix:edit create_batch_msg

jimmyyem 6 miesięcy temu
rodzic
commit
5b18e595b8

+ 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))
 	total := int32(len(userList))*int32(len(msgActionList)) + int32(len(groupList))*int32(len(msgActionList))
 
 
 	if total == 0 {
 	if total == 0 {
-		return &types.BaseMsgResp{Msg: errormsg.TargetNotFound}, nil
+		return &types.BaseMsgResp{Msg: "未查询到收信人,请重新选择", Code: 3}, nil
 	}
 	}
 
 
 	uuid := uuidx.NewUUID()
 	uuid := uuidx.NewUUID()