Authored by 周少峰

invoice images

23.7 KB | W: | H:

38.2 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
@@ -701,8 +701,10 @@ class CartModel @@ -701,8 +701,10 @@ class CartModel
701 /* 发票内容 */ 701 /* 发票内容 */
702 if (!empty($pay['data']['invoices']['invoiceContentList'])) { 702 if (!empty($pay['data']['invoices']['invoiceContentList'])) {
703 foreach ($pay['data']['invoices']['invoiceContentList'] as $value) { 703 foreach ($pay['data']['invoices']['invoiceContentList'] as $value) {
704 - $result['piaoTypes'][$value['invoices_type_id']]['id'] = $value['invoices_type_id'];  
705 - $result['piaoTypes'][$value['invoices_type_id']]['name'] = $value['invoices_type_name']; 704 + $result['piaoTypes'][] = array(
  705 + 'id' => $value['invoices_type_id'],
  706 + 'name' => $value['invoices_type_name']
  707 + );
706 } 708 }
707 $result['receiverMobile'] = isset($userInfo['data']['mobile']) && $userInfo['data']['mobile'] ? $userInfo['data']['mobile'] : ''; 709 $result['receiverMobile'] = isset($userInfo['data']['mobile']) && $userInfo['data']['mobile'] ? $userInfo['data']['mobile'] : '';
708 $result['invoiceUrl'] = 'http://www.yohobuy.com/help?category_id=99'; 710 $result['invoiceUrl'] = 'http://www.yohobuy.com/help?category_id=99';