App_Code/BusinessLogicLayer/SiteConfig.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**********************************************************
* 说明:站点配置类SiteConfig
* 作者:chshnren1
* 创建日期:8/29/2018
* E-mail:chshnren@163.com
*********************************************************/
using System;
using System.Collections;
using System.Data;
using EnterpriseNET.DataAccessLayer;
using EnterpriseNET.DataAccessHelper;
using EnterpriseNET.CommonComponent;
namespace EnterpriseNET.BusinessLogicLayer
{
/// <summary>
/// SiteConfig 的摘要说明。
/// </summary>
public class SiteConfig
{
#region 属性
public int siteConfigID { get; set; } //站点配置ID
public string companyName { get; set; } //公司名称
public string logoPicUrl { get; set; } //logo图片
public string logoAlt { get; set; } //logo alt属性
public string erweimaPicUrl { get; set; } //二维码图片
public string erweimaAlt { get; set; } //二维码alt属性
public string mobilePicUrl { get; set; } //手机版图片
public string mobileAlt { get; set; } //手机版alt属性
public string address { get; set; } //公司地址
public string tel { get; set; } //电话
public string contacts { get; set; } //联系人
public string tel400 { get; set; } //400电话
public string mobile { get; set; } //手机号码
public string fax { get; set; } //传真
public string email { get; set; } //E-mail
public string webSite { get; set; } //网址
public string recordNumber { get; set; } //备案号码
public string statistics { get; set; } //统计代码
public string siteProfile { get; set; } //公司简介
public DateTime addTime { get; set; } //增加时间
public bool exist { get; set; } //数据是否存在
#endregion 属性
#region 方法
/// <summary>
/// 根据参数siteConfigID,获取详细信息
/// </summary>
/// <param name="SiteConfigID">站点配置ID</param>
public void LoadData(int siteConfigID)
{
Database db = new Database(); //实例化一个Database类
string sql = "";
sql = "Select siteConfigID,companyName,logoPicUrl,logoAlt,ErweimaPicUrl,ErweimaAlt,MobilePicUrl,MobileAlt,Address,tel,Contacts,Tel400,Mobile,fax,email,WebSite,RecordNumber,Statistics,siteProfile,addTime From Cai_SiteConfig where SiteConfigID = "
后面还有 51 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。