正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -264,6 +264,7 @@ class Base extends Model | @@ -264,6 +264,7 @@ class Base extends Model | ||
| 264 | */ | 264 | */ |
| 265 | public function filterRequestData(array $data, $table) | 265 | public function filterRequestData(array $data, $table) |
| 266 | { | 266 | { |
| 267 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($table, true) . PHP_EOL, FILE_APPEND); | ||
| 267 | // 获取表的字段列表 | 268 | // 获取表的字段列表 |
| 268 | $columns = Schema::getColumnListing($table); | 269 | $columns = Schema::getColumnListing($table); |
| 269 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($columns, true) . PHP_EOL, FILE_APPEND); | 270 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($columns, true) . PHP_EOL, FILE_APPEND); |
-
请 注册 或 登录 后发表评论