diff --git a/src/api/pay/wallet/index.ts b/src/api/pay/wallet/index.ts index 0e5469db..b57deeb0 100644 --- a/src/api/pay/wallet/index.ts +++ b/src/api/pay/wallet/index.ts @@ -17,6 +17,6 @@ export interface WalletVO { } /** 查询用户钱包详情 */ -export const getUserWallet = async (params: PayWalletUserReqVO) => { - return await request.get({ url: `/pay/wallet/user-wallet`, params }) +export const getWallet = async (params: PayWalletUserReqVO) => { + return await request.get({ url: `/pay/wallet/get`, params }) } diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 414d25e3..dae11168 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -392,23 +392,23 @@ const remainingRouter: AppRouteRecordRaw[] = [ ] }, { - path: '/trade', // 交易中心 + path: '/mall/trade', // 交易中心 component: Layout, meta: { hidden: true }, children: [ { - path: 'order/detail/:orderId(\\d+)', + path: 'order/detail/:id(\\d+)', component: () => import('@/views/mall/trade/order/detail/index.vue'), name: 'TradeOrderDetail', - meta: { title: '订单详情', icon: '', activeMenu: '/trade/trade/order' } + meta: { title: '订单详情', icon: 'ep:view', activeMenu: '/mall/trade/order' } }, { path: 'after-sale/detail/:orderId(\\d+)', component: () => import('@/views/mall/trade/afterSale/detail/index.vue'), name: 'TradeAfterSaleDetail', - meta: { title: '退款详情', icon: '', activeMenu: '/trade/trade/after-sale' } + meta: { title: '退款详情', icon: 'ep:view', activeMenu: '/mall/trade/after-sale' } } ] }, diff --git a/src/views/mall/trade/order/detail/index.vue b/src/views/mall/trade/order/detail/index.vue index e92fa82c..e61b482a 100644 --- a/src/views/mall/trade/order/detail/index.vue +++ b/src/views/mall/trade/order/detail/index.vue @@ -75,11 +75,11 @@ - + - +