## **事件上报--角色升级**
### <blockquote class="danger"><p>注意事项: 事件有多个,但接口为同一个,只是传递的参数值不同,以下为角色升级事件</p></blockquote>
#### 请求URL https://api.superbrawll.com/cp/v1/cpEvent/event
#### 请求方式 POST
#### 请求头 Accept:application/json
#### 请求参数
| 公共参数 | 必须 | **类型** | **说明** |
| ------------ | ---- | -------- | --------------------------------- |
| event_name | <span style="color:green">是</span> | string | 事件名称:**role_update** |
| event_params | <span style="color:green">是</span> | string | 事件参数 |
**event_params参数:**
| 参数 | 必须 | **类型** | **说明** |
| ------------- | ---- | -------- | ------------ |
| server_id | <span style="color:green">是</span> | string | 区服id |
| server_name | <span style="color:green">是</span> | string | 区服名称 |
| role_id | <span style="color:green">是</span> | string | 角色id |
| role_name | <span style="color:green">是</span> | string | 角色名称 |
| group_name | <span style="color:green">是</span> | string | 角色行会名称 |
| role_level | <span style="color:green">是</span> | string | 角色等级 |
| vip_level | <span style="color:green">是</span> | string | vip等级 |
| time | <span style="color:green">是</span> | string | 事件上报时间 |
| role_vocation | <span style="color:green">是</span> | string | 角色职业 |
| slug | <span style="color:green">是</span> | string | 用户UID |
| game_id | <span style="color:green">是</span> | string | 游戏id |
```
{
"event_name":"role_update",
"event_params":{
"role_name":"矿泉水",
"server_name":"打金76服",
"role_vocation":"无",
"group_name":"无",
"role_id":"3638993496123729920",
"role_level":"160",
"time":"1646816625",
"vip_level":"0",
"server_id":"77",
"slug":"os_P2m793Vl4R",
"game_id":"240510aeb25849f2aa89ba214186389e"
}
}
```
#### 返回结果:
```
{
"code":0,
"message":"OK",
"data":[],
"errors":[]
}
```