康邦-管理端


下发商品订单

<p><strong>请求URI:</strong></p> <ul> <li><code>/admin-api/order/service/order/provide</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;">buy_list</td> <td style="text-align: left;">require</td> <td style="text-align: left;">array</td> <td>购买内容</td> </tr> <tr> <td style="text-align: left;">user_uid</td> <td style="text-align: left;">require</td> <td style="text-align: left;">string</td> <td>用户uid</td> </tr> <tr> <td style="text-align: left;">memo</td> <td style="text-align: left;"></td> <td style="text-align: left;">string</td> <td>备注</td> </tr> </tbody> </table> <ul> <li> <p>buy_list格式</p> <pre><code>[ { &amp;quot;id&amp;quot;:77,//商品id &amp;quot;buy_qty&amp;quot;:2,//购买数量 &amp;quot;service_info&amp;quot;:{ &amp;quot;sale_price&amp;quot;: 50000, } } ]</code></pre> </li> <li>请求示例 <pre><code>{     &amp;quot;buy_list&amp;quot;: [         {             &amp;quot;id&amp;quot;: 78,             &amp;quot;buy_qty&amp;quot;: 3         },         {             &amp;quot;id&amp;quot;: 77,             &amp;quot;buy_qty&amp;quot;: 1         },         {             &amp;quot;id&amp;quot;: 72,             &amp;quot;buy_qty&amp;quot;: 1,             &amp;quot;service_info&amp;quot;:{                 &amp;quot;sale_price&amp;quot;:1000             }         },         {             &amp;quot;id&amp;quot;: 70,             &amp;quot;buy_qty&amp;quot;: 1         }     ],     &amp;quot;user_uid&amp;quot;: &amp;quot;43fe9f10f3ce420cbc8b8b31a627d124&amp;quot; }</code></pre></li> </ul> <p><strong>返回示例:</strong></p> <pre><code>{ &amp;quot;msg&amp;quot;: &amp;quot;请求成功&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;user_uid&amp;quot;: &amp;quot;b449c270dc3745ca9644d309dac5bd51&amp;quot;, &amp;quot;order_no&amp;quot;: &amp;quot;250205472780001&amp;quot;,//订单号 &amp;quot;buy_list&amp;quot;: [ { &amp;quot;id&amp;quot;: 77, &amp;quot;buy_qty&amp;quot;: 1, &amp;quot;service_info&amp;quot;: { &amp;quot;id&amp;quot;: 77, &amp;quot;cover_image&amp;quot;: &amp;quot;https://s.kbcare.cn/uploads/20250123/6a646a738b87825eb722c0be24af45f3.png&amp;quot;, &amp;quot;title&amp;quot;: &amp;quot;药箱&amp;quot;, &amp;quot;sort_id&amp;quot;: 49, &amp;quot;sale_price&amp;quot;: 50000, &amp;quot;unit_type&amp;quot;: 0, &amp;quot;unit_type_payload&amp;quot;: 1, &amp;quot;list_show_switch&amp;quot;: 1, &amp;quot;member_show_switch&amp;quot;: 1, &amp;quot;member_select_switch&amp;quot;: 1, &amp;quot;member_buy_min_qty&amp;quot;: 1, &amp;quot;member_buy_max_qty&amp;quot;: 1, &amp;quot;online_switch&amp;quot;: 1, &amp;quot;detail&amp;quot;: &amp;quot;&amp;lt;p&amp;gt;&amp;lt;img src=\&amp;quot;https://s.kbcare.cn/uploads/20250123/3b97b706eb62bc84a81513bd959be5a0.png\&amp;quot;&amp;gt;&amp;lt;/p&amp;gt;&amp;quot;, &amp;quot;create_datetime&amp;quot;: &amp;quot;2025-01-23 12:50:42&amp;quot;, &amp;quot;update_datetime&amp;quot;: &amp;quot;2025-01-24 20:50:31&amp;quot;, &amp;quot;tip&amp;quot;: &amp;quot;线上线下结合、全科专科融合的新型医疗健康服务赋能,致力为用户提供一站式医疗健康服务。&amp;quot;, &amp;quot;poster_image&amp;quot;: &amp;quot;https://s.kbcare.cn/uploads/20250123/28adbd4d26504e1a81fdd1fc8fd4b2bc.png&amp;quot;, &amp;quot;weight&amp;quot;: 0 } } ], &amp;quot;pay_type&amp;quot;: 1, &amp;quot;total_price&amp;quot;: 48000,//实付总额 &amp;quot;original_price&amp;quot;: 0, &amp;quot;service_charge_price&amp;quot;: 0, &amp;quot;admin_provide_switch&amp;quot;: 1, &amp;quot;take_service_charge_switch&amp;quot;: 1, &amp;quot;memo&amp;quot;: &amp;quot;专享订单&amp;quot;, &amp;quot;id&amp;quot;: 1566 }, &amp;quot;code&amp;quot;: 0 }</code></pre>

页面列表

ITEM_HTML