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
e53a228f
Commit
e53a228f
authored
Sep 07, 2018
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试支付日志
parent
b1c3902e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
OrderConfirmUtil.php
application/library/Order/OrderConfirmUtil.php
+4
-0
No files found.
application/library/Order/OrderConfirmUtil.php
View file @
e53a228f
...
@@ -933,7 +933,10 @@ class OrderConfirmUtil {
...
@@ -933,7 +933,10 @@ class OrderConfirmUtil {
if
(
$tempOrder
[
'coupon_id'
]
>
\Our\ApiConst
::
zero
){
if
(
$tempOrder
[
'coupon_id'
]
>
\Our\ApiConst
::
zero
){
$couponIds
[
$tempOrder
[
'order_id'
]]
=
$tempOrder
[
'coupon_id'
];
$couponIds
[
$tempOrder
[
'order_id'
]]
=
$tempOrder
[
'coupon_id'
];
}
}
$orderModel
->
deleteOrderCache
(
$tempOrder
[
'buyer_id'
],
$tempOrder
[
'order_id'
],
$tempOrder
[
'store_id'
],
true
,
true
);
$orderModel
->
deleteOrderCache
(
$tempOrder
[
'buyer_id'
],
$tempOrder
[
'order_id'
],
$tempOrder
[
'store_id'
],
true
,
true
);
\Our\Log
::
getInstance
()
->
write
(
json_encode
(
$orderCon
)
.
'$orderCon123'
);
\Our\RedisHelper
::
memberTotalFromStateToState
(
$tempOrder
[
'buyer_id'
],
ApiConst
::
orderStateWaitPay
,
ApiConst
::
orderStateWaitConfirm
);
\Our\RedisHelper
::
memberTotalFromStateToState
(
$tempOrder
[
'buyer_id'
],
ApiConst
::
orderStateWaitPay
,
ApiConst
::
orderStateWaitConfirm
);
}
}
//送券、送礼品
//送券、送礼品
...
@@ -941,6 +944,7 @@ class OrderConfirmUtil {
...
@@ -941,6 +944,7 @@ class OrderConfirmUtil {
}*/
}*/
\Our\Log
::
getInstance
()
->
write
(
json_encode
(
$orderCon
)
.
'$orderCon123231'
);
$orderModel
->
db
->
doCommit
();
$orderModel
->
db
->
doCommit
();
$this
->
deleteCacheInfo
(
$memberId
);
$this
->
deleteCacheInfo
(
$memberId
);
return
array
(
'flag'
=>
\Our\ApiConst
::
one
,
'errorCode'
=>
$errorCode
);
return
array
(
'flag'
=>
\Our\ApiConst
::
one
,
'errorCode'
=>
$errorCode
);
...
...
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