增加获取本地密码的方法

This commit is contained in:
CounterFire2023 2023-08-15 13:25:55 +08:00
parent 46c0231b23
commit 30b0eebc3e

View File

@ -575,3 +575,15 @@ function deleteAccount(funId) {
function resetWalletAddress(funId) {
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));
}