企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## **角色信息同步** ## <blockquote class="danger"><p>注意事项: 角色ID不能重复</p></blockquote> #### 请求URL &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;https://api.superbrawll.com/cp/v1/server/role #### 请求方式 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;POST #### 请求头 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Accept:application/json #### 请求参数 | 公共参数     | 必须 | 类型| 说明 | | ------------ | ---- | -------- | ----------------------------------------------------------- | | slug         | <span style="color:green">是</span>   | string   | 用户标识                                                    | | role\_id      | <span style="color:green">是</span>   | string   | 角色id                                                      | | role\_name    | <span style="color:green">是</span>   | string   | 角色名称                                                    | | server\_id    | <span style="color:green">是</span>   | string   | 区服id                                                      | | server       | <span style="color:green">是</span>   | string   | 区服名称                                                    | | type         | <span style="color:green">是</span>   | integer  | 事件类型:<br> 1:角色创建<br> 2:角色登录<br> 3:角色退出 | | sign         | <span style="color:green">是</span>   | string   | 验签                                                        | | operate\_time | <span style="color:green">是</span>   | string   | 操作时间                                                    | #### 返回结果: ``` { "code":0, "message":"OK", "data":[], "errors":[] } ```