Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1aea138c
authored
Dec 26, 2018
by
PRY5YKGJ82EZEPX\Administrator
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'hcy_pcb_20181221-r' into development
parents
2612c41c
7bd74c20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
app/Http/Controllers/WebController.php
app/Http/Controllers/WebController.php
View file @
1aea138c
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment