Authored by 郭成尧

'order错误'

... ... @@ -122,11 +122,11 @@ class OrdersController extends WebAction
'totalYoho' => $detail['yoho_give_coin'],
'editInfo' => $detail['editInfo'],
//发票信息
'invoiceMode' => $detail['invoiceMode'],
'invoiceType' => $detail['invoiceType'] === 2 ? '电子发票' : '纸质发票',
'pdfUrl' => $detail['showInvoice'] && $detail['pdfUrl'] ? $detail['pdfUrl'] : '',
'title' => $detail['title'],
'contentValue' => $detail['contentValue'] ? $detail['contentValue'] : '个人',
'invoiceMode' => isset($detail['invoiceMode']) ? $detail['invoiceMode'] : false,
'invoiceType' => isset($detail['invoiceType']) && $detail['invoiceType'] === 2 ? '电子发票' : '纸质发票',
'pdfUrl' => isset($detail['showInvoice']) && isset($detail['pdfUrl']) && $detail['pdfUrl'] ? $detail['pdfUrl'] : '',
'title' => isset($detail['title']) ? $detail['title'] : '',
'contentValue' => isset($detail['contentValue']) ? $detail['contentValue'] : '个人',
);
if (isset($detail['noramlPayMode'])) {
$data['orderInfo'] = $detail['orderInfo'];
... ...