-
Notifications
You must be signed in to change notification settings - Fork 0
/
snippets.json
44 lines (44 loc) · 1004 Bytes
/
snippets.json
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
43
44
{
"req struct" : {
"body" : [
"${1:req} ${2:num} {",
" request {",
" ${3:req}",
" }",
" response {",
" r 0 : integer",
" ${4:resp}",
" }",
"}"
],
"description" : "通常req",
"prefix" : "st"
},
"resp item struct" : {
"body" : [
"${1:req} ${2:num} {",
" request {",
" ${3:req}",
" }",
" response {",
" r 0 : integer",
" items 1 : *item(id)",
" ${4:resp}",
" }",
"}"
],
"description" : "返回items的req",
"prefix" : "sti"
},
"sync struct" : {
"body" : [
"sync_${1:req} ${2:num} {",
" request {",
" ${3:struct}",
" }",
"}"
],
"description" : "sync消息的结构",
"prefix" : "sync"
}
}