lonycc / laravel_admin_api Goto Github PK
View Code? Open in Web Editor NEW基于laravel5.5开发的基础后台管理脚手架, RBAC权限控制; 接口基于dingo/api和tymon/jwt, 可在此基础上完成你的laravel项目
基于laravel5.5开发的基础后台管理脚手架, RBAC权限控制; 接口基于dingo/api和tymon/jwt, 可在此基础上完成你的laravel项目
Fatal error: Uncaught ReflectionException: Class config does not exist in F:\myOnlineSvn\tongmeng\backend\vendor\laravel\framework\src\Illuminate\Container\Container.php:752 Stack trace: #0 F:\myOnlineSvn\tongmeng\backend\vendor\laravel\framework\src\Illuminate\Container\Container.php(752): ReflectionClass->__construct('config') #1 F:\myOnlineSvn\tongmeng\backend\vendor\laravel\framework\src\Illuminate\Container\Container.php(631): Illuminate\Container\Container->build('config') #2 F:\myOnlineSvn\tongmeng\backend\vendor\laravel\framework\src\Illuminate\Container\Container.php(586): Illuminate\Container\Container->resolve('config', Array) #3 F:\myOnlineSvn\tongmeng\backend\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(732): Illuminate\Container\Container->make('config', Array) #4 F:\myOnlineSvn\tongmeng\backend\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php(110): Illuminate\Foundation\Application->make('config', Array) #5 F:\myOnlineSvn\tongmeng\backend\vendor\laravel\framework\src\Illu in F:\myOnlineSvn\tongmeng\backend\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 752
2014_10_12_000000_create_users_table.php
第19行错误
2018_02_06_144642_create_lotto_table.php
第21行漏括号。
PermissionSeeder.php
App\Models\User 应该改为App\Models\AdminUser
运行环境是Laravel Homestead
微信(base64):MTUyNjE4MTYxNzU=
首先感谢大神,东西我拿来在学习中。初学laravel,有空望多指教。
1,
In 2018_02_06_144642_create_lotto_table.php line 21:
Call to a member function default() on null
原因:没有设置realname字段允许为,后面写入数据时没有没有realname值
$table->string('realname')->unique()->nullable();
2,
In 2018_02_06_144642_create_lotto_table.php line 21:
Call to a member function default() on null
$table->integer('update_user')->nullable->default(0); nullable后面少了括号
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.