摘要: $helpfriend = DB::connection('luckyrecord')->table($luckyrecord)->where('id', $luckyrecordid)->select('helpfriend')->get(); dd($helpfriend[0]->helpfriend); 阅读全文
posted @ 2018-03-26 18:01 生如逆旅,一苇以航 阅读(10766) 评论(0) 推荐(0) 编辑
摘要: <?php namespace App; use App\Model; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { protected $fillable=[ 'name','email','password' ]; }... 阅读全文
posted @ 2018-03-26 07:26 生如逆旅,一苇以航 阅读(421) 评论(0) 推荐(0) 编辑
摘要: validate(\request(), [ 'name' => 'required|min:3|unique:users,name', 'email' => 'required|unique:users,email|email', 'password' => 'required|min:5|max:10|confirmed... 阅读全文
posted @ 2018-03-26 07:25 生如逆旅,一苇以航 阅读(159) 评论(0) 推荐(0) 编辑
摘要: validate(\request(), [ 'email' => 'required|email', 'password' => 'required|min:5|max:10', 'is_remember' => 'integer' ]); //逻辑: $user = \re... 阅读全文
posted @ 2018-03-26 07:24 生如逆旅,一苇以航 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 1.redhat 2.debian 3.centOS 4.ubuntu 5.fedora 6.kali linux 阅读全文
posted @ 2018-03-26 06:45 生如逆旅,一苇以航 阅读(1788) 评论(0) 推荐(0) 编辑