2021年4月16日

cube.js 自定义checkAuth 响应状态码

摘要: 如果阅读源码了,会发现默认是基于UserError 进行处理的,但是默认只有403,解决方法 参考源码 通过以下源码可以看到内部处理 protected checkAuth: RequestHandler = async (req, res, next) => { const token = thi 阅读全文

posted @ 2021-04-16 23:23 荣锋亮 阅读(144) 评论(0) 推荐(0) 编辑

导航