营销策略启用
<p><strong>接口说明 </strong></p>
<pre><code>请求接口: /admin/market/rule/enable
请求方式: POST
接口说明: 需登陆 营销策略启用</code></pre>
<p><strong>请求参数 </strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>长度</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>ruleId</td>
<td>是</td>
<td>20</td>
<td>int</td>
<td>营销策略id</td>
</tr>
<tr>
<td>enable</td>
<td>是</td>
<td>1</td>
<td>int</td>
<td>是否启用(0未启用,1启用)</td>
</tr>
</tbody>
</table>
<p><strong>返回参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>string</td>
<td>状态值</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>返回消息</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code":"0000",
"msg":"success",
"data": null
}</code></pre>