APICloud设置获取传递参数
api.getPrefs({
key : 'Password'
}, function(ret, err) {
password = ret.value;
});
var password = api.getPrefs({
sync : true,
key : 'Password'
});
api.getPrefs({
key : 'Password'
}, function(ret, err) {
password = ret.value;
});
var password = api.getPrefs({
sync : true,
key : 'Password'
});