讨论数量:
这个错误很大程度上是因为provides方法没有写,造成服务注册失败。
我是把 provides 写成 providers 了 :sweat_smile:
public function provides()
{
return [Weather::class, 'weather'];
}
这个错误很大程度上是因为provides方法没有写,造成服务注册失败。
我是把 provides 写成 providers 了 :sweat_smile:
public function provides()
{
return [Weather::class, 'weather'];
}
推荐文章: