easy-yapi icon indicating copy to clipboard operation
easy-yapi copied to clipboard

[Question] No token be found for moudle

Open gchzz opened this issue 3 years ago • 6 comments

Describe the question

导出到yapi时提示找不到token,在IDEA2020版本时可以,换到了2022.02就不好用了,再换回2020版本也不好用,不知道是否是更换IDEA引起

Expected result

希望可以成功导出接口文档

Screenshots

image

gchzz avatar Aug 17 '22 03:08 gchzz

在idea设置里把yapi的tokens清空试试

tangcent avatar Aug 17 '22 04:08 tangcent

在idea设置里把yapi的tokens清空试试

清空了还是不好用,这个token现在是这样的:image 我记得之前token比较长,是token问题吗 插件试了好多版本都不行

gchzz avatar Aug 17 '22 07:08 gchzz

image image image image

gchzz avatar Aug 17 '22 08:08 gchzz

你这个比较麻烦,yapi版本太老了 要切换到登录模式: http://easyyapi.com/documents/login_mode_yapi.html 具体怎么登录也要看你们有没有对yapi进行二开或者使用了sso。

tangcent avatar Aug 17 '22 10:08 tangcent

你这个比较麻烦,yapi版本太老了 要切换到登录模式: http://easyyapi.com/documents/login_mode_yapi.html 具体怎么登录也要看你们有没有对yapi进行二开或者使用了sso。

解决了,感谢大佬。 运维说没换过版本,但是之前就是用token推的现在就不行。 大家如果遇到这种问题,参考老版本解决方案,然后最后在这个框里输入项目id,不要输token。 image

gchzz avatar Aug 17 '22 11:08 gchzz

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 24 '22 14:09 stale[bot]