登录(账号密码)
<p><strong>请求URI:</strong></p>
<ul>
<li><code>/merchant/sign-in</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;">store_passport</td>
<td style="text-align: left;">require,min:3,max:12</td>
<td style="text-align: left;">string</td>
<td>账号</td>
</tr>
<tr>
<td style="text-align: left;">store_password</td>
<td style="text-align: left;">require,min:6,max:12</td>
<td style="text-align: left;">string</td>
<td>密码</td>
</tr>
</tbody>
</table>
<p><strong>返回样例:</strong></p>
<pre><code class="language-json">{
&quot;msg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;info&quot;: {//商户信息
&quot;asset_info&quot;: {//资产信息
&quot;merchant_uid&quot;: 2241015561080001,
&quot;sms_notify_qty&quot;: 0,//短信剩余数量
&quot;expiry_timestamp&quot;: 1760513708,//到期时间(秒时间戳) 0=不限
&quot;create_datetime&quot;: &quot;2024-10-15 15:35:08&quot;,
&quot;update_datetime&quot;: &quot;2024-10-15 15:35:08&quot;
},
&quot;merchant_uid&quot;: 2241015561080001,//商铺唯一值
&quot;account_uid&quot;: 1241015397020001,
&quot;store_name&quot;: &quot;第一家&quot;,//店名
&quot;store_passport&quot;: &quot;1111114&quot;,
&quot;store_type&quot;: 0,//商户类型 0=服务,1=餐饮
&quot;store_addr&quot;: &quot;&quot;,//店铺地址
&quot;store_contact_name&quot;: &quot;xwr&quot;,//联系人
&quot;store_contact_phone&quot;: &quot;18329046271&quot;,//联系号码
&quot;invitation_code&quot;: &quot;&quot;,//注册时所用邀请码
&quot;member_days&quot;: [//会员日
8,
18,
28
],
&quot;store_wifi_ssid&quot;: &quot;&quot;,//wifi名
&quot;store_wifi_password&quot;: &quot;&quot;,//wifi密码
&quot;create_datetime&quot;: &quot;2024-10-15 15:35:08&quot;,
&quot;update_datetime&quot;: &quot;2024-10-15 15:35:08&quot;
},
&quot;token&quot;: {
&quot;access_token&quot;: &quot;e47085904e8302d6c48fc566cc43b5ef&quot;//令牌
}
},
&quot;code&quot;: 0
}</code></pre>