mirror of
https://github.com/LyLme/lylme_spage.git
synced 2024-11-17 22:38:03 +08:00
增加 链接加密
This commit is contained in:
parent
39e56fd021
commit
d4942c624d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user