You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.3 KiB
C#

using System;
using System.Linq;
using System.Web.Mvc;
using DSWeb.MvcShipping.Models.MsTemplet;
using DSWeb.Areas.MvcShipping.DAL;
using DSWeb.MvcShipping.Helper;
using DSWeb.MvcShipping.Comm.Cookie;
using System.Collections.Generic;
using HcUtility.Comm;
using HcUtility.Core;
using DSWebComponent;
namespace DSWeb.MvcShipping.Controllers
{
[JsonRequestBehavior]
public class MsFlowTipController : Controller
{
//
// GET:
public ActionResult Index()
{
return View();
}
//
// GET:
public ActionResult LayShow()
{
string id = "";
string url = "";
string gid = Request.QueryString["gid"];//模板ID
//根据模板gid判断加载的页面templet url
var list = MsTempletDAL.GetTempletURL(gid, Session["COMPANYID"].ToString());
foreach (var listStr in list)
{
id += listStr.GID + "|";
url = listStr.LINKURL;
}
id = id.Substring(0, id.Length - 1);
Response.Redirect("../MsTemplet/" + url + "?id=" + id + "&cid=" + Session["COMPANYID"].ToString() + "&tid=" + gid);
return View();
}
#region 参照部分
#endregion
}
}