Commit f5cd5be4 authored by testshenbd's avatar testshenbd

pc

parent 8bdc6c1c
......@@ -785,7 +785,7 @@ class OrderModel extends \DAO\AbstractModel
}
//删除订单缓存
public function deleteOrderCache($memberId, $orderId = false, $stroeId = false, $deleteGetShopKeeperCountByStoreId = false, $deleteGetFavoritesCountByStoreId = false,$diliverymanId)
public function deleteOrderCache($memberId, $orderId = false, $stroeId = false, $deleteGetShopKeeperCountByStoreId = false, $deleteGetFavoritesCountByStoreId = false,$diliverymanId=0)
{
if (!empty($memberId)) {
$this->deleteGetListByMemberId($memberId);
......@@ -809,7 +809,7 @@ class OrderModel extends \DAO\AbstractModel
}
}
if(!empty($diliverymanId)){
$this->deleteGetListByMemberId($memberId);
$this->deleteGetListByMemberId($diliverymanId);
}
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment