增加 返回类型
This commit is contained in:
parent
e3c47f2d10
commit
cc7a32ff4d
@ -8,7 +8,7 @@
|
||||
|
||||
class ModuleController extends Controller
|
||||
{
|
||||
public function index()
|
||||
public function index(): JsonResponse
|
||||
{
|
||||
$modules = (new Module)->all()->makeVisible(['api_token', 'url']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user