mobile api changes + docker image basics
This commit is contained in:
@@ -124,4 +124,11 @@ class MobileDevice extends \yii\db\ActiveRecord implements IdentityInterface
|
||||
{
|
||||
throw new NotSupportedException('"findIdentityByAccessToken" is not implemented.');
|
||||
}
|
||||
|
||||
public function getCard()
|
||||
{
|
||||
return $this->hasOne(Card::class, [
|
||||
'id_card' => 'id_card'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user