用户新增角色信息
<p><strong>简要描述:</strong> </p>
<ul>
<li>新增用户角色</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>192.168.1.210:9090/adyx_mvc/api/adyx/user/createGameRole</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">roleInformation</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">json</td>
</tr>
<tr>
<td style="text-align: left;">gameId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>密码</td>
</tr>
</tbody>
</table>
<p><strong>roleInformation</strong></p>
<pre><code> [{
"title": "物理铭文",
"value": "散装铭文,50级以下",
"copy": true
}, {
"title": "法术铭文",
"value": "散装铭文,50-100级",
"copy": true
}, {
"title": "游戏账号",
"value": "xxxxxx",
"copy": true
}, {
"title": "角色名称",
"value": "测试角色",
"copy": true
}]</code></pre>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 200,
"msg": "保存成功",
"success": true,
"data": ""
}
{
"code": 0,
"msg": "保存失败",
"success": true,
"data": ""
}</code></pre>
<p>欢迎使用ShowDoc!</p>