From ecb2498795c7aa8390aa13b35a7efc29cb69f5dc Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Thu, 18 Dec 2025 01:04:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E9=93=B6=E8=A1=8C=E5=8D=A1?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bank.ts | 8 +- src/api/store.ts | 15 +- src/bundle/parten/pages/bank-card/list.vue | 74 +++++-- src/bundle/store/setting.vue | 6 +- src/pages/store/room-manage.vue | 232 ++++++++++----------- 5 files changed, 196 insertions(+), 139 deletions(-) diff --git a/src/api/bank.ts b/src/api/bank.ts index f5eeda5..138ffd8 100644 --- a/src/api/bank.ts +++ b/src/api/bank.ts @@ -8,7 +8,6 @@ export function addBankCard(data: IAddBankCardParams) { return http.Post('/storeapi/user/addBank', data) } - /** * 删除银行卡 */ @@ -21,4 +20,11 @@ export function deleteBankCard(id: number) { */ export function getBankCardList() { return http.Post('/storeapi/user/checkBank') +} + +/** + * 提现申请 + */ +export function withdrawApply(amount: number, bank_id: number) { + return http.Post('/storeapi/user/submitReflect', { amount, bank_id }) } \ No newline at end of file diff --git a/src/api/store.ts b/src/api/store.ts index 365f51f..7f386d9 100644 --- a/src/api/store.ts +++ b/src/api/store.ts @@ -48,4 +48,17 @@ export interface IEditStoreInfoParams { export function editStoreInfo(data: IEditStoreInfoParams) { return http.Post('/storeapi/store/editStore', data) -} \ No newline at end of file +} + +/** + * 获取房间列表 + */ +export interface IGetRoomListParams { + page: number + size: number + store_id: number +} + +export function getRoomList(data: IGetRoomListParams) { + return http.Post('/storeapi/store/roomList', data) +} diff --git a/src/bundle/parten/pages/bank-card/list.vue b/src/bundle/parten/pages/bank-card/list.vue index d34f3b8..5288c4b 100644 --- a/src/bundle/parten/pages/bank-card/list.vue +++ b/src/bundle/parten/pages/bank-card/list.vue @@ -9,12 +9,12 @@