//Pinyin table public function __construct($mcName = 'web') { MemCacheBase::getMc($mcName); } public static function singleton() { if (self::$instance == null) { self::$instance = new MemCacheBase(); } return self::$instance; } /** * generate key * @param $ids * @param $tag * @return string