fix(139): modify the authentication mode

This commit is contained in:
Andy Hsu
2023-06-09 23:02:02 +08:00
parent 47976af0d3
commit 6cbd2532cc
2 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ func (d *Yun139) request(pathname string, method string, callback base.ReqCallba
req.SetHeaders(map[string]string{
"Accept": "application/json, text/plain, */*",
"CMS-DEVICE": "default",
"Cookie": d.Cookie,
"Authorization": d.Authorization,
"mcloud-channel": "1000101",
"mcloud-client": "10701",
//"mcloud-route": "001",