/// <summary> /// 生成通知云平台的js脚本 /// </summary> /// <param name="connectInfo"></param> /// <param name="userName"></param> /// <param name="birthday"></param> /// <param name="gender"></param> /// <param name="email"></param> /// <param name="isPublicEmail"></param> /// <param name="isUsedQQAvatar"></param> /// <param name="type"></param> /// <returns></returns> private string GetNotifyScript(UserConnectInfo connectInfo, string userName, string birthday, int gender, string email, int isPublicEmail, int isUsedQQAvatar, string type) { return(string.Format("<script type=\"text/javascript\" src=\"{0}\" ></script>", DiscuzCloud.GetBindUserNotifyUrl(connectInfo, userName, birthday , gender, email, isPublicEmail == 1 ? 1 : 2, isUsedQQAvatar, type))); }