Merge branch 'hcy_pcb_20181221-r' into development

parents 2612c41c 7bd74c20
Showing with 6 additions and 4 deletions
......@@ -133,10 +133,12 @@ class WebController extends Controller
$orderBase['company_name'] = $userCompany ? $userCompany->com_name : "" ;
//拼接收货信息
$RegionController = new RegionController();
$orderAddress = objectToArray($orderAddress);
$orderAddress['province'] = $RegionController->getRegionName($orderAddress['province']);
$orderAddress['city'] = $RegionController->getRegionName($orderAddress['city']);
$orderAddress['district'] = $RegionController->getRegionName($orderAddress['district']);
if ($orderAddress){
$orderAddress = objectToArray($orderAddress);
$orderAddress['province'] = $RegionController->getRegionName($orderAddress['province']);
$orderAddress['city'] = $RegionController->getRegionName($orderAddress['city']);
$orderAddress['district'] = $RegionController->getRegionName($orderAddress['district']);
}
//拼接发票信息
if ($orderInvoice){
$orderInvoice = objectToArray($orderInvoice);
......
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 sign in to comment