WebUI/AdminM/OAuth/ek_user_oauth_appManage.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HModel;
using Bll;
using WebBase;
namespace WebUI.AdminM
{
public partial class ek_user_oauth_appManage : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Request.QueryString["id"] != null)
{
string id = Request.QueryString["id"].ToString();
ek_user_oauth_app c =Bll_ek_user_oauth_app.GetEntityById(id);
txt_id.Value = c.id.ToString();
txt_title.Value = c.title.ToString();
txt_img_url.Value = c.img_url.ToString();
txt_app_id.Value = c.app_id.ToString();
txt_app_key.Value = c.app_key.ToString();
txt_remark.Value = c.remark.ToString();
txt_sort_id.Value = c.sort_id.ToString();
txt_is_lock.Value = c.is_lock.ToString();
txt_api_path.Value = c.api_path.ToString();
}
else
{
}
}
}
protected void btnSave_Click(object sender, EventArgs e)
{
if (Request.QueryString["id"] != null)
{
string id = Request.QueryString["id"].ToString();
ek_user_oauth_app k = Bll_ek_user_oauth_app.GetEntityById(id);
k.Attach();
k.id = int.Parse(txt_id.Value.Trim());
k.title = txt_title.Value.Trim() ;
k.img_url = txt_img_url.Value.Trim() ;
k.app_id = txt_app_id.Value.Trim() ;
k.app_key = txt_app_key.Value.Trim() ;
k.remark = txt_remark.Value.Trim() ;
k.sort_id = int.Parse(txt_sort_id.Value.Trim());
k.is_lock = int.Parse(txt_is_lock.Value.Trim());
k.api_path = txt_api_path.Value.Trim() ;
int c = Bll_ek_user_oauth_app.UpdateEntity(k);
后面还有 24 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。