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
2abd2524
Commit
2abd2524
authored
Nov 26, 2018
by
christ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dilivery
parent
b33150bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
DeliveryService.php
application/models/Business/Store/DeliveryService.php
+1
-3
Order.php
application/models/DAO/Order/Order.php
+0
-1
No files found.
application/models/Business/Store/DeliveryService.php
View file @
2abd2524
...
...
@@ -77,9 +77,7 @@ class DeliveryServiceModel extends \Business\AbstractModel
$deliveryMan
=
$deliveryManDao
->
findById
(
$data
[
'id'
]);
$oringeDeliveryManMemberId
=
$deliveryMan
[
'memberId'
];
$deliveryManMemberIds
=
array
(
$deliveryManMemberId
,
$oringeDeliveryManMemberId
);
if
(
$_POST
[
'data'
][
'debug'
]){
echo
json_encode
(
$deliveryManMemberIds
);
}
$orderDao
->
deleteOrderCache
(
null
,
$data
[
'orderId'
],
$data
[
'storeId'
],
true
,
false
,
$deliveryManMemberIds
);
$storeDao
->
deleteStoreCache
(
$data
[
'storeId'
],
$data
[
'orderId'
]);
...
...
application/models/DAO/Order/Order.php
View file @
2abd2524
...
...
@@ -888,7 +888,6 @@ class OrderModel extends \DAO\AbstractModel
if
(
!
empty
(
$diliverymanId
)){
if
(
$_POST
[
'data'
][
'debug'
]){
echo
json_encode
(
$diliverymanId
);
exit
;
}
if
(
is_array
(
$diliverymanId
)){
...
...
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