easyswoole-panel / easyswoole_panel Goto Github PK
View Code? Open in Web Editor NEWeasyswoole写的后台,权限管理,前后分离模板
easyswoole写的后台,权限管理,前后分离模板
$this->response()->redirect("./index.html");
This package requires php >=7.2 but your PHP version (7.1.32) does not satisfy that requirement.
综上,我第一次启动以失败告终。。。
插件市场在哪里,安装完了 没有发现插件市场
服务器环境宝塔 centos7.8
在 public/nepadmin/config.js搜索 requestUrl 下使用 http://域名:9501/api/ ,然后后台使用http://域名/已经可以打开并登录
当我把public/nepadmin/config.js搜索 requestUrl 切换到https://域名:9501/api/ 和后台都切换到https://域名/ 时,后台正常打开登录页,但登录接口请求失败,麻烦大哥指点下怎么修改
install 时发现还是laravel,可以使用aliyun的,不然需要输入账号密码
"repositories": { "packagist": { "type": "composer", "url": "https://mirrors.aliyun.com/composer/" } }
Problem 1
- Installation request for tioncico/curd-automatic-generation dev-master -> satisfiable by tioncico/curd-automatic-generation[dev-master].
- tioncico/curd-automatic-generation dev-master requires easyswoole/easyswoole 3.x-dev -> satisfiable by easyswoole/easyswoole[3.x-dev] but these conflict with your requirements or minimum-stability.
refresh_token换取token?
PHP Fatal error: Uncaught Error: Class 'Co\Scheduler' not found in /www/ladmin/easyswoole_panel/EasySwooleEvent.php:3
siam.js 19行得 var json = decodeURIComponent(escape(window.atob(decodeURIComponent(token)))); 双层decodeURIComponent,否则中文乱码
1,权限没办法删除和修改。
2,"easyswoole/code-generation": "^2.0",这个估计和哪里冲突了,我composer里面删除了,才可以composer install成功,不然会报以下错误:
Problem 1 - easyswoole/code-generation[2.0.1, ..., 2.0.2] require easyswoole/http-annotation ^1.4 -> satisfiable by easyswoole/http-annotation[1.4.0, ..., 1.5.0]. - You can only install one version of a package, so only one of these can be installed: easyswoole/http-annotation[1.4.0, ..., 1.5.0, 2.0.0]. - easyswoole/easyswoole 3.x-dev requires easyswoole/http-annotation ^2.0 -> satisfiable by easyswoole/http-annotation[2.0.0]. - Root composer.json requires easyswoole/easyswoole 3.x-dev -> satisfiable by easyswoole/easyswoole[3.x-dev]. - Root composer.json requires easyswoole/code-generation ^2.0 -> satisfiable by easyswoole/code-generation[2.0.1, 2.0.2].
PHP Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /www/wwwroot/swoole.****.cn/vendor/bin/easyswoole on line 13
Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /www/wwwroot/swoole.****.cn/vendor/bin/easyswoole on line 13
App\Model\Users\UsersBean 不存在
[Swoole\Server::start(): failed to start server. Error: swServer_start_check: onTask event callback must be set at file:easyswoole_admin/vendor/easyswoole/easyswoole/src/ServerManager.php line:120]
php版本:
PHP 7.2.21 (cli) (built: Aug 27 2019 10:29:30) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
swoole版本
Author | Swoole Team [email protected]
Version | 4.4.4
Built | Aug 27 2019 10:39:29
当我配置好一些基本的配置项之后
我走到了后台登录页面,账号是1001密码是123456,点击登录按钮,请求了:
http://easyswoole.xxxx.xyz/api/users/login?u_account=1001&u_password=123456&verifyCode=&smsCode=&autoLogin=on
但是此请求404了。找不到对应的方法逻辑。
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.