Commit 7d08ebb4 authored by christ's avatar christ

dilivery

parent 0d4e7ca4
...@@ -87,7 +87,11 @@ class RedisHelper ...@@ -87,7 +87,11 @@ class RedisHelper
$cache_key = (is_array($function) $cache_key = (is_array($function)
? (str_replace('\\', ':', get_class($function[0])) . '_') ? (str_replace('\\', ':', get_class($function[0])) . '_')
: '') . $function_key . $extent_key.'_'; : '') . $function_key . $extent_key.'_';
$res = $cache_instance->tableDelAll($cache_instance->tableKeys($cache_key)); if($_POST['data']['debug']){
echo $cache_key."\r\n";
}
$res
= $cache_instance->tableDelAll($cache_instance->tableKeys($cache_key));
} else { } else {
$cache_key = (is_array($function) $cache_key = (is_array($function)
? (str_replace('\\', ':', get_class($function[0])) . '_') ? (str_replace('\\', ':', get_class($function[0])) . '_')
......
...@@ -889,9 +889,7 @@ class OrderModel extends \DAO\AbstractModel ...@@ -889,9 +889,7 @@ class OrderModel extends \DAO\AbstractModel
if(is_array($diliverymanId)){ if(is_array($diliverymanId)){
foreach($diliverymanId as $memberId){ foreach($diliverymanId as $memberId){
if($_POST['data']['debug']){
echo $memberId."\r\n";
}
$this->deleteDeliveryLogCache($memberId); $this->deleteDeliveryLogCache($memberId);
} }
......
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