wx.uploadFile请求无法传x-wx-key这个header信息
Closed this issue · 1 comments
dennis-ji commented
如果使用qcloud.request的话,可以正常传x-wx-key这个header用于登录验证,
但是,
wx.uploadFile请求无法传x-wx-key这个header信息。
如何解决?
jas0ncn commented
可以仿照 request 从 Session 中取 skey:https://github.com/tencentyun/wafer2-client-sdk/blob/master/lib/request.js#L77