Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于10086脚本的相关报错 #35

Open
LawrenceYep opened this issue Nov 3, 2020 · 3 comments
Open

关于10086脚本的相关报错 #35

LawrenceYep opened this issue Nov 3, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@LawrenceYep
Copy link

LawrenceYep commented Nov 3, 2020

作者你好,首先感谢您的分享。
我在Scriptable中运行10086.js时出现了图中标记号为【2】的错误。
然后排查可能是在queryfee的方法中出现了错误,因为log中并没有console出“fee”,
接着我打印了post方法中返回后的data,发现是乱码,如log中的【1】所示,请问是这个问题所导致的吗?
P.S.我是使用boxjs获取两个关键属性chavy_autologin_cmccchavy_getfee_cmcc的,prefix也改成了boxjs.com,访问boxjs.com/query/boxdata也能够找到上述两个属性值,在QuanX中使用chavy的10086.fee.js执行构造请求是能够正确获取话费、流量相关信息的。
image

@gideonsenku
Copy link
Owner

很可能是因为乱码导致的,估计是app的解码问题

@jexxagn
Copy link

jexxagn commented Nov 5, 2020

请问boxjs是什么?(我是小白),脚本让改成自己的boxjs,但是我不知道这是什么,需要改成什么

@gideonsenku
Copy link
Owner

请问boxjs是什么?(我是小白),脚本让改成自己的boxjs,但是我不知道这是什么,需要改成什么

https://t.me/chavyscripts

@gideonsenku gideonsenku added the enhancement New feature or request label Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants