上传头像

if( isSetAvatar($mid) ){ 已设置头像 }else{ 未设置头像 }
头像预览