如何解决此 Stream Close 异常错误?
How to solve this Stream Close exception error?
我在尝试从前端到后端解析数据时遇到错误,当行转到第二个时出现此流关闭错误。我正在使用 redux-saga 通过 post 方法发送信息。
def maquinasComProgramacoes = (JSON.parse(request.getReader()) as Map).entity as ArrayList
Boolean possuiProgramacoesSalvas = (JSON.parse(request.getReader()) as Map).possuiProgramacoesSalvas
您只能读取传入数据一次
def json = JSON.parse(request.getReader())
def maquinasComProgramacoes = json.entity as ArrayList
Boolean possuiProgramacoesSalvas = json.possuiProgramacoesSalvas
我在尝试从前端到后端解析数据时遇到错误,当行转到第二个时出现此流关闭错误。我正在使用 redux-saga 通过 post 方法发送信息。
def maquinasComProgramacoes = (JSON.parse(request.getReader()) as Map).entity as ArrayList
Boolean possuiProgramacoesSalvas = (JSON.parse(request.getReader()) as Map).possuiProgramacoesSalvas
您只能读取传入数据一次
def json = JSON.parse(request.getReader())
def maquinasComProgramacoes = json.entity as ArrayList
Boolean possuiProgramacoesSalvas = json.possuiProgramacoesSalvas