$val = $val->__toString();
}
if (false !== strpos($key, '->')) {
list($key, $name) = explode('->', $key);
$item = $this->parseKey($query, $key);
$result[$item] = 'json_set(' . $item . ', \'$.' . $name . '\', ' . $this->parseDataBind($query, $key, $val, $bind) . ')';
} elseif ('*' == $options['field'] && false === strpos($key, '.') && !in_array($key, $fields, true)) {
if ($options['strict']) {
throw new Exception('fields not exists:[' . $key . ']');
}
} elseif (is_null($val)) {
$result[$item] = 'NULL';
} elseif (is_array($val) && !empty($val)) {
switch (strtoupper($val[0])) {
case 'INC':
$result[$item] = $item . ' + ' . floatval($val[1]);
break;
case 'DEC':
cy_lang | zh |
USER | www |
HOME | /alidata/www |
HTTP_COOKIE | cy_lang=zh |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.600711.com |
HTTP_USER_AGENT | Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.139 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
PHP_ADMIN_VALUE | open_basedir=/alidata/wwwroot/shengtun/public/:/tmp/:/proc/:/alidata/wwwroot/ |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.600711.com |
SERVER_PORT | 80 |
SERVER_ADDR | 10.171.225.157 |
REMOTE_PORT | 40150 |
REMOTE_ADDR | 104.140.79.42 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /alidata/wwwroot/shengtun/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /industry_news/163 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//industry_news/163 |
SCRIPT_FILENAME | /alidata/wwwroot/shengtun/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1735338189.2082 |
REQUEST_TIME | 1735338189 |