dengfenglai
dengfenglai
https://github.com/top-think/think-orm/blob/e1974a4c3b1b4c5b808fcc0863fc254e711dee13/src/model/relation/HasManyThrough.php#L264 if ($this->baseQuery) { $throughKey = Str::snake(class_basename($this->model)) . "." . $this->throughKey; } Str::snake(class_basename($this->model)) 只能得到没有前缀的表名,如果有前缀那不是错了;现在使用远程一对多关联直接报错;没更新之前还是好的,这么改是为什么呢 
topthink/framework:8.0 topthink/think-annotation:2.0 例如定义了文件路由的MISS路由,然后注解路由定义的所有路由都不能使用; ``` Route::group('/', function () { Route::miss(function () { var_dump(111); }); }) ``` 能否调整下加载事件  试着调整了下 就可以访问  官方看看,是否能适当调整下
https://github.com/top-think/think-orm/blob/7b0b8ea6ca5e020217f6ba7ae34d547e148a675b/src/model/relation/HasManyThrough.php#L270 如果表有前缀就会报错,直接获取表明也不是个问题啊;再或者表明和模型名不一样也是有问题 ``` if ($this->baseQuery) { $throughKey = $this->query->getTable() . '.' . $this->throughKey; } ```
https://github.com/top-think/think-annotation/blob/293dae6f2d7bdb6fed1a89babe176f6059738ccf/src/InteractsWithInject.php#L51 需要注意的是,如果两个数组中存在相同的键名,那么“+”符号运算符会忽略掉第二个数组中的元素 在config中新增的配置是无法生效的