static private function getPageHash($url){
$path = parse_url($url);
$path = substr( $path[‘path‘],0,4);
$path = substr( md5 ( isset($path)?$path:‘action‘) ,0,6);
return $path;
}
时间: 2024-10-15 12:44:51
static private function getPageHash($url){
$path = parse_url($url);
$path = substr( $path[‘path‘],0,4);
$path = substr( md5 ( isset($path)?$path:‘action‘) ,0,6);
return $path;
}