add logout method
This commit is contained in:
parent
a4b613c299
commit
ff00255ba4
File diff suppressed because one or more lines are too long
@ -36,6 +36,11 @@ function walletLogin(funId, channel, env, account) {
|
|||||||
promiseCb(funId, jc.wallet.preLogin(channel, env, account));
|
promiseCb(funId, jc.wallet.preLogin(channel, env, account));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function logout(funId, channel) {
|
||||||
|
channel = parseInt(channel || '0');
|
||||||
|
promiseCb(funId, jc.wallet.logout(channel));
|
||||||
|
}
|
||||||
|
|
||||||
function updateGameInfo(funId, info) {
|
function updateGameInfo(funId, info) {
|
||||||
jsb.updateGameInfo(funId, info);
|
jsb.updateGameInfo(funId, info);
|
||||||
promiseCb(funId, Promise.resolve(1));
|
promiseCb(funId, Promise.resolve(1));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user