|
@@ -9,7 +9,7 @@ class UserInfoModel extends BaseModel
|
|
protected $table = 'users_info';
|
|
protected $table = 'users_info';
|
|
public $timestamps = false;
|
|
public $timestamps = false;
|
|
protected $primaryKey="user_id";
|
|
protected $primaryKey="user_id";
|
|
- protected $fillable = ['user_id', 'nickname','avatar','birthday','height','weight','work','info','figure','feeling','education','income','drink','hobby','photo','video'];
|
|
|
|
|
|
+ protected $fillable = ['user_id','weixin', 'nickname','avatar','birthday','height','weight','work','info','figure','feeling','education','income','drink','hobby','photo','video'];
|
|
|
|
|
|
protected $appends = ['age'];
|
|
protected $appends = ['age'];
|
|
|
|
|