export const api = { catalog : { brand : { list : ( { page , pageSize } ) => `/api/catalog_system/pub/brand/list?page=${ page }&pageSize=${ pageSize }` , } , portal : { pageType : ( path ) => `/api/catalog_system/pub/portal/pagetype${ path }` , } , category : { tree : ( depth ) => `/api/catalog_system/pub/category/tree/${ depth }` , } , } , tenants : { tenant : ( tennant ) => `/api/tenant/tenants?q=${ tennant }` , } , } ;