Skip to content

Instantly share code, notes, and snippets.

@aoeuidht
Created February 11, 2014 09:55
Show Gist options
  • Save aoeuidht/8932059 to your computer and use it in GitHub Desktop.
Save aoeuidht/8932059 to your computer and use it in GitHub Desktop.
the new cc protocol
{
"result": {
"err_no": 0
},
"content": [
{
"type": "log",
"content": {
"enable": 1,
"size": 3072
}
},
{
"type": "uimodulectr",
"content": {
"navi": 0,
"streetscape": 0,
"kuaitaxi": 1,
"diditaxi": 1,
"newstreet": 1
}
},
{
"type": "treasure",
"content": {
"enable": 1
}
},
{
"type": "cdn",
"content": {
"enable": 0
}
},
{
"type": "push",
"content": {
"enable": 1
}
},
{
"type": "incits",
"content": {
"enable": 0
}
},
{
"type": "longlink",
"content": {
"enable": 1
}
},
{
"type": "fshare",
"content": {
"qintervar": 20,
"must_dis": 50,
"mustnt_dis": 30,
"ambiguity_time": 10
}
},
{
"type": "map.android.baidu.scenery",
"content": {
"config": {
"category": "scenery",
"enable": 1,
"subcategory": {
"updateKey": "map.android.baidu.scenery",
"enable": 1,
"limit": {}
}
}
}
},
{
"type": "map.ios.baidu.scenery",
"content": {
"config": {
"category": "scenery",
"enable": 1,
"subcategory": {
"updateKey": "map.ios.baidu.scenery",
"enable": 1,
"limit": {}
}
}
}
},
{
"type": "map.android.baidu.hotel",
"content": {
"config": {
"category": "hotel",
"enable": 0,
"subcategory": {
"updateKey": "map.android.baidu.hotel",
"enable": 0,
"limit": {}
}
}
}
},
{
"type": "map.ios.baidu.hotel",
"content": {
"config": {
"category": "hotel",
"enable": 0,
"subcategory": {
"updateKey": "map.ios.baidu.hotel",
"enable": 0,
"limit": {}
}
}
}
},
{
"type": "map.android.baidu.taxi",
"content": {
"config": {
"category": "taxi",
"enable": 1,
"subcategory": {
"updateKey": "map.android.baidu.taxi",
"enable": 1,
"limit": {
"supportCity": [
"131",
"257",
"340",
"75",
"218",
"315",
"132",
"332",
"268",
"48",
"236",
"233",
"180",
"167",
"150",
"288",
"179",
"289",
"158",
"53",
"224",
"300",
"58",
"176",
"127",
"194"
]
}
}
}
}
},
{
"type": "map.ios.baidu.taxi",
"content": {
"config": {
"category": "taxi",
"enable": 1,
"subcategory": {
"updateKey": "map.ios.baidu.taxi",
"enable": 1,
"limit": {
"supportCity": [
"131",
"257",
"340",
"75",
"218",
"315",
"132",
"332",
"268",
"48",
"236",
"233",
"180",
"167",
"150",
"288",
"179",
"289",
"158",
"53",
"224",
"300",
"58",
"176",
"127",
"194"
]
}
}
}
}
},
{
"type": "multiroutes",
"content": {
"enable": 1
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment