摘要: 介绍 gin 使用swagger 测试接口错误 TypeError: Failed to fetch 解决方案 找到项目中的的docs.go文件 将host 改为你程序的端口和ip,例如localhost:8080。 可能你的BasePath不是/v2,所以需要改成你的BasePath,例如我的是a 阅读全文
posted @ 2021-05-11 16:26 飞天猪皮怪 阅读(594) 评论(0) 推荐(0) 编辑