diff --git a/src/api/pay.ts b/src/api/pay.ts index b4ba380..a997287 100644 --- a/src/api/pay.ts +++ b/src/api/pay.ts @@ -58,4 +58,11 @@ export interface IRefundParams { export function refund(data: IRefundParams) { return http.Post('/api/pay/refund', data) -} \ No newline at end of file +} + +/** + * 充值活动创建顶订单 + */ +export function createRechargeOrder(data: {id: number}) { + return http.Post('/api/order/addRechargeOrder', data) +} diff --git a/src/bundle/wallet/recharge.vue b/src/bundle/wallet/recharge.vue index 5a0f2eb..580c23c 100644 --- a/src/bundle/wallet/recharge.vue +++ b/src/bundle/wallet/recharge.vue @@ -11,152 +11,105 @@ - diff --git a/src/pages.json b/src/pages.json index d1106e4..4a8071a 100644 --- a/src/pages.json +++ b/src/pages.json @@ -351,6 +351,15 @@ "navigationStyle": "custom" } }, + { + "path": "wallet/recharge20260110_bck", + "type": "page", + "needLogin": true, + "layout": "default", + "style": { + "navigationStyle": "custom" + } + }, { "path": "wallet/wallet", "type": "page",