填写邀请码3.5
<p><strong>简要描述:</strong> </p>
<ul>
<li>填写邀请码</li>
</ul>
<p><strong>作者:</strong> </p>
<ul>
<li>黄丹明</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/xtwl_write_interface/cmd</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;">code</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>邀请码</td>
</tr>
<tr>
<td style="text-align: left;">custId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>客户id</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>{
"param": {
"code": "PWYA34F",
"custId": "1",
"dtype": 4,
"timeStamp": "1506415038551",
"uuid": "dd0bf721-da04-4761-b247-3d6ecd9d9127",
"authKey": "0",
"secretKey": "48EAF3777B978B3542EC09FA3AB4DC38",
"userKey": "6A41AF16A8DF4FB6E0530100007F01C0"
},
"modular": "wuseraccount",
"requestname": "addInviteCode",
"version": "3.5"
}
</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">resultcode/resultdesc</td>
<td style="text-align: left;">String</td>
<td>0成功/其它返回错误信息("0003","请先登录";0002,你还没有输入邀请码哦;"0002", "邀请码不存在";"0002", "不能邀请自己哦";)</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"result": "",
"resultcode": "0",
"resultdesc": "已提交成功"
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>