Commit f7499f51 authored by liuyuzhen's avatar liuyuzhen

取件码问题

parent 338ec5ad
......@@ -968,6 +968,7 @@ class OrderServiceModel extends \Business\AbstractModel
$dlyoPickupCode = \Our\NameConst::emptyString;
foreach ($orderList as $order) {
$orderNos[] = $order['order_sn'];
$dlyoPickupCode = substr($order['order_sn'], ApiConst::positionPickupCodeBegin);
if ($order['order_state'] == \Our\ApiConst::orderStateWaitPay) {
$orderTips = \Our\DescribeConst::payFailedTips;
$orderSubTips = \Our\DescribeConst::payFailedSubTips;
......@@ -996,7 +997,6 @@ class OrderServiceModel extends \Business\AbstractModel
$orderContent['payway'] = \Our\DescribeConst::afterPay;
}
$orderContent['orderAmount'] = $order['order_amount'];
$dlyoPickupCode = substr($order['order_sn'], ApiConst::positionPickupCodeBegin);
$orderContents[]=$orderContent;
}
$orderIds[] = $order['order_id'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment