5ini99 / think-auth Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
如题
我需要完成一个功能,需要获取一个用户所有权限,传到view里面去,显示对应的模块
@(eval('$condition=(' . $command . ');'));
这行的问题, 请问为什么要注释掉报错?我这边如何继续使用, 我也是从Tp3转Tp5的, 就出现了这个问题
composer require 5ini99/think-auth:dev-master
不会玩这个。
我应该把下载包里面的:Auth.php放到哪个文件夹下面啊?
一般第3方。我放到:vendor文件夹里面了。
现在我的结构是:vendor/auth/Auth.php
使用:use think\auth\Auth;出错了。。
有些模块不需要认证。
如:
admin/home/index admin/home/main
能否增加个:
$auth->NoCheck('admin/home/index,admin/home/main');
或者:
$auth->NoCheck = 'admin/home/index,admin/home/main';
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.