diff --git a/apps/src/api/legacy/gm.ts b/apps/src/api/legacy/gm.ts index b83f0e4..5f62b1c 100644 --- a/apps/src/api/legacy/gm.ts +++ b/apps/src/api/legacy/gm.ts @@ -21,3 +21,16 @@ export async function reviewGmGoldOperation(data: Record) { data, ); } + +export async function submitGmVipGift(data: Record) { + return requestClient.post>('/gm/vip-gift', data); +} + +export async function pageGmVipGift(params: Record) { + return requestClient.get>>( + '/gm/vip-gift/page', + { + params, + }, + ); +} diff --git a/apps/src/router/routes/modules/gm.ts b/apps/src/router/routes/modules/gm.ts index 6706374..5d8b25c 100644 --- a/apps/src/router/routes/modules/gm.ts +++ b/apps/src/router/routes/modules/gm.ts @@ -17,6 +17,12 @@ const routes: RouteRecordRaw[] = [ component: () => import('#/views/gm/gold-operation.vue'), meta: { title: '金币操作' }, }, + { + name: 'GmVipGift', + path: 'vip-gift', + component: () => import('#/views/gm/vip-gift.vue'), + meta: { title: 'VIP赠送' }, + }, { name: 'GmGoldOperationReview', path: 'gold-operation-review', diff --git a/apps/src/views/gm/vip-gift.vue b/apps/src/views/gm/vip-gift.vue new file mode 100644 index 0000000..6606b85 --- /dev/null +++ b/apps/src/views/gm/vip-gift.vue @@ -0,0 +1,361 @@ + + +