mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正Cookie类的has方法
This commit is contained in:
@@ -105,7 +105,7 @@ class Cookie
|
||||
{
|
||||
$prefix = !is_null($prefix) ? $prefix : self::$config['prefix'];
|
||||
$name = $prefix . $name;
|
||||
return isset($_COOKIE[$name]) ? $value: null;
|
||||
return isset($_COOKIE[$name]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -856,11 +856,10 @@ class Query
|
||||
/**
|
||||
* 分析查询表达式
|
||||
* @access public
|
||||
* @param string $logic 查询逻辑
|
||||
* @param string $logic 查询逻辑 and or xor
|
||||
* @param string|array|\Closure $field 查询字段
|
||||
* @param mixed $op 查询表达式
|
||||
* @param mixed $condition 查询条件
|
||||
* @param string $logic and or xor
|
||||
* @param array $param 查询参数
|
||||
* @return void
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user