已采納回答 / zhaiduting
我試過了,不用安裝vim的。win7系統(tǒng)里直接使用cmd窗口即可,就是丑了點(diǎn)……還有就是在編輯composer.json文件的時(shí)候需要用下Notepad++
2018-03-15
最贊回答 / 慕的地5181959
剛好我也遇到了??赡苁菙?shù)據(jù)長度沒有指定,造成超長你在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('**bob@gmail.com');
Mail::raw('hello this is ukuoffer',function( $message){
$message->from('****@163.com','AA');
$message->subject('offer');
$message->to('**bob@gmail.com');
2018-02-02
Call to undefined function App\Http\Controllers\file_get_contenes()
2018-01-31
laravel中有Validator驗(yàn)證,但是在復(fù)雜的驗(yàn)證中我們可以使用表單驗(yàn)證Requests/UserRequest.php 相比之家簡單好用功能很多
2018-01-29
最贊回答 / 慕粉3402813
你可以使用?--tries?選項(xiàng)來指定任務(wù)的最大嘗試次數(shù),這里我設(shè)置為3,嘗試了3次后,依然不ok,就會(huì)記錄到failed_jobs表中
php?artisan?queue:listen?--tries=3
2018-01-26