Showing
1 changed file
with
0 additions
and
4 deletions
| ... | @@ -14,10 +14,6 @@ class UserProfile extends Model | ... | @@ -14,10 +14,6 @@ class UserProfile extends Model |
| 14 | 14 | ||
| 15 | protected $fillable = ['user_id','unionid']; | 15 | protected $fillable = ['user_id','unionid']; |
| 16 | 16 | ||
| 17 | - protected $casts = [ | ||
| 18 | - 'create_vip_time' => 'boolean', | ||
| 19 | - ]; | ||
| 20 | - | ||
| 21 | public function user() | 17 | public function user() |
| 22 | { | 18 | { |
| 23 | return $this->belongsTo('App\Models\User', 'id', 'user_id'); | 19 | return $this->belongsTo('App\Models\User', 'id', 'user_id'); | ... | ... |
-
Please register or login to post a comment