大屏
This commit is contained in:
@@ -8,22 +8,25 @@
|
||||
<title>意见收集</title>
|
||||
<link href="~/res/css/common.css" rel="stylesheet" type="text/css" />
|
||||
<style>
|
||||
container-title-tt {
|
||||
display: none !important
|
||||
}
|
||||
container-title-tt{display:none !important}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
|
||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:ContentPanel ID="ContentPanel1" CssClass="bodyregion" ShowBorder="false" ShowHeader="false" runat="server" Height="800">
|
||||
<iframe id="ifZHDD" runat="server" allow="microphone;camera;midi;encrypted-media;" allowfullscreen="true" width="100%" height="878" frameborder="0" style="margin-top: -78px"></iframe>
|
||||
</f:ContentPanel>
|
||||
<f:ContentPanel ID="ContentPanel1" CssClass="bodyregion" ShowBorder="false" ShowHeader="false" runat="server" Height="800">
|
||||
<iframe id="ifZHDD" runat="server" allow="microphone;camera;midi;encrypted-media;" allowfullscreen="true" width="100%" height="878" frameborder="0" style="margin-top:-78px">
|
||||
</iframe>
|
||||
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -13,6 +13,8 @@ namespace FineUIPro.Web.ZHDD
|
||||
{
|
||||
public partial class ZHDD : PageBase
|
||||
{
|
||||
|
||||
|
||||
#region 加载页面
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -23,22 +25,23 @@ namespace FineUIPro.Web.ZHDD
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
//string username = "rdys_test";
|
||||
//string password = "Runde.2024";
|
||||
string username = "合肥诺必达";
|
||||
string password = "Hf123456@";
|
||||
var res1 = APIGetHttpService.Http("https://caps.runde.pro/api/index.php?ctl=tool&act=get_pkey&user_name=" + username + "&pwd=" + password, "POST");
|
||||
var project = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == CurrUser.LoginProjectId);
|
||||
string username = project.AQMAccount;// "bruce";
|
||||
string password = project.AQMPwd;// "Admin!@%2316891#16891";
|
||||
var res1 = APIGetHttpService.Http("https://aqm.cwcec.com/api/index.php", "POST", "application/x-www-form-urlencoded", null,"ctl=tool&act=get_pkey&user_name=" + username + "&pwd="+ password);
|
||||
var j1 = JsonConvert.DeserializeObject<dynamic>(res1);
|
||||
string data = j1.data;
|
||||
|
||||
var res2 = APIGetHttpService.Http("https://caps.runde.pro/api/index.php?ctl=tool&act=get_token&user_name=" + username + "&pkey=" + j1.data, "POST");
|
||||
var res2 = APIGetHttpService.Http("https://aqm.cwcec.com/api/index.php?ctl=tool&act=get_token&user_name=" + username + "&pkey="+j1.data, "POST");
|
||||
var j2 = JsonConvert.DeserializeObject<dynamic>(res2);
|
||||
string session_id = j2.session_id;
|
||||
string token = j2.token;
|
||||
ifZHDD.Src = "https://caps.runde.pro/login/#token=" + session_id + "&user_name=" + username + "target=home";
|
||||
ifZHDD.Src = "https://aqm.cwcec.com/login/#token=" + session_id+"&user_name=" + username + "target=home";
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user