实现多商户履约平台基础
This commit is contained in:
@@ -11,6 +11,8 @@ import Orders from './pages/Orders'
|
||||
import Distributors from './pages/Distributors'
|
||||
import ShipLogs from './pages/ShipLogs'
|
||||
import OpenApiDocs from './pages/OpenApiDocs'
|
||||
import MerchantCenter from './pages/MerchantCenter'
|
||||
import PlatformMerchants from './pages/PlatformMerchants'
|
||||
import type { ReactNode } from 'react'
|
||||
|
||||
function PrivateRoute({ children }: { children: ReactNode }) {
|
||||
@@ -41,6 +43,7 @@ function AppRoutes() {
|
||||
<Route index element={<Dashboard />} />
|
||||
<Route path="skins" element={<Skins />} />
|
||||
<Route path="orders" element={<Orders />} />
|
||||
<Route path="merchant-center" element={<MerchantCenter />} />
|
||||
<Route
|
||||
path="distributors"
|
||||
element={
|
||||
@@ -49,6 +52,14 @@ function AppRoutes() {
|
||||
</AdminRoute>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="platform-merchants"
|
||||
element={
|
||||
<AdminRoute>
|
||||
<PlatformMerchants />
|
||||
</AdminRoute>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="ship-logs"
|
||||
element={
|
||||
|
||||
Reference in New Issue
Block a user