Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
db1556f4
Commit
db1556f4
authored
Jan 03, 2019
by
wwccw0591
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
ba24b8cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
OrderConfirmUtil.php
application/library/Order/OrderConfirmUtil.php
+1
-1
No files found.
application/library/Order/OrderConfirmUtil.php
View file @
db1556f4
...
...
@@ -1208,6 +1208,7 @@ class OrderConfirmUtil {
return
array
(
'flag'
=>
\Our\ApiConst
::
zero
,
'errorCode'
=>
$errorCode
,
'data'
=>
$data
);
}
$order
=
$orderList
[
0
];
$order
[
'payment_time'
]
=
(
isset
(
$data
[
'payment_time'
])
?
strtotime
(
$data
[
'payment_time'
])
:
TIMESTAMP
);
//更新付款时间
$memberId
=
$orderList
[
0
][
'buyer_id'
];
$updateOrder
=
array
();
$updateOrder
[
'order_state'
]
=
\Our\ApiConst
::
orderStateWaitConfirm
;
...
...
@@ -1244,7 +1245,6 @@ class OrderConfirmUtil {
$orderModel
->
db
->
doCommit
();
//支付支付成功微信小程序模板消息
$oder
[
'payment_time'
]
=
$updateOrder
[
'payment_time'
];
//更新付款时间
$settingDAO
=
\DAO\SettingModel
::
getInstance
();
$msg_tpl
=
$settingDAO
->
getListCache
(
array
(
'wxapp_order_paysucc_tpl'
))[
'wxapp_order_paysucc_tpl'
];
\Business\Order\OrderServiceModel
::
getInstance
()
->
sendPaymentMessage
(
$order
,
$msg_tpl
);
...
...
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