会员详情
<h2>接口名称</h2>
<p>会员信息查询</p>
<h2>接口描述</h2>
<p>该接口用于查询会员信息</p>
<h2>请求URL</h2>
<p>POST localhost/addons/yun_shop/api.php?route=plugin.member-common-sync.open.member.detail&i=1</p>
<h2>参数</h2>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>是否必需</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>body.timestamp</td>
<td>string</td>
<td>是</td>
<td>当前时间戳(秒级10位) *参加签名</td>
</tr>
<tr>
<td>body.mobile</td>
<td>string</td>
<td>是</td>
<td>手机号</td>
</tr>
<tr>
<td>body.notstr</td>
<td>string</td>
<td>是</td>
<td>a-z A-Z 1-9, 随机12位字符串 *参加签名</td>
</tr>
<tr>
<td>sign</td>
<td>string</td>
<td>是</td>
<td>签名</td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code>localhost/addons/yun_shop/api.php?route=plugin.member-common-sync.open.member.detail&amp;i=1
{
&quot;body&quot;: {
&quot;mobile&quot;: &quot;17620803841&quot;,
&quot;notstr&quot;: &quot;B17FF0173C0f&quot;,
&quot;timestamp&quot;: &quot;1714356935&quot;
},
&quot;page&quot;: 1,
&quot;mobile&quot;: &quot;18975181704&quot;,
&quot;sign&quot;: &quot;f90bcc2df0031b2ba7836eec92418ba8&quot;
}
示例字段page不参与加密.</code></pre>
<h2>响应参数</h2>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>result</td>
<td>int</td>
<td>结果. 0 = 查询失败, 1查询成功</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>查询信息。</td>
</tr>
<tr>
<td>data</td>
<td>object</td>
<td>会员信息集</td>
</tr>
<tr>
<td>data.uid</td>
<td>int</td>
<td>会员唯一ID</td>
</tr>
<tr>
<td>data.realname</td>
<td>string</td>
<td>会员姓名</td>
</tr>
<tr>
<td>data.nickname</td>
<td>string</td>
<td>会员昵称</td>
</tr>
<tr>
<td>data.mobile</td>
<td>string</td>
<td>会员手机号</td>
</tr>
<tr>
<td>data.createtime</td>
<td>int</td>
<td>会员创建时间(时间戳)</td>
</tr>
<tr>
<td>data.point</td>
<td>string</td>
<td>会员积分(两位小数)</td>
</tr>
<tr>
<td>data.income</td>
<td>string</td>
<td>会员余额(两位小数)</td>
</tr>
<tr>
<td>data.level</td>
<td>object</td>
<td>等级</td>
</tr>
<tr>
<td>data.wisely_card</td>
<td>string</td>
<td>卡号</td>
</tr>
</tbody>
</table>
<h3>响应成功</h3>
<pre><code class="language-json">{
&quot;result&quot;: 1,
&quot;msg&quot;: &quot;ok&quot;,
&quot;data&quot;: {
&quot;uid&quot;: 21,
&quot;realname&quot;: &quot;吴亮&quot;,
&quot;mobile&quot;: &quot;17620803841&quot;,
&quot;point&quot;: &quot;0.00&quot;,
&quot;income&quot;: &quot;10.00&quot;,
&quot;level&quot;: {
&quot;id&quot;: 1,
&quot;level_name&quot;: &quot;等级1&quot;
},
&quot;wisely_card&quot;: &quot;CARD123456&quot;
}
}</code></pre>
<h3>响应失败</h3>
<pre><code class="language-json">{
&quot;result&quot;: 0,
&quot;msg&quot;: &quot;校验失败&quot;,
&quot;data&quot;: []
}</code></pre>