Authored by xiaowei

物流信息优化

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