laravel命令行

https://laravel-china.org/docs/laravel/5.6/artisan/1385

https://segmentfault.com/q/1010000002446781

https://www.cnblogs.com/ziyouchutuwenwu/p/4274118.html

https://segmentfault.com/q/1010000005761553

https://blog.csdn.net/huang2017/article/details/69227310

# php artisan make:model Models/User_address

# php artisan make:controller IndexController

# php artisan make:controller Admin/IndexController

php artisan make:model article -m
php artisan migrate

Route::get('adminindex','Admin\IndexController@index');

Route::get('/page', function()
{
    $data = \App\Page::all();
    return $data;
});

    A+
发布日期:2018年05月31日  所属分类:未分类

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: