import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../shared/shared.module';

const routes: Routes = [
  {path: 'bill', loadChildren: () => import('./bill/bill.hmpay.module').then(m => m.HmpayBillModule)},
  {path: 'channel', loadChildren: () => import('./channel/channel.hmpay.module').then(m => m.HmpayChannelModule)},
  {path: 'merchant', loadChildren: () => import('./merchant/merchant.hmpay.module').then(m => m.HmpayMerchantModule)},
];

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