Closed hemocy closed 3 years ago
你这个应该是跟144同一个需求,不过我暂时没时间调整。先归到一类去。或者你们可以自己PR
如果你不考虑返回结果的提示话,可以直接在 axiosClient.interceptors.response.use
里面做处理
还有个问题,生成的api返回值都是Promise any $ref没有生效一样 swaggerv3版本 这个$ref,生成代码后 ,如何生成正确的res.data类型,而不是都是any? 盼回复~thx
应该是这个的原因,这里需要是 application/json
感谢大佬,have a nice day!
由于项目之前都是resove(res),现在换用这个导出的api,返回的和以前不同,代码要改的地方太多。有没有方法或者配置项修改?