Authored by wuxiao

邀请函需求,修复分页缓存

... ... @@ -53,7 +53,7 @@ class Service_Invitation extends Lib_Service
$replaces = array(
'LIMIT' => $limit ? "LIMIT {$offset},{$limit}" : ''
);
return self::service(self::ROUTER)->tag(self::$_tag)->key(self::$_key.__FUNCTION__)->fetchAll('getApplyList',array(),$replaces);
return self::service(self::ROUTER)->tag(self::$_tag)->key(self::$_key.__FUNCTION__."_{$offset}_{$limit}")->fetchAll('getApplyList',array(),$replaces);
}
/**
... ... @@ -65,7 +65,7 @@ class Service_Invitation extends Lib_Service
$replaces = array(
'LIMIT' => $limit ? "LIMIT {$offset},{$limit}" : ''
);
return self::service(self::ROUTER)->tag(self::$_tag)->key(self::$_key.__FUNCTION__)->fetchAll('getPassList',array(),$replaces);
return self::service(self::ROUTER)->tag(self::$_tag)->key(self::$_key.__FUNCTION__."_{$offset}_{$limit}")->fetchAll('getPassList',array(),$replaces);
}
/**
... ...