购买页获取最近订单
<p><strong>简要描述:</strong> </p>
<ul>
<li>购买页获取最近订单</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>pc/last_order</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </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;">machine</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>1.判断是否存在machine,如果存在则直接从Cookie取出传入 2.如果不存在则从get_page_data接口中取出buyer_token字段当作machine,存入Cookie,并把machine传入 注意:machine传入时需要RSA加密</td>
</tr>
<tr>
<td style="text-align: left;">link</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>页面名称</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"__type":"result",
"state":"ok",
"msg":"获取成功",
"data":{
"order":{"pay_at":1568621624,
"order_num":"kfk190916dd46adcc",
"product_num":1,
"cash":"0.50",
"delivery_count":1,
"channel_name":"支付宝H5",
"page_short_url":"9envt22ddddd",
"title":"您有1个新的已支付订单",
"msg":"您在4秒前购买的快发卡订单号为:kfk190916dd46adcc,总价为:0.50元的订单已经发货,是否前去查看卡密?"
}},
"time":1568621628
}</code></pre>