SoC 优化尝试,报错 Undefined property: App\\Repositories\\AuthorizationsRepository::$response
想尝试把controller冗长的代码迁移到repo中
报错如下:
response是Dingo\Api\Routing\Helpers引入的方法,在controller基类中引用过,在这里再引用,也无效,请高手指点!谢谢!
推荐文章: