Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何放开画廊的访问权限? #807

Open
flowercoder opened this issue Jun 29, 2024 · 0 comments
Open

如何放开画廊的访问权限? #807

flowercoder opened this issue Jun 29, 2024 · 0 comments

Comments

@flowercoder
Copy link

flowercoder commented Jun 29, 2024

控制里面:
是否启用画廊
启用或关闭画廊功能,画廊只有已登录的用户可见,画廊中的图片均为所有用户公开的图片。

尝试改了app/Http/Controllers/Common/GalleryController.php
和routes/web.php中的某些参数。
把->middleware(CheckIsEnableGallery::class) 这项去掉校验了,但是游客直接访问/gallery还是报500错误,真心不会php。
麻烦各位大牛帮忙指点一二,先谢谢了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant