added phone verification

This commit is contained in:
jack
2018-04-26 11:44:04 +08:00
parent 456b5a8028
commit a85e58af54
6 changed files with 158 additions and 30 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class UserVerification extends Model
{
protected $fillable = [
'token'
];
public function user()
{
return $this->belongsTo('App\User', 'user_id');
}
}