用户名

$(function () {
        $.ajax({
            url : baseURL+'api/userInfo',
            type : 'post',
            dataType : 'json',
            success : function(data) {
                if(data.code==0){
                    var user=data.data;
                    $("#userName").html(user.username);
                    $("#serviceEndDate").html(user.expireTime);
                    $("#productname").html(user.productname);
                }
            }
         });
    });

 

posted @ 2018-01-11 13:50  huahua_0825  阅读(129)  评论(0编辑  收藏  举报