增加获取本地密码的方法
This commit is contained in:
parent
46c0231b23
commit
30b0eebc3e
@ -575,3 +575,15 @@ function deleteAccount(funId) {
|
|||||||
function resetWalletAddress(funId) {
|
function resetWalletAddress(funId) {
|
||||||
promiseCb(funId, jc.wallet.resetWalletAddress());
|
promiseCb(funId, jc.wallet.resetWalletAddress());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function storePassLocal(funId, key, val) {
|
||||||
|
promiseCb(funId, jc.wallet.nativeSvr.storagePass(key, val));
|
||||||
|
}
|
||||||
|
|
||||||
|
function restorePassLocal(funId, key) {
|
||||||
|
promiseCb(funId, jc.wallet.nativeSvr.authGetStoragePass(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
function getLocalPassState(funId, key) {
|
||||||
|
promiseCb(funId, jc.wallet.nativeSvr.passStorageState(key));
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user