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
543bd3fe
authored
Dec 26, 2018
by
PRY5YKGJ82EZEPX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更新pcb后台
parent
7bd74c20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
app/Http/Controllers/WebController.php
app/Http/Controllers/WebController.php
View file @
543bd3fe
...
@@ -120,6 +120,7 @@ class WebController extends Controller
...
@@ -120,6 +120,7 @@ class WebController extends Controller
}
}
$purchase
[
'shipping_time'
]
=
$purchase
[
'shipping_time'
]
>
0
?
date
(
'Y-m-d H:i:s'
,
$purchase
[
'shipping_time'
])
:
""
;
$purchase
[
'shipping_time'
]
=
$purchase
[
'shipping_time'
]
>
0
?
date
(
'Y-m-d H:i:s'
,
$purchase
[
'shipping_time'
])
:
""
;
$purchase
[
'finish_time'
]
=
$purchase
[
'finish_time'
]
>
0
?
date
(
'Y-m-d H:i:s'
,
$purchase
[
'finish_time'
])
:
""
;
$purchase
[
'finish_time'
]
=
$purchase
[
'finish_time'
]
>
0
?
date
(
'Y-m-d H:i:s'
,
$purchase
[
'finish_time'
])
:
""
;
$purchase
[
'purchase_amount'
]
=
$purchase
[
'purchase_amount'
]
>
0
?
$purchase
[
'purchase_amount'
]
:
""
;
}
}
//拼接基本信息
//拼接基本信息
$PcbPublicModel
=
new
PcbPublicModel
();
$PcbPublicModel
=
new
PcbPublicModel
();
...
@@ -219,6 +220,7 @@ class WebController extends Controller
...
@@ -219,6 +220,7 @@ class WebController extends Controller
if
(
$purchase
){
if
(
$purchase
){
$purchase
=
objectToArray
(
$purchase
);
$purchase
=
objectToArray
(
$purchase
);
$purchase
[
'shipping_time'
]
=
$purchase
[
'shipping_time'
]
>
0
?
date
(
'Y-m-d H:i:s'
,
$purchase
[
'shipping_time'
])
:
""
;
$purchase
[
'shipping_time'
]
=
$purchase
[
'shipping_time'
]
>
0
?
date
(
'Y-m-d H:i:s'
,
$purchase
[
'shipping_time'
])
:
""
;
$purchase
[
'purchase_amount'
]
=
$purchase
[
'purchase_amount'
]
>
0
?
$purchase
[
'purchase_amount'
]
:
""
;
$purchase
[
'order_pay_type'
]
=
PcbOrderMap
::
$order_pay_type
[
$purchase
[
'order_pay_type'
]];
$purchase
[
'order_pay_type'
]
=
PcbOrderMap
::
$order_pay_type
[
$purchase
[
'order_pay_type'
]];
}
}
//拼接订单详细信息
//拼接订单详细信息
...
...
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