27

knife4j如何自定义设置Cookie

 3 years ago
source link: https://www.oschina.net/question/4605234_2322383
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

knife4j如何自定义设置Cookie

其实是白羊 发布于 昨天 10:46

场景:项目中使用sessionid来当做用户认证的凭证,放在cookie中进行传输。

问题:在使用knife4j在线文档时,没办法在全局设置中自定义设置Cookie中的SessionId

尝试:自己尝试在全局设置中的添加Cookie:SESSIONID=XXXX进入Head但是没用

所以请教下,有大佬处理过这个问题吗


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK