import 'package:fluro/fluro.dart';
import 'package:yumi/modules/wallet/gold/gold_record_page.dart';
import 'package:yumi/modules/wallet/recharge/recharge_page.dart';

import 'package:yumi/app/routes/sc_router_init.dart';

class WalletRoute implements SCIRouterProvider {
  static String recharge = '/main/me/wallet/recharge';
  static String goldRecord = '/main/me/gold/goldRecord';

  @override
  void initRouter(FluroRouter router) {
    router.define(recharge,
        handler: Handler(handlerFunc: (_, params) => RechargePage()));
    router.define(goldRecord,
        handler: Handler(handlerFunc: (_, params) => GoldRecordPage()));
  }
}
