Authored by 梁志锋

Merge remote-tracking branch 'origin/feature/order' into feature/order

... ... @@ -301,6 +301,15 @@ $.extend({
}
});
//临时修改 footer
function phoneHidden(phone) {
return phone.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2');
}
if ($('.user-name').text().length === 11) {
$('.user-name').html(phoneHidden($('.user-name').text()));
}
//暴露公共接口
window.cookie = cookie;
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.