百校在线

一款教育软件


保存活动套餐

<p><strong>简要描述:</strong> </p> <ul> <li>保存活动套餐</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/Activity/SaveActivityPayMeal</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;">activity_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>活动编号</td> </tr> <tr> <td style="text-align: left;">pay_meals</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>套餐信息json字符串</td> </tr> </tbody> </table> <p><strong>header:</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;">access_token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>验签token</td> </tr> </tbody> </table> <p><strong>参数说明:</strong> </p> <pre><code>pay_meals参数json形式,如下: [{ title: &amp;quot;300元3门12节课&amp;quot;,price: 300,course_count: 3 },{ title: &amp;quot;400元3门24节课&amp;quot;,price: 400.00,course_count: 3 },{ title: &amp;quot;500元3门36节课&amp;quot;,price: 500.00,course_count: 3 }]</code></pre> <p><strong>返回示例</strong></p> <pre><code> { &amp;quot;code&amp;quot;: 200, &amp;quot;msg&amp;quot;:&amp;quot;活动套餐保存成功!&amp;quot;, &amp;quot;description&amp;quot;: &amp;quot;&amp;quot;,     &amp;quot;data&amp;quot;: &amp;quot;&amp;quot; }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">int</td> <td>200成功 302 其它失败</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML