feat: 用户管理页面添加充值功能

- 后端新增 POST /app-users/:id/recharge API
- 前端新增独立的用户充值页面 (/admin/users/:id/recharge)
- 充值页面风格与添加用户/编辑用户页面一致
- 支持选择卡密类型和数量进行充值
- 永久会员显示提示不允许充值

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-06-14 11:49:34 +08:00
parent d1228954ea
commit 5bbae23bca
8 changed files with 550 additions and 4 deletions
+6
View File
@@ -155,6 +155,12 @@ const routes: RouteRecordRaw[] = [
component: () => import('@/pages/admin/users/[id].vue'),
meta: { title: '编辑用户 - 管理后台' },
},
{
path: 'users/:id/recharge',
name: 'AdminUserRecharge',
component: () => import('@/pages/admin/users/[id]/recharge.vue'),
meta: { title: '用户充值 - 管理后台' },
},
{
path: 'devices',
name: 'AdminDevices',