From 1bce2793455d8637829c0c84c3c5f240157fa646 Mon Sep 17 00:00:00 2001 From: zhenhui <1276357500@qq.com> Date: Fri, 20 Mar 2026 18:10:38 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A7=AF=E5=88=86=E5=95=86=E5=9F=8E]PlayX?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=B5=84=E4=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/mall/PlayxUserAsset.php | 58 ++++++++++++++++ app/common/model/MallPlayxUserAsset.php | 26 ++++++++ .../lang/backend/en/mall/playxUserAsset.ts | 13 ++++ .../lang/backend/zh-cn/mall/playxUserAsset.ts | 14 ++++ .../backend/mall/playxUserAsset/index.vue | 66 +++++++++++++++++++ 5 files changed, 177 insertions(+) create mode 100644 app/admin/controller/mall/PlayxUserAsset.php create mode 100644 app/common/model/MallPlayxUserAsset.php create mode 100644 web/src/lang/backend/en/mall/playxUserAsset.ts create mode 100644 web/src/lang/backend/zh-cn/mall/playxUserAsset.ts create mode 100644 web/src/views/backend/mall/playxUserAsset/index.vue diff --git a/app/admin/controller/mall/PlayxUserAsset.php b/app/admin/controller/mall/PlayxUserAsset.php new file mode 100644 index 0000000..a6b6ac7 --- /dev/null +++ b/app/admin/controller/mall/PlayxUserAsset.php @@ -0,0 +1,58 @@ +model = new \app\common\model\MallPlayxUserAsset(); + } + + /** + * 查看 + * @throws Throwable + */ + public function index(Request $request): Response + { + $response = $this->initializeBackend($request); + if ($response !== null) { + return $response; + } + + return $this->_index(); + } +} + diff --git a/app/common/model/MallPlayxUserAsset.php b/app/common/model/MallPlayxUserAsset.php new file mode 100644 index 0000000..d138a45 --- /dev/null +++ b/app/common/model/MallPlayxUserAsset.php @@ -0,0 +1,26 @@ + 'integer', + 'update_time' => 'integer', + 'locked_points' => 'integer', + 'available_points' => 'integer', + 'today_limit' => 'integer', + 'today_claimed' => 'integer', + ]; +} diff --git a/web/src/lang/backend/en/mall/playxUserAsset.ts b/web/src/lang/backend/en/mall/playxUserAsset.ts new file mode 100644 index 0000000..005e731 --- /dev/null +++ b/web/src/lang/backend/en/mall/playxUserAsset.ts @@ -0,0 +1,13 @@ +export default { + id: 'id', + user_id: 'user_id', + username: 'username', + locked_points: 'locked_points', + available_points: 'available_points', + today_limit: 'today_limit', + today_claimed: 'today_claimed', + today_limit_date: 'today_limit_date', + create_time: 'create_time', + update_time: 'update_time', + 'quick Search Fields': 'id', +} diff --git a/web/src/lang/backend/zh-cn/mall/playxUserAsset.ts b/web/src/lang/backend/zh-cn/mall/playxUserAsset.ts new file mode 100644 index 0000000..4754a4f --- /dev/null +++ b/web/src/lang/backend/zh-cn/mall/playxUserAsset.ts @@ -0,0 +1,14 @@ +export default { + id: 'ID', + user_id: '用户ID', + username: '用户名', + locked_points: '待领取积分', + available_points: '可用积分', + today_limit: '今日可领取上限', + today_claimed: '今日已领取', + today_limit_date: '今日上限日期', + create_time: '创建时间', + update_time: '修改时间', + 'quick Search Fields': 'ID', +} + diff --git a/web/src/views/backend/mall/playxUserAsset/index.vue b/web/src/views/backend/mall/playxUserAsset/index.vue new file mode 100644 index 0000000..e056a76 --- /dev/null +++ b/web/src/views/backend/mall/playxUserAsset/index.vue @@ -0,0 +1,66 @@ + + + + + +