2023-09-26
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using BLL;
|
||||
|
||||
namespace FineUIPro.Web.AttachFile
|
||||
{
|
||||
public partial class OnlineEditing :PageBase
|
||||
{
|
||||
#region 定义参数
|
||||
public string Appid
|
||||
{
|
||||
get
|
||||
{
|
||||
var sysSet = (from x in Funs.DB.Sys_Set where x.SetName == "OnlineEditAppid" select x).ToList().FirstOrDefault();
|
||||
if (sysSet != null)
|
||||
{
|
||||
return sysSet.SetValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
public string Appkey
|
||||
{
|
||||
get
|
||||
{
|
||||
var sysSet = (from x in Funs.DB.Sys_Set where x.SetName == "OnlineEditAppkey" select x).ToList().FirstOrDefault();
|
||||
if (sysSet != null)
|
||||
{
|
||||
return sysSet.SetValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
public string CallBackUrl
|
||||
{
|
||||
get
|
||||
{
|
||||
var sysSet = (from x in Funs.DB.Sys_Set where x.SetName == "OnlineEditCallBackurl" select x).ToList().FirstOrDefault();
|
||||
if (sysSet != null)
|
||||
{
|
||||
return sysSet.SetValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
public string ReadOnly
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["ReadOnly"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["ReadOnly"] = value;
|
||||
}
|
||||
}
|
||||
public string PCUrl
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["PCUrl"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["PCUrl"] = value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
/*UserId = Request.Params["UserId"];
|
||||
AttachFileId = Request.Params["AttachFileId"];
|
||||
ReadOnly = Request.Params["ReadOnly"];*/
|
||||
PCUrl = Request.Params["fileUrl"];
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user