[游戏管理]压注订单

This commit is contained in:
2026-04-15 17:46:18 +08:00
parent 6bca594769
commit 92545067d2
7 changed files with 113 additions and 64 deletions

View File

@@ -1,6 +1,6 @@
<?php
namespace app\admin\controller\game;
namespace app\admin\controller\order;
use app\common\controller\Backend;
use support\think\Db;
@@ -22,11 +22,11 @@ class BetOrder extends Backend
protected string|array $orderGuarantee = ['id' => 'desc'];
protected array $withJoinTable = ['gameUser', 'channel', 'gamePeriod'];
protected array $withJoinTable = ['user', 'channel', 'gamePeriod'];
protected function initController(WebmanRequest $request): ?Response
{
$this->model = new \app\common\model\GameBetOrder();
$this->model = new \app\common\model\BetOrder();
return null;
}
@@ -87,7 +87,7 @@ class BetOrder extends Backend
->withJoin($this->withJoinTable, $this->withJoinType)
->with($this->withJoinTable)
->visible([
'gameUser' => ['username', 'phone'],
'user' => ['username', 'phone'],
'channel' => ['name'],
'gamePeriod' => ['period_no', 'status'],
])