forked from papertiger8848/modelproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
interface_demo.json
44 lines (44 loc) · 1.14 KB
/
interface_demo.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
{
"title": "midway example interface configuration",
"version": "1.0.0",
"engine": "mockjs",
"rulebase": "./interfaceRules/",
"status": "online",
"interfaces": [ {
"name": "我的购物车",
"id": "Cart.getMyCart",
"urls": {
"online": "http://cart.taobao.com/json/asyncGetMyCart.do"
},
"encoding": "gbk"
}, {
"name": "主搜索接口",
"id": "Search.list",
"urls": {
"online": "http://api.s.m.taobao.com/search.json"
}
}, {
"name": "热词推荐接口",
"id": "Search.suggest",
"urls": {
"online": "http://suggest.taobao.com/sug"
}
}, {
"name": "导航获取接口",
"id": "Search.getNav",
"urls": {
"online": "http://s.m.taobao.com/client/search.do"
}
}, {
"name": "post测试接口",
"id": "Test.post",
"urls": {
"online": "http://127.0.0.1:3001/post"
},
"method": "post",
"dataType": "text"
} ],
"combo": {
"getMyData": [ "Cart.getCart", "Search.suggest" ]
}
}