SysClass.cs
(开头部分) 12KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Text;
using System.Security.Cryptography;
using System.Reflection;
using System.IO;
namespace 客户订单管理2
{
public partial class 系统
{
public static byte[] key = new byte[] { 8, 12, 50, 15, 2, 4, 83, 92 };
public static byte[] iv = new byte[] { 25, 37, 16, 40, 77, 37, 77, 27 };
public static byte[] key1 = new byte[] { 84, 62, 48, 61, 92, 7, 9, 20 };
public static byte[] iv1 = new byte[] { 21, 29, 23, 31, 24, 14, 27, 87 };
public static byte[] key2 = new byte[] { 45, 58, 88, 37, 50, 22, 92, 27 };
public static byte[] iv2 = new byte[] { 79, 78, 91, 36, 79, 80, 29, 47 };
public static bool isNewRow;
public static DataTable newTable;
public static bool 权限检查(string progName, string userName, string userClass)
{
SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["默认连接_3HK0R6GAS"].ConnectionString);
SqlCommand sqlCmd = new SqlCommand();
sqlCmd.Connection = conn;
sqlCmd.CommandText = "select count(*) from 系统_权限 where (用户名称 = '" + userName + "' or 用户级别 = '" + userClass + "') and 系统标识='BM_3HK0R6GAS' and 模块名称 = '" + progName + "'";
try
{
conn.Open();
object obj = sqlCmd.ExecuteScalar();
conn.Close();
if (obj == null)
{
return false;
}
else
{
if (Convert.ToInt16(obj) > 0)
{
return true;
}
else
{
return false;
}
}
}
catch
{
return false;
}
}
后面还有 280 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。