import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:shield',
      order: 49.4,
      title: 'GM操作',
    },
    name: 'GmOperation',
    path: '/gm/operation',
    redirect: '/gm/operation/gold-operation',
    children: [
      {
        name: 'GmGoldOperation',
        path: 'gold-operation',
        component: () => import('#/views/gm/gold-operation.vue'),
        meta: { title: '金币操作' },
      },
      {
        name: 'GmVipGift',
        path: 'vip-gift',
        component: () => import('#/views/gm/vip-gift.vue'),
        meta: { title: 'VIP赠送' },
      },
      {
        name: 'GmGoldOperationReview',
        path: 'gold-operation-review',
        component: () => import('#/views/gm/gold-operation-review.vue'),
        meta: { title: '金币操作审核' },
      },
    ],
  },
];

export default routes;
