- Notifications
You must be signed in to change notification settings - Fork 268
/
Copy pathdelete.html
executable file
·42 lines (36 loc) · 918 Bytes
/
delete.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
<head>
<metacharset="UTF-8">
<title>DELETE</title>
<scripttype="text/javascript" src="RequestUtil.js"></script>
</head>
<body>
<script>
//方式一,适用于删除单个对象
deleteObject("Moment",10000);
//方式二,适用于删除多个同类型对象
// deleteArray("Moment", [10000, 10001, 10002]);
// //方式三,通用方式,适用于删除单个对象
//
// var json = {
// "tag":"Moment",
// "Moment":{
// "id":10000
// }
// };
//
// request(url_delete, json);
// //方式四,通用方式,适用于删除多个对象
//
// var json = {
// "tag":"Moment",
// "Moment":{
// "id{}":[10000, 10001, 10002]
// }
// };
//
// request(URL_DELETE, json);
</script>
</body>
</html>