/// <summary>
 /// 是否跳转链接
 /// </summary>
 /// <param name="forum"></param>
 /// <returns></returns>
 private bool JumpUrl(ForumInfo forumInfo)
 {
     //当版块有外部链接时,则直接跳转
     if (!Utils.StrIsNullOrEmpty(forumInfo.Redirect))
     {
         HttpContext.Current.Response.Redirect(forumInfo.Redirect);
         return(true);
     }
     //当允许发表交易帖时,则跳转到相应的商品列表页
     if (config.Enablemall == 1 && forumInfo.Istrade == 1)
     {
         MallPluginBase mpb        = MallPluginProvider.GetInstance();
         int            categoryid = mpb.GetGoodsCategoryIdByFid(forumInfo.Fid);
         if (categoryid > 0)
         {
             HttpContext.Current.Response.Redirect(BaseConfigs.GetForumPath + base.ShowGoodsListAspxRewrite(categoryid, 1));
             return(true);
         }
     }
     return(false);
 }