Authored by xiaowei

物流信息优化

@@ -330,6 +330,7 @@ class OrderModel @@ -330,6 +330,7 @@ class OrderModel
330 $result['courierNumbe'] = isset($logistics['data']['express_number']) ? $logistics['data']['express_number'] : ''; 330 $result['courierNumbe'] = isset($logistics['data']['express_number']) ? $logistics['data']['express_number'] : '';
331 $expressDetail = isset($logistics['data']['express_detail']) ? $logistics['data']['express_detail'] : array(); 331 $expressDetail = isset($logistics['data']['express_detail']) ? $logistics['data']['express_detail'] : array();
332 if (isset($expressDetail) && $expressDetail) { 332 if (isset($expressDetail) && $expressDetail) {
  333 + $result['logistics'] = array();
333 foreach ($expressDetail as $value) { 334 foreach ($expressDetail as $value) {
334 $pos = stripos($value['accept_address'], ' ') / 3; 335 $pos = stripos($value['accept_address'], ' ') / 3;
335 $city = mb_substr($value['accept_address'], 0, $pos, 'utf-8'); 336 $city = mb_substr($value['accept_address'], 0, $pos, 'utf-8');