chong

Created 用户单词同步 (markdown)

###接口地址
````
/event/statistic/synchronize/word
````
###请求方式
````
POST请求
````
###URL参数
access_token
last_update_time 默认0
###POST内容
````
[
{
"key": "phrase",
"count": 1,
"segmentation": {
"userId": 7,
"phrase": "Don't speak to unfamiliar persons.",
"template": 101
},
"timestamp": 1399459252,
"sum": 0
},
{
"key": "word",
"count": 1,
"segmentation": {
"userId": 7,
"word": "Dont",
"template": 101
},
"timestamp": 1399459252,
"sum": 0
},
{
"key": "word",
"count": 1,
"segmentation": {
"userId": 7,
"word": "speak",
"template": 101
},
"timestamp": 1399459252,
"sum": 0
}
]
````
###返回值
有返回值
```json
{
updateTime: "请求用户单词统计的最后更新时间",
wordList:[
{
word: "apple",
template: 101,
count: 3
},
{
word: "desk",
template: 101,
count: 1
}
],
phraseList: [
{
phrase: ”anredapple”,
template: 101,
count: 3
},
{
phrase: ”anewdesk”,
template: 101,
count: 1
}
]
}
```
无返回值
```java
httpcode:404
```
\ No newline at end of file
... ...