增加页面,修改样式
This commit is contained in:
@@ -29,11 +29,11 @@ namespace COMCMS.Web.Controllers
|
||||
if (Utils.IsInt(model.LinkURL))//如果是数字,则跳转到详情
|
||||
{
|
||||
//Redirect($"/aritcle/{model.LinkURL}.html");
|
||||
Redirect($"/Article/Detail/{model.LinkURL}");
|
||||
return Redirect($"/Article/Detail/{model.LinkURL}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Redirect(model.LinkURL);
|
||||
return Redirect(model.LinkURL);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -121,7 +121,7 @@ namespace COMCMS.Web.Controllers
|
||||
if (!string.IsNullOrEmpty(entity.LinkURL))
|
||||
{
|
||||
//return Content(entity.LinkURL);
|
||||
Redirect(entity.LinkURL);
|
||||
return Redirect(entity.LinkURL);
|
||||
}
|
||||
ViewBag.kind = kind;
|
||||
ViewBag.cfg = cfg;
|
||||
|
||||
Reference in New Issue
Block a user