增加 链接加密

This commit is contained in:
LyLme 2022-05-20 23:20:59 +08:00
parent 39e56fd021
commit d4942c624d

View File

@ -19,6 +19,13 @@ switch($submit) {
$DB->query($sql);
}
break;
case 'pwd_link':
//链接加密
foreach($_POST['links'] as $lk=> $lv) {
$sql = "UPDATE `lylme_links` SET `link_pwd` = '".$_POST['pwd_id']."' WHERE `lylme_links`.`id` = ".$lv.";";
$DB->query($sql);
}
break;
case 'on':
//链接启用
foreach($_POST['links'] as $lk=> $lv) {