[游戏管理]压注订单
This commit is contained in:
@@ -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'],
|
||||
])
|
||||
Reference in New Issue
Block a user