feat(admin): 新增后台用户列表与详情操作
This commit is contained in:
@@ -73,6 +73,11 @@ const AdminListingsPage = lazy(() =>
|
||||
default: module.AdminListingsPage,
|
||||
}))
|
||||
)
|
||||
const AdminUsersPage = lazy(() =>
|
||||
import('@/features/admin/AdminUsersPage').then(module => ({
|
||||
default: module.AdminUsersPage,
|
||||
}))
|
||||
)
|
||||
const AdminLayout = lazy(() =>
|
||||
import('@/layouts/AdminLayout').then(module => ({ default: module.AdminLayout }))
|
||||
)
|
||||
@@ -83,7 +88,6 @@ const AdminSectionPlaceholder = lazy(() =>
|
||||
const adminSections: Array<{ path: string; title: string; description: string }> = [
|
||||
{ path: 'orders/refund-review', title: '退款审核', description: '审核退款申请并核对资金影响。' },
|
||||
{ path: 'disputes', title: '申诉仲裁', description: '处理订单争议、证据与仲裁结果。' },
|
||||
{ path: 'users', title: '用户管理', description: '查看用户、实名状态与交易记录。' },
|
||||
{ path: 'finance', title: '财务看板', description: '查看收入、退款、结算与资金趋势。' },
|
||||
{ path: 'withdrawals', title: '提现审核', description: '审核提现申请与打款确认。' },
|
||||
{ path: 'distribution/sites', title: '分销站点', description: '管理分站、规则、结算与站点钱包。' },
|
||||
@@ -124,6 +128,7 @@ export function AppRouter() {
|
||||
<Route path="orders" element={<AdminOrdersPage />} />
|
||||
<Route path="listings" element={<AdminListingsPage />} />
|
||||
<Route path="listings/review" element={<AdminListingsPage mode="review" />} />
|
||||
<Route path="users" element={<AdminUsersPage />} />
|
||||
{adminSections.map(section => (
|
||||
<Route
|
||||
key={section.path}
|
||||
|
||||
Reference in New Issue
Block a user