/*
 * @Author: your name
 * @Date: 2021-11-29 11:06:01
 * @LastEditTime: 2021-11-29 14:21:56
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \tms-obc-web\src\app\routes\account\account-routing.module.ts
 */
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AccountComponentsCenterComponent } from './components/center/center.component';

const routes: Routes = [
  { path: '', redirectTo: 'center', pathMatch: 'full' },
  {
    path: 'center',
    component: AccountComponentsCenterComponent,
    data: {
      title: '账户中心',
      titleI18n: 'app.my.center',
    },
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class AccountRoutingModule {}
