BaseResultBean baseResultBean = BaseResultBean.error(); baseResultBean.setCode(ExceptionDict.SYSTEM_IDEMPOTENT_ERROR); baseResultBean.setMsg("该接口不能重复访问"); //返回数据 response.setContentType("application/json
Otherwise: When an unfamiliar exception is caught, some object might be in a faulty state (e.g an event emitter which is used globally and not firing events anymore due to some internal failure) and all future requests might fail or behave crazily 🔗 Read More: shutting the process 2.7 ...