前端:注册页面(后端php实现)

效果

代码

Regist.php 

<!-- 内部员工注册 -->
<?php
require_once 'get_db_conn.php';
$conn = db_connect();?>
<?php
//设置变量的默认值
if (!isset($_POST['UserID'])) {$_POST['UserID'] = '';
}
if (!isset($_POST['Password'])) {$_POST['Password'] = '';
}
if (!isset($_POST['RealName'])) {$_POST['RealName'] = '';
}
if (!isset($_POST['Phone'])) {$_POST['Phone'] = '';
}
if (!isset($_POST['Email'])) {$_POST['Email'] = '';
}
if (!isset($_POST['salesman'])) {$_POST['salesman'] = '';
}
if (!isset($_POST['employeename'])) {$_POST['employeename'] = '';
}
if (!isset($_POST['address'])) {$_POST['address'] = '';
}
?>
<?php
//提交表单
if (isset($_POST['SubmitUser'])) {$InputError = 0;//账号长度小于4if (mb_strlen($_POST['UserID']) < 4) {$InputError = 1;echo '<script>alert("The user ID entered must be at least 4 characters long");</script>';}//密码小于5elseif (mb_strlen($_POST['Password']) < 5) {$InputError = 1;echo '<script>alert("The password entered must be at least 5 characters long");</script>';}//检查用户从表单提交的密码是否包含了用户IDelseif (mb_strstr($_POST['Password'], $_POST['UserID']) != False) {$InputError = 1;echo '<script>alert("The password cannot contain the user id");</script>';}//判断UserID是否为adminelseif ($_POST['UserID'] == 'admin') {echo '<script>alert("The demonstration user called demo cannot be modified");</script>';$InputError = 1;}// 检查数据库中的账户ID是否存在if ($_POST['UserID']) {$result = mysqli_query($conn, "SELECT userid FROM regist_user WHERE userid='" . $_POST['UserID'] . "' and status = '待审核'");$result1 = mysqli_query($conn, "SELECT userid FROM www_users WHERE userid='" . $_POST['UserID'] . "'");if ((mysqli_num_rows($result1) == 1) || (mysqli_num_rows($result) == 1)) {$InputError = 1;echo '<script>alert("用户账户 ' . $_POST['UserID'] . ':已经存在,不能重复!");</script>';}}//准备插入数据库$i = 0;$ModulesAllowed = '';//密码加密function CryptPass($Password){$CryptFunction = 'sha1';if ($CryptFunction == 'sha1') {return sha1($Password);} elseif ($CryptFunction == 'md5') {return md5($Password);} else {return $Password;}}$ModulesAllowed = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,';if ($InputError != 1) {/*密码加密*/$UpdatePassword = '';//插入注册表中$sql_insert = "INSERT INTO regist_user(userid,realname,user_type,salesman,depart_code,role_name,password,phone,email,address,price_flag,wip_flag,blocked,creation_date,status)VALUES ('" . $_POST['UserID'] . "','" . $_POST['RealName'] . "','" . '内部员工' . "','" . $_POST['salesman'] . "','" . $_POST['depart_code'] . "','" . $_POST['role_name'] . "', '" . CryptPass($_POST['Password']) . "','" . $_POST['Phone'] . "','" . $_POST['Email'] . "','" . $_POST['address'] . "','" . $_POST['price_flag'] . "','" . $_POST['wip_flag'] . "','" . $_POST['Blocked'] . "',					'" . time() . "','待审核')";$result_insert = mysqli_query($conn, $sql_insert);//插入总签核表$sql_allunsign = "insert into all_unsigned(order_number,user_code,type,info_user,status,created_by,creation_date)values('','" . $_POST['UserID'] . "','内部员工注册','admin','未读','注册账号','" . time() . "')";$result_allunsign = mysqli_query($conn, $sql_allunsign);// echo $sql_allunsign;//清除之前的数据$_POST['UserID'] = '';$_POST['RealName'] = '';$_POST['depart_code'] = '';$_POST['salesman'] = '';$_POST['Phone'] = '';$_POST['Email'] = '';$_POST['Password'] = '';$_POST['Blocked'] = 0;$_POST['address'] = '';$_POST['price_flag'] = '';$_POST['wip_flag'] = '';$_POST['role_name'] = '';$_POST['employeename'] = '';//重定向header('Refresh: 1; URL=' . $_SERVER['PHP_SELF']);}
}?>
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"><meta http-equiv="Content-Type" content="application/html; charset=utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /><link rel="stylesheet" href="css/threeport/regist.css" type="text/css" /><link rel="shortcut icon" href="/JXC/favicon.ico" /><link rel="icon" href="/JXC/favicon.ico" /><script type="text/javascript" src="/JXC/javascripts/miscfunctions.js"></script><script type="text/javascript" src="/JXC/javascripts/wdatepicker.js"></script><script type="text/javascript">var basepath = '/JXC/statics/base/images';</script><script type="text/javascript" src="/JXC/statics/base/js/metvar.js"></script><script type="text/javascript" src="/JXC/statics/base/js/jQuery1.7.2.js"></script><script type="text/javascript" src="/JXC/statics/base/js/uploadify/jquery.uploadify.v2.1.4.min.js"></script><script type="text/javascript" src="/JXC/statics/base/js/iframes.js"></script><script type="text/javascript" src="/JXC/statics/base/js/cookie.js"></script><script type="text/javascript" src="/JXC/statics/base/js/jquery.livequery.js"></script><script src="/JXC/javascript/jquery-1.7.2.min.js"></script><script src="/JXC/javascript/lhgdialog.min.js?self=true&skin=chrome"></script><title>顺帆ERP欢迎您</title>
</head><body><div class="container"><div class="wrapper"><div class="header">内部员工注册</div><form method="post" class="all_content" action="<?= htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') ?>"><div class="content_position"><!-- 第一行 --><div class="content_line"><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>用户账户:</div><div class="item_content"><input class="input" value="<?php echo $_POST['UserID']; ?>" pattern="(?!^([aA]{1}[dD]{1}[mM]{1}[iI]{1}[nN]{1})$)[^?+.&\\>< ]{4,}" type="text" autocomplete="off" required="required" name="UserID" size="15" maxlength="20" placeholder="'._('At least 4 characters').'" title="'._('Please input not less than 4 characters and canot be admin or contains ilLegal characters').'" /></div></div></div><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>密码:</div><div class="item_content"><input type="password" value="<?php echo $_POST['Password']; ?>" class="input" autocomplete="off" pattern=".{5,}" name="Password" size="15" required="required" maxlength="20" placeholder="'._('At least 5 characters').'" title="'._('Passwords must be 5 characters or more and cannot same as the users id. A mix of upper and lower case and some non-alphanumeric characters are recommended.').'" /></div></div></div><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>使用者姓名:</div><div class="item_content"><input type="text" value="<?php echo $_POST['RealName']; ?>" class="input" autocomplete="off" name="RealName" required="required" size="36" maxlength="35" /></div></div></div><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>电话:</div><div class="item_content"><input type="tel" value="<?php echo $_POST['Phone']; ?>" class="input" autocomplete="off" name="Phone" pattern="[0-9+()\s-]*" size="32" maxlength="30" /></div></div></div></div><!-- 第二行 --><div class="content_line"><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>电子邮件:</div><div class="item_content"><input type="email" value="<?php echo $_POST['Email']; ?>" class="input" autocomplete="off" name="Email" placeholder="' . _('user@domain.com') . '" size="32" maxlength="55" title="'._('A valid email address is required').'" /></div></div></div><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>部门:</div><div class="item_content"><?php$sql_depart = "SELECT depart_name FROM hr_departs ORDER BY depart_name";$result_depart = mysqli_query($conn, $sql_depart);echo '<select name="depart_code" class="select">';while ($myrow_depart = mysqli_fetch_array($result_depart)) {if (isset($_POST['depart_code']) and $myrow_depart['depart_name'] == $_POST['depart_code']) {echo '<option selected="selected" value="' . $myrow_depart['depart_name'] . '">' . $myrow_depart['depart_name'] . '</option>';} else {echo '<option value="' . $myrow_depart['depart_name'] . '">' . $myrow_depart['depart_name'] . '</option>';}}echo '</select>';?></div></div></div><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>价格查看管控:</div><div class="item_content"><select class="select" required="required" name="price_flag"><?phpif ($_POST['price_flag'] == 'N') {echo '<option selected="selected" value="N">' . '否' . '</option>';echo '<option value="Y">' . '是' . '</option>';} else {echo '<option selected="selected" value="Y">' . '是' . '</option>';echo '<option value="N">' . '否' . '</option>';}?></select></div></div></div><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>生产查看管控:</div><div class="item_content"><select class="select" required="required" name="wip_flag">';<?phpif ($_POST['wip_flag'] == 'N') {echo '<option selected="selected" value="N">' . '否' . '</option>';echo '<option value="Y">' . '是' . '</option>';} else {echo '<option selected="selected" value="Y">' . '是' . '</option>';echo '<option value="N">' . '否' . '</option>';}?></select></div></div></div></div><!-- 第三行 --><div class="content_line"><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>功能角色:</div><div class="item_content"><?php$sql_role = "SELECT role_nameFROM sys_role_headersORDER BY role_name";$result_role = mysqli_query($conn, $sql_role);echo '<select name="role_name" class="select">';while ($myrow_role = mysqli_fetch_array($result_role)) {if (isset($_POST['role_name']) and $myrow_role['role_name'] == $_POST['role_name']) {echo '<option selected="selected" value="' . $myrow_role['role_name'] . '">' . $myrow_role['role_name'] . '</option>';} else {echo '<option value="' . $myrow_role['role_name'] . '">' . $myrow_role['role_name'] . '</option>';}}echo '</select>';?></div></div></div><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>业务员:</div><div class="item_content"><input type="text" class="input" autocomplete="off" name="salesman" size="15" id="text_slect_employee_num" value="<?php echo $_POST['salesman']; ?>"><a class="a_sel" id="btn_slect_employee" hfre="###" title="选择">选</a></div></div></div><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>业务员姓名:</div><div class="item_content"><input class="input" type="text" autocomplete="off" name="employeename" id="text_slect_employee_name" value="<?php echo $_POST['employeename']; ?>" /></div></div></div><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>联系地址:</div><div class="item_content"><input type="text" class="input" autocomplete="off" name="address" size="35" value="<?php echo $_POST['address']; ?>" /></div></div></div></div><!-- 第四行 --><div class="content_line"><div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>账户状态:</div><div class="item_content"><select required="required" name="Blocked" class="select"><?phpif (isset($_POST['Blocked']) and $_POST['Blocked'] == 1) {echo '<option selected="selected" value="1">' . 'Blocked' . '</option>';echo '<option value="0">' . 'Open' . '</option>';} else {echo '<option selected="selected" value="0">' . 'Open' . '</option>';echo '<option value="1">' . 'Blocked' . '</option>';}?></select></div></div></div><!-- <div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>通知账号:</div><div class="item_content"> --><?php// $sql_infoby = "SELECT userid FROM www_users";// $result_infoby = mysqli_query($conn, $sql_infoby);// echo '<select name="info_user" class="select">';// // 添加一个默认空选项// echo '<option value="" selected="selected">请选择账号</option>';// while ($myrow_infoby = mysqli_fetch_array($result_infoby)) {// 	if (isset($_POST['info_user']) && $myrow_infoby['userid'] == $_POST['info_user']) {// 		echo '<option selected="selected" value="' . $myrow_infoby['userid'] . '">' . $myrow_infoby['userid'] . '</option>';// 	} else {// 		echo '<option value="' . $myrow_infoby['userid'] . '">' . $myrow_infoby['userid'] . '</option>';// 	}// }// echo '</select>';?><!-- </div></div></div> --><!-- <div class="content_item"><div class="item_info"><div class="item_title"><text class="require">*</text>账户类型:</div><div class="item_content"><div class="radio"><div class="radio-group"><input type="radio" name="user_type" value="inemployee" <?php if ((isset($_POST['user_type']) && $_POST['user_type'] == 'inemployee') || !isset($_POST['user_type'])) echo 'checked'; ?>><label>内部员工</label><input type="radio" name="user_type" value="supplier" <?php if (isset($_POST['user_type']) && $_POST['user_type'] == 'supplier') echo 'checked'; ?>><label>供应商</label><input type="radio" name="user_type" value="customer" <?php if (isset($_POST['user_type']) && $_POST['user_type'] == 'customer') echo 'checked'; ?>><label>客户</label></div></div></div></div></div> --></div><div class="all_btn"><div class="btn_position"><input class="btn" type="submit" value="注册" name="SubmitUser" /></div></div></div></form></div><div id="message" class="message"></div></div><script type="text/javascript">$(document).ready(function() {//员工选择$('#btn_slect_employee').dialog({title: '选择员工',width: '550px',height: 470,content: 'url:BtnSearchemployee.php?fwValue=&cat=buliao',init: function() {this.content.document.getElementById('cat').value = 'buliao';this.content.document.getElementById('fwValue').value = '';}});});</script><script>//消息提示// 获取提示框元素var messageElement = document.getElementById('message');// 设置提示消息文本和样式var message = '<?php echo $result_insert ? "插入成功" : "插入失败"; ?>';var className = '<?php echo $result_insert ? "success" : "error"; ?>';// 添加类名和文本内容messageElement.classList.add(className);messageElement.textContent = message;// 显示提示框messageElement.style.display = 'block';// 延迟一段时间后隐藏提示框setTimeout(function() {messageElement.style.display = 'none';}, 1000);</script>
</body></html>

css/threeport/regist.css

* {margin: 0;padding: 0;
}html {height: 100%;
}body {height: 100%;background-color: #85aded;
}.container {height: 100%;background-color: #85aded;/* background-image: linear-gradient(to right, #16a0e8, #16a0e8); */
}/* 选择键 */
.a_sel {color: #4884df;
}.wrapper {/* background: rgba(182, 182, 182, 0.6); *//* background-color: #ffffff60; */background: rgba(255, 255, 255, 0.26);width: 90%;height: 80%;border-radius: 15px;position: relative;left: 50%;top: 50%;transform: translate(-50%, -50%);
}/* 标题 */
.header {font-size: 150%;font-weight: bold;text-align: center;height: 15%;width: 100%;display: flex;justify-content: center;align-items: center;/* border: 1px solid black; */
}/* 内容 */
.all_content {/* border: 1px solid black; */width: 100%;height: 70%;display: flex;justify-content: center;align-items: center;
}/* 按钮 */
.all_btn {/* border: 1px solid black; */width: 100%;height: 14%;display: flex;justify-content: center;align-items: flex-start;
}/* 中心内容 */
.content_position {width: 98%;height: 100%;display: flex;flex-direction: column;
}.content_line {flex: 1;display: grid;grid-template-columns: repeat(4, 1fr);/* 将网格分为四列,每列宽度相等 */gap: 10px;/* 设置网格项之间的间距 *//* border: 1px solid black; */
}.content_item {/* border: 1px solid black; */width: 100%;
}.item_info {display: flex;align-items: center;padding: 5% 0;font-size: 90%;
}.require {color: red;
}.item_title {width: 35%;display: flex;justify-content: flex-end;
}.item_content {width: 65%;
}.item_content .input {/* border: 1px solid black; */width: 90%;height: 100%;padding: 4% 0;background-color: #e8f0fe;border: none;/* background-color: rgba(255, 255, 255, 0);border:1px solid rgb(101, 101, 101); */
}.item_content .select {width: 90%;height: 100%;padding: 4% 0;background-color: #e8f0fe;border: none;/* background-color: rgba(255, 255, 255, 0);border:1px solid rgb(101, 101, 101); */
}/* 按钮内容 */
.btn_position {width: 10%;/* border:1px solid black; */
}.btn {text-align: center;padding: 10px;width: 100%;/* background-image: linear-gradient(to right, #85aded, #c395f0); */background-image: linear-gradient(to right, #73a1ed, #34abff);color: #fff;border: none;
}/* 单选按钮 */
.radio-group {width: 90%;font-size: 80%;padding: 4% 0 4% 1%;display: flex;/* background-color: #e8f0fe; */
}.radio-group input[type="radio"] {margin-right: 1px;
}.radio-group label {margin-right: 4%;
}/* 消息提示 */
.message {position: fixed;top: 10px;left: 50%;transform: translateX(-50%);padding: 10px 20px;background-color: rgba(255, 251, 251, 0.26);border: 1px solid #ccc;border-radius: 4px;color: rgb(0, 0, 0);font-size: 16px;display: none;/* 初始状态隐藏 */
}/* 两个div拼接 */
.content_line1 {flex: 1;display: grid;grid-template-columns: repeat(2, 1fr);/* 将网格分为四列,每列宽度相等 */gap: 10px;/* 设置网格项之间的间距 */
}.item_title1 {background-color: #85aded;display: flex;height: 35px;line-height: 35px;padding: 0 2%;justify-content: flex-end;
}.item_content1 .input {width: 200px;height: 35px;border: none;background-color: #e8f0fe;
}.content_item1 {width: 100%;
}.item_info1 {display: flex;align-items: center;padding: 5%;font-size: 90%;
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/795878.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

实战:Solaris系统下Oracle 12.2 在线扩容ASM磁盘组操作记录

这篇文章主要是为了记录一下操作&#xff0c;这个假期又要给这套RAC扩容磁盘。 我这套Solaris的小机我还不总操作这玩意&#xff0c;和LINUX有点小差别&#xff0c;整理记录一下&#xff0c;要不每次都是现翻。 存储端划LUN映射到主机 登录到3PAR存储控制台&#xff0c;创建…

数据生成 | Matlab实现基于DE差分进化算法的数据生成

数据生成 | Matlab实现基于DE差分进化算法的数据生成 目录 数据生成 | Matlab实现基于DE差分进化算法的数据生成生成效果基本描述模型描述程序设计参考资料 生成效果 基本描述 1.Matlab实现基于DE差分进化算法的数据生成&#xff0c;运行环境Matlab2021b及以上&#xff1b; 2.计…

SSL/TLS:网络安全中的基石

&#x1f90d; 前端开发工程师、技术日更博主、已过CET6 &#x1f368; 阿珊和她的猫_CSDN博客专家、23年度博客之星前端领域TOP1 &#x1f560; 牛客高级专题作者、打造专栏《前端面试必备》 、《2024面试高频手撕题》 &#x1f35a; 蓝桥云课签约作者、上架课程《Vue.js 和 E…

Vue3_2024_8天【vue2中的标签ref和vue3中的标签ref的区别】

第一&#xff1a;Vue 2 中的 ref 在 Vue 2 中&#xff0c;ref 主要用于在模板中注册引用信息。它可以用在html标签上或&#xff08;子&#xff09;组件上。一旦标签元素或组件被渲染&#xff0c;你就可以通过 this.$refs 来访问它。 <template> <div ref"myDiv&…

HUD抬头显示器阳光倒灌实验一般步骤

概述 汽车HUD&#xff08;Head-Up Display&#xff0c;即抬头显示器&#xff09;阳光倒灌实验是一种用于评估汽车抬头显示器在阳光直射条件下显示效果的测试。该实验的目的是确保HUD系统在强烈的阳光下依然能够清晰地显示信息&#xff0c;不影响驾驶员的视线和驾驶安全。 一般…

FJSP:小龙虾优化算法(Crayfsh optimization algorithm,COA)求解柔性作业车间调度问题(FJSP),提供MATLAB代码

一、柔性作业车间调度问题 柔性作业车间调度问题&#xff08;Flexible Job Shop Scheduling Problem&#xff0c;FJSP&#xff09;&#xff0c;是一种经典的组合优化问题。在FJSP问题中&#xff0c;有多个作业需要在多个机器上进行加工&#xff0c;每个作业由一系列工序组成&a…

Python-VBA编程500例-033(入门级)

角色定位(Role Positioning)在编程中的实际应用场景主要体现在以下几个方面&#xff1a; 1、权限管理&#xff1a;在开发企业级应用或复杂的系统时&#xff0c;角色定位用于定义和管理用户的权限。例如&#xff0c;一个系统可能有管理员、普通用户、访客等不同角色&#xff0c…

LCD屏幕mmap显示

目录 前言 一.LCD显示 二.LCD颜色显示 2.1 直接显示 2.2 mmap映射显示 前言 mmap是一种内存映射文件的方法&#xff0c;它允许将文件或其它对象映射到进程的地址空间。 使用mmap映射函数进行映射显示&#xff0c;与屏幕普通直接显示相比有很大的优势 一.LCD显示基础 像素、分辨…

二叉树进阶——手撕二叉搜索树

troop主页&#xff1a;troop 手撕二叉搜索树 1.二叉搜索树的定义2.实现&#xff08;非递归&#xff09;补充结构2.1查找2.2插入2.3删除&#xff08;重要&#xff09;情况1(无孩子&&一个孩子&#xff09; 3.二叉搜索树的应用3.1K模型3.2KV模型3.2.1KV模型的实现 总结二叉…

Github 2024-04-05Java开源项目日报Top9

根据Github Trendings的统计,今日(2024-04-05统计)共有9个项目上榜。根据开发语言中项目的数量,汇总情况如下: 开发语言项目数量Java项目9TypeScript项目1OpenAPI 生成器:基于规范自动生成API工具 创建周期:2155 天开发语言:Java协议类型:Apache License 2.0Star数量:1…

linux操作系统安装及命令初识,上岸蚂蚁金服

310 包&#xff09; desktop 1800个包左右 内容必须大于 768M 系统设置 分区设置 挂载点 /boot / swap 交换分区–占用磁盘容量 网络配置 网卡配置 设置为ON 主机名配置 Begin installation 设置 root 用户密码 命令初识 命令 选项 参数&#xff1a; 命令选项参数…

独角数卡对接码支付收款教程

1、到码支付后台找到支付配置。2、将上面的复制依次填入&#xff0c;具体看下图&#xff0c;随后点立即添加 商户ID商户PID 商户KEY异步不能为空 商户密钥商户密钥

【Python使用】嘿马头条完整开发md笔记第4篇:数据库,1 方案选择【附代码文档】

嘿马头条项目从到完整开发笔记总结完整教程&#xff08;附代码资料&#xff09;主要内容讲述&#xff1a;课程简介&#xff0c;ToutiaoWeb虚拟机使用说明1 产品介绍,2 原型图与UI图,3 技术架构,4 开发,1 需求,2 注意事项。数据库&#xff0c;理解ORM1 简介,2 安装,3 数据库连接…

六、从零实战企业级K8S本地部署ThingsBoard专业版集群

1、从 docker hub 拉取 ThingsBoard PE 映像(所有节点) 1.1、查看k8s信息(主节点) kubectl cluster-info #查看k8s集群信息 kubectl get node #查看节点信息 kubectl get pod -A #查看内部组件1.2、从 docker hub 拉取 ThingsBoard PE 映像(所有…

《QT实用小工具·十六》IP地址输入框控件

1、概述 源码放在文章末尾 该项目为IP地址输入框控件&#xff0c;主要包含如下功能&#xff1a; 可设置IP地址&#xff0c;自动填入框。 可清空IP地址。 支持按下小圆点自动切换。 支持退格键自动切换。 支持IP地址过滤。 可设置背景色、边框颜色、边框圆角角度。 下面…

【35分钟掌握金融风控策略5】风控策略开发1

目录 风控策略开发 策略类型划分 单维度策略开发 风控策略开发 在风控过程中&#xff0c;风控策略最终是要直接参与风控决策的&#xff0c;风控策略的好坏会对风控结果产生直接影响&#xff0c;因此&#xff0c;开发有效的风控策略至关重要。 策略类型划分 在实际生产中&…

Redis Desktop Manager可视化工具

可视化工具 Redis https://www.alipan.com/s/uHSbg14XmsL 提取码: 38cl 点击链接保存&#xff0c;或者复制本段内容&#xff0c;打开「阿里云盘」APP &#xff0c;无需下载极速在线查看&#xff0c;视频原画倍速播放。 官网下载&#xff08;不推荐&#xff09;&#xff1a;http…

selenium 遮罩层

之前写智联自动投简历 和boss自动投简历的时候 发现操作到上限之后就有个遮罩层&#xff0c;会在当前页面有个顶层得div 没办法获取下面的内容 # 假设遮罩层元素有一个特定的ID或者其他属性 没有id xpath 或者class 都可以mask_element WebDriverWait(driver, 10).until(EC.…

网络网络层之(3)IPv6地址

网络网络层之(3)IPv6协议 Author: Once Day Date: 2024年4月2日 一位热衷于Linux学习和开发的菜鸟&#xff0c;试图谱写一场冒险之旅&#xff0c;也许终点只是一场白日梦… 漫漫长路&#xff0c;有人对你微笑过嘛… 全系列文档可参考专栏&#xff1a;通信网络技术_Once-Day的…

C语言-------内存函数

前面向大家介绍了C语言中的字符函数和字符串函数&#xff0c;今天再向大家介绍一下类似的函数———— C语言中的内存函数。 1. memcpy函数的使用和模拟实现 memcoy函数是一种通过内存来复制内容的一种函数&#xff0c;以字节为基本单位进行&#xff0c;斌并且是一个可以复制…