ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
在给微信小程序提供接口的时候使用的是https,token是放在header里面, 不过服务器一直没获取到,怀疑可能是nginx没有允许设置header。解决办法就是在nginx配置文件里面加上`underscores_in_headers on;` ![](https://box.kancloud.cn/67b89fab1da05441a6932be21f4c7cc2_557x390.png)