[游戏管理]用户管理
This commit is contained in:
@@ -27,9 +27,14 @@ class GameUser extends Model
|
||||
return is_null($value) ? null : (float)$value;
|
||||
}
|
||||
|
||||
public function channel(): \think\model\relation\BelongsTo
|
||||
{
|
||||
return $this->belongsTo(\app\common\model\Channel::class, 'channel_id', 'id');
|
||||
}
|
||||
|
||||
public function gameChannel(): \think\model\relation\BelongsTo
|
||||
{
|
||||
return $this->belongsTo(\app\common\model\GameChannel::class, 'game_channel_id', 'id');
|
||||
return $this->channel();
|
||||
}
|
||||
|
||||
public function admin(): \think\model\relation\BelongsTo
|
||||
|
||||
Reference in New Issue
Block a user