lottery

咕啦-彩票系统


彩店营业状态获取更改

<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> { &amp;quot;code&amp;quot;: 600, &amp;quot;msg&amp;quot;: &amp;quot;门店营业状态&amp;quot;, &amp;quot;result&amp;quot;: { &amp;quot;business_status&amp;quot;: 1,//当前门店状态 &amp;quot;status_name&amp;quot;: &amp;quot;营业中&amp;quot;//状态名称 } }</code></pre> <p><strong>更改店铺状态返回示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: 600, &amp;quot;msg&amp;quot;: &amp;quot;操作成功&amp;quot;, &amp;quot;result&amp;quot;: { &amp;quot;business_status&amp;quot;: 1, //更改店铺状态后的状态值 &amp;quot;status_name&amp;quot;: &amp;quot;营业中&amp;quot;//更改店铺状态后的状态名称 } }</code></pre> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML