会员信息集
<h2>接口名称</h2>
<p>会员信息查询</p>
<h2>接口描述</h2>
<p>该接口用于查询会员信息</p>
<h2>请求URL</h2>
<p>POST 域名/addons/yun_shop/api.php?route=plugin.member-common-sync.open.member.index&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.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>
<tr>
<td>mobile</td>
<td>string</td>
<td>否</td>
<td>手机号</td>
</tr>
<tr>
<td>create_time</td>
<td>object</td>
<td>否</td>
<td>示例值: {"create_time":{"start":1713880261,"end":1713880261}}</td>
</tr>
<tr>
<td>create_time.start</td>
<td>int</td>
<td>-</td>
<td>开始时间戳(秒级10位)</td>
</tr>
<tr>
<td>create_time.start</td>
<td>int</td>
<td>-</td>
<td>结束时间戳(秒级10位)</td>
</tr>
<tr>
<td>page</td>
<td>int</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.index&amp;i=1
{
&quot;body&quot;: {
&quot;notstr&quot;: &quot;kutciyozow64&quot;,
&quot;timestamp&quot;: 1713890387
},
&quot;page&quot;: 1,
&quot;mobile&quot;: 12345678901,
&quot;create_time&quot;: {
&quot;start&quot;: 1713921013,
&quot;end&quot;: 1713921013
},
&quot;sign&quot;: &quot;496337b3b139d7a8a2ec129e65156a9d&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>
</tbody>
</table>
<h3>响应成功</h3>
<pre><code class="language-json">{
&quot;result&quot;: 1,
&quot;msg&quot;: &quot;ok&quot;,
&quot;data&quot;: {
&quot;current_page&quot;: 1,
&quot;data&quot;: [
{
&quot;uid&quot;: 28,
&quot;realname&quot;: &quot;吴亮&quot;,
&quot;nickname&quot;: &quot;吴亮&quot;,
&quot;mobile&quot;: &quot;17620803846&quot;,
&quot;createtime&quot;: 1714187960,
&quot;point&quot;: &quot;0.00&quot;,
&quot;income&quot;: &quot;0.00&quot;,
&quot;level&quot;: {
&quot;id&quot;: 1,
&quot;level_name&quot;: &quot;等级1&quot;
},
&quot;wisely_card&quot;: &quot;CARD123456&quot;
}
],
&quot;first_page_url&quot;: &quot;http://localhost/addons/yun_shop/api.php?page=1&quot;,
&quot;from&quot;: 1,
&quot;last_page&quot;: 2,
&quot;last_page_url&quot;: &quot;http://localhost/addons/yun_shop/api.php?page=2&quot;,
&quot;next_page_url&quot;: &quot;http://localhost/addons/yun_shop/api.php?page=2&quot;,
&quot;path&quot;: &quot;http://localhost/addons/yun_shop/api.php&quot;,
&quot;per_page&quot;: 15,
&quot;prev_page_url&quot;: null,
&quot;to&quot;: 15,
&quot;total&quot;: 21
}
}</code></pre>
<h3>响应失败</h3>
<pre><code class="language-json">{
&quot;result&quot;: 0,
&quot;msg&quot;: &quot;校验失败&quot;,
&quot;data&quot;: []
}</code></pre>