diff --git a/src/config/urls.js b/src/config/urls.js index c696988..d818f17 100644 --- a/src/config/urls.js +++ b/src/config/urls.js @@ -74,6 +74,13 @@ export const SIM_CARD_RECHARGE_ORDERS = (id) => `/v1/account/sim-cards/${id}/rec export const SIM_RECHARGE_ORDER = (id) => `/v1/account/sim-recharge-orders/${id}` export const SIM_RECHARGE_LOGS = '/v1/account/sim-recharge-logs' +// Admin traffic ops +export const ADMIN_TRAFFIC_POOL = '/v1/admin/traffic/pool' +export const ADMIN_TRAFFIC_PURCHASES = '/v1/admin/traffic/purchases' +export const ADMIN_TRAFFIC_PACKAGES = '/v1/admin/traffic/packages' +export const ADMIN_TRAFFIC_PACKAGE = (id) => `/v1/admin/traffic/packages/${id}` +export const ADMIN_TRAFFIC_LEDGER = '/v1/admin/traffic/ledger' + // Users export const USERS = '/v1/users' diff --git a/src/layout/components/SideMenu.vue b/src/layout/components/SideMenu.vue index 1550f8a..b4c6300 100644 --- a/src/layout/components/SideMenu.vue +++ b/src/layout/components/SideMenu.vue @@ -163,6 +163,13 @@ async function logout() { 固件管理 + + + 流量运营 + +