import Mine from "@/pages/mobile/mine/main/index";
import Devices from "@/pages/mobile/mine/devices/index";
import DeviceDetail from "@/pages/mobile/mine/devices/DeviceDetail";
import TrafficPool from "@/pages/mobile/mine/traffic-pool/list/index";
import TrafficPoolDetail from "@/pages/mobile/mine/traffic-pool/detail/index";
import WechatAccounts from "@/pages/mobile/mine/wechat-accounts/list/index";
import WechatAccountDetail from "@/pages/mobile/mine/wechat-accounts/detail/index";
import Recharge from "@/pages/mobile/mine/recharge/index";
import UserSetting from "@/pages/mobile/mine/userSet/index";
const routes = [
  {
    path: "/mine",
    element: <Mine />,
    auth: true,
  },
  {
    path: "/devices",
    element: <Devices />,
    auth: true,
  },
  {
    path: "/devices/:id",
    element: <DeviceDetail />,
    auth: true,
  },
  {
    path: "/traffic-pool",
    element: <TrafficPool />,
    auth: true,
  },
  {
    path: "/traffic-pool/detail/:id",
    element: <TrafficPoolDetail />,
    auth: true,
  },
  // 微信号管理路由
  {
    path: "/wechat-accounts",
    element: <WechatAccounts />,
    auth: true,
  },
  {
    path: "/wechat-accounts/detail/:id",
    element: <WechatAccountDetail />,
    auth: true,
  },
  {
    path: "/recharge",
    element: <Recharge />,
    auth: true,
  },
  {
    path: "/settings",
    element: <UserSetting />,
    auth: true,
  },
];

export default routes;
