import Home from "@/pages/home/index";
import Mine from "@/pages/mine/index";
import WechatAccounts from "@/pages/wechat-accounts/list/index";
import WechatAccountDetail from "@/pages/wechat-accounts/detail/index";

const routes = [
  // 基础路由
  {
    path: "/",
    element: <Home />,
    auth: true, // 需要登录
  },
  {
    path: "/mine",
    element: <Mine />,
    auth: true,
  },
  // 微信号管理路由
  {
    path: "/wechat-accounts",
    element: <WechatAccounts />,
    auth: true,
  },
  {
    path: "/wechat-accounts/detail/:id",
    element: <WechatAccountDetail />,
    auth: true,
  },
];

export default routes;
