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.

49 lines
1.3 KiB
C#

using DSWeb.Areas.MvcShipping.DAL.MsOpSeaeBaoXian;
using DSWeb.Areas.MvcShipping.Models.MsOpSeaeBaoXian;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace DSWeb.Areas.MvcShipping.Views.MsOpSeaeBaoXian
{
public partial class FP : ViewPage
{
public OpSeaeBaoXianModel_Query_Response _Model;
protected void Page_Load(object sender, EventArgs e)
{
var uid = Session["USERID"];
if (uid!=null)
{
try
{
var comid = Session["COMPANYID"].ToString();
_Model = MsOpSeaeBaoXianDAL.query(uid.ToString(),"03", comid);
if (_Model.success == "true")
{
Response.Redirect(_Model.result.url);
}
else
{
Response.Write(_Model.message);
}
}
catch (Exception ex)
{
Response.Write(ex.Message);
}
}
else
{
Response.Write("登陆超时,请重新登陆!");
}
}
}
}