报错代码如下:
[0] Exception in Mysql.php line 113
不支持的数据表达式:/api/Trip/save
if ('__TABLE__' == $table) {
$table = $this->query->getTable();
}
if (isset($options['alias'][$table])) {
$table = $options['alias'][$table];
}
}
if ($strict && !preg_match('/^[\w\.\*]+$/', $key)) {
throw new Exception('not support data:' . $key);
}
if ('*' != $key && ($strict || !preg_match('/[,\'\"\*\(\)`.\s]/', $key))) {
$key = '`' . $key . '`';
}
if (isset($table)) {
if (strpos($table, '.')) {
$table = str_replace('.', '`.`', $table);
}
$key = '`' . $table . '`.' . $key;我以前的服务上的环境是:Linux
PHP7.2
mysql5.6
单机上的是:
Windows7
PHP7.3
MySQL8.0.12
各位有没有遇到同样的问题呢?
最佳答案