彩店营业状态获取更改
<p><strong>简要描述:</strong> </p>
<p><strong>请求URL:</strong> </p>
<ul>
<li>
<p><code>http://xx.com/api/store/store/get-store-state</code>//获取店铺当前状态</p>
</li>
<li><code>http://xx.com/api/store/store/change-store-state</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;">business_status</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>店铺状态</td>
</tr>
</tbody>
</table>
<p><strong>获取店铺状态返回示例</strong></p>
<pre><code> {
&quot;code&quot;: 600,
&quot;msg&quot;: &quot;门店营业状态&quot;,
&quot;result&quot;: {
&quot;business_status&quot;: 1,//当前门店状态
&quot;status_name&quot;: &quot;营业中&quot;//状态名称
}
}</code></pre>
<p><strong>更改店铺状态返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 600,
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;result&quot;: {
&quot;business_status&quot;: 1, //更改店铺状态后的状态值
&quot;status_name&quot;: &quot;营业中&quot;//更改店铺状态后的状态名称
}
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>