客户星级提交
<h2>客户星级提交:</h2>
<ul>
<li>功能说明:用于发送用户的星级给到贵方</li>
<li>星级说明:</li>
<li>0星传star=1 </li>
<li>1星传star=2 </li>
<li>2星传star=3 </li>
<li>3星传star=4 </li>
<li>4星传star=5 </li>
<li>
<h2>5星传star=6 </h2>
</li>
<li>请求地址:需贵方提供给我方填写于后台</li>
</ul>
<p><strong>签名:</strong></p>
<pre><code>签名为保证传输内容的合法性,需要对传输内容进行签名。 签名算法采用 MD5,字符串为小写。
测试环境:
AppKey : bc31ed77c017aeb1
AppSecret : 20b1b7ee55e9ee46444e4154b36a6161
正式环境的参数有对接商务提供</code></pre>
<h5>签名计算方式</h5>
<pre><code>sign = md5(appKey + appSecret + phoneMd5 + timestamp);其中appSecret由接收方提供</code></pre>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>appKey</td>
<td>是</td>
<td>string</td>
<td>接收方提供</td>
</tr>
<tr>
<td>sign</td>
<td>是</td>
<td>string</td>
<td>Md5签名</td>
</tr>
<tr>
<td>timestamp</td>
<td>是</td>
<td>string</td>
<td>时间戳 到秒级 例:1704042061,10位</td>
</tr>
<tr>
<td>phoneMd5</td>
<td>是</td>
<td>string</td>
<td>明文电话号码Md5加密值(小写),用于判断是否重复</td>
</tr>
<tr>
<td>star</td>
<td>是</td>
<td>int</td>
<td>星级 具体说明看“星级说明”`</td>
</tr>
</tbody>
</table>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>msg</td>
<td>string</td>
<td>描述信息</td>
</tr>
<tr>
<td>code</td>
<td>integer</td>
<td>请求状态码</td>
</tr>
</tbody>
</table>
<p><strong>code说明</strong></p>
<table>
<thead>
<tr>
<th>Code</th>
<th>Description</th>
<th>msg</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td>成功</td>
<td>SUCCESS</td>
</tr>
<tr>
<td>401</td>
<td>失败</td>
<td>数据异常</td>
</tr>
</tbody>
</table>