index.js 316 Bytes
import create from './create';
import onsale from './onsale';
import offsale from './offsale';
import vips from './vips';

let routers = [create, onsale, offsale, vips];

routers.forEach(router => {
    router.path = `/product${router.path}`;
    router.name = `product.${router.name}`;
});

export default routers;