v2.0.10-20230413

This commit is contained in:
MI15\Win
2023-04-13 15:11:07 +08:00
parent c65ca9225c
commit d1f4530ded
8 changed files with 144 additions and 9 deletions

View File

@@ -422,6 +422,9 @@ function write_regcode(){
}elseif($_GET['type'] == 'set'){
write_global_config('reg_tips',$_POST['content'],'注册提示');
msg(1,'保存成功');
}elseif($_GET['type'] == 'del'){
delete_db("regcode_list",[ "id" => json_decode($_POST['id'])]);
msg(1,'删除成功');
}
msg(-1,'无效的请求类型');