diff options
| author | chai <chaifix@163.com> | 2022-03-19 12:26:19 +0800 |
|---|---|---|
| committer | chai <chaifix@163.com> | 2022-03-19 12:26:19 +0800 |
| commit | 627b8e416d138112ad20b1299aca21dccebcd11c (patch) | |
| tree | e522a5e7204e81649a36451e31c2c91b1a8342e3 /uber.php | |
| parent | a90ed9f20c76fbb4b340e51e6ba05500540feba5 (diff) | |
*admin music page
Diffstat (limited to 'uber.php')
| -rw-r--r-- | uber.php | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/uber.php b/uber.php new file mode 100644 index 0000000..fee329d --- /dev/null +++ b/uber.php @@ -0,0 +1,37 @@ +<?php // 处理所有操作请求 + +require_once 'checkadmin.php' ; +require_once 'music.php'; + +$op = $_GET['op']; + +switch($op) { + case "DEL_TAG": + $tag_id = $_GET['tid']; + handle_delete_tag($tag_id); + break; + case "DEL_MUSIC": + $music_id = $_GET['mid']; + handle_delete_music($music_id); + break; + case 'DEL_ALBUM' : + $album_id = $_GET['aid']; + handle_delete_album($album_id); + break; + default: + echo 'Unkown op ' . $op; +} + +function handle_delete_music($music_id){ + +} + +function handle_delete_tag($tag_id) { + +} + +function handle_delete_album($album_id) { + +} + +?>
\ No newline at end of file |
