Authored by yyq

state

... ... @@ -14,6 +14,8 @@ function getStatus() {
yoho.invokeMethod('get.usernotificationstatus', {}, function(res) {
if (parseInt(res, 10) === 1 || res === '1') {
$('.state').html('已开启').removeClass('gosetting');
} else if (parseInt(res, 10) === 0) {
$('.state').html('未开启<i class="iconfont">&#xe614;</i>').addClass('gosetting');
}
});
}
... ...