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

国际服无法登陆 #7

Open
WenheLI opened this issue Nov 30, 2021 · 0 comments
Open

国际服无法登陆 #7

WenheLI opened this issue Nov 30, 2021 · 0 comments

Comments

@WenheLI
Copy link

WenheLI commented Nov 30, 2021

运行

const MJSoul = require("mjsoul")
const mjsoul = new MJSoul({
    url: "wss://mjusgs.mahjongsoul.com:9663/", //雀魂ws连接地址,可以修改为日服或者国际服的地址
    timeout: 5000, //异步超时时间,超时则会reject
    wsOption: "" //websocket参数(使用https://github.com/websockets/ws),可以用来配置代理等
})
let data = await mjsoul.sendAsync('oauth2Login', {
        type: 10,
        access_token: ,
        lient_version_string: "web-0.9.205"
    })

一直报 9999 的错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant