异常类规范 增加异常类 改进Query类的value和column的缓存冲突问题

This commit is contained in:
thinkphp
2016-06-12 16:35:42 +08:00
parent 659900ab91
commit b10635e22e
33 changed files with 236 additions and 79 deletions

View File

@@ -38,7 +38,7 @@ class Sae
public function __construct($options = [])
{
if (!function_exists('memcache_init')) {
throw new Exception('请在SAE平台上运行代码。');
throw new \BadFunctionCallException('请在SAE平台上运行代码。');
}
$this->handler = memcache_init();
if (!$this->handler) {