Files
OMS/app/taskmgr/lib/cache/abstract.php
2025-12-28 23:13:25 +08:00

25 lines
495 B
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
/**
* 导出数据存储基类
*
* @author kamisama.xia@gmail.com
* @version 0.1
*/
abstract class taskmgr_cache_abstract {
//saas定义的是用户域名
private function kvprefix() {
return (defined('KV_PREFIX')) ? KV_PREFIX : 'default';
}
public function create_key($key)
{
return md5($this->kvprefix() . $key);
}
}