[游戏管理]玩家钱包流水

This commit is contained in:
2026-04-15 17:46:26 +08:00
parent f88afbcadb
commit 569f9e7749
7 changed files with 113 additions and 45 deletions

View File

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