已采納回答 / zhaiduting
我試過了,不用安裝vim的。win7系統里直接使用cmd窗口即可,就是丑了點……還有就是在編輯composer.json文件的時候需要用下Notepad++
2018-03-15
最贊回答 / 慕的地5181959
剛好我也遇到了??赡苁菙祿L度沒有指定,造成超長你在migrate的代碼里加入 Schema::defaultStringLength(191);如下public function up()? ? {? ? ? ? Schema::defaultStringLength(191); //new add? ? ? ? Schema::create('users', function (Blueprint $table) {? ? ? ? ? ? $table->increments('id');? ?...
2018-03-13
Expected response code 250 but got code "554", with message "554 DT:SPM 163 smtp5,D9GowABnbl5sh3Ra+."
Mail::raw('hello this is ukuoffer',function( $message){
$message->from('****@163.com','AA');
$message->subject('offer');
$message->to('**[email protected]');
Mail::raw('hello this is ukuoffer',function( $message){
$message->from('****@163.com','AA');
$message->subject('offer');
$message->to('**[email protected]');
2018-02-02
Call to undefined function App\Http\Controllers\file_get_contenes()
2018-01-31
laravel中有Validator驗證,但是在復雜的驗證中我們可以使用表單驗證Requests/UserRequest.php 相比之家簡單好用功能很多
2018-01-29
最贊回答 / 慕粉3402813
你可以使用?--tries?選項來指定任務的最大嘗試次數,這里我設置為3,嘗試了3次后,依然不ok,就會記錄到failed_jobs表中
php?artisan?queue:listen?--tries=3
2018-01-26