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

43 lines
785 B
PHP
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.
*/
/*
* @package base
* @copyright Copyright (c) 2010, shopex. inc
* @author edwin.lzh@gmail.com
* @license
*/
abstract class base_kvstore_abstract
{
/*
* 生成经过处理的唯一key
* @var string $key
* @access public
* @return string
*/
public function create_key($key)
{
return md5(base_kvstore::kvprefix() . $this->prefix . $key);
}//End Function
/**
* 是否支持同步的自增单号处理
*/
public function supportUUID() {
return false;
}
/**
* 返回类型值
*/
public function getUUIDFix() {
return '1';
}
}//End Class