摘要:
//创建控制器 php artisan make:controller DemoController //创建模型层 php artisan make:model Models/login //登录 php artisan make:model Models/list //列表 php artisa 阅读全文
摘要:
DB::table('users')->increment('votes'); // 自增 1 DB::table('users')->increment('votes', 5); // 自增 5 DB::table('users')->decrement('votes'); // 自减 1 DB: 阅读全文