diff --git a/src/api/spring/avatar/index.js b/src/api/spring/avatar/index.js index 07cf56d..900c30a 100644 --- a/src/api/spring/avatar/index.js +++ b/src/api/spring/avatar/index.js @@ -53,3 +53,11 @@ export function toggleEnable(id, isEnabled) { data: { isEnabled }, }) } + +export function getCreateList(data) { + return request({ + url: '/management/api/spring/avatar/create/list', + method: 'get', + params: data, + }) +} diff --git a/src/api/spring/fortune/card/index.js b/src/api/spring/fortune/card/index.js index b745b5e..afa491e 100644 --- a/src/api/spring/fortune/card/index.js +++ b/src/api/spring/fortune/card/index.js @@ -8,6 +8,14 @@ export function getList(data) { }) } +export function getDrawList(data) { + return request({ + url: 'management/api/spring/fortune/card/draw/list', + method: 'get', + params: data, + }) +} + export function doAdd(data) { return request({ url: '/management/api/spring/fortune/card', diff --git a/src/router/index.js b/src/router/index.js index 7aadf30..f1400e0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -169,6 +169,12 @@ export const asyncRoutes = [ component: () => import('@/views/spring/avatar/avatarDecor/index'), meta: { title: '头像挂饰' }, }, + { + path: 'record', + name: 'AvatarRecord', + component: () => import('@/views/spring/avatar/record/index'), + meta: { title: '头像记录' }, + }, ], }, { @@ -189,6 +195,12 @@ export const asyncRoutes = [ component: () => import('@/views/spring/fortune/card/index'), meta: { title: '抽签卡片' }, }, + { + path: 'drawRecord', + name: 'DrawRecord', + component: () => import('@/views/spring/fortune/drawRecord/index'), + meta: { title: '抽签记录' }, + }, ], }, { diff --git a/src/views/spring/avatar/record/index.vue b/src/views/spring/avatar/record/index.vue new file mode 100644 index 0000000..87b81c3 --- /dev/null +++ b/src/views/spring/avatar/record/index.vue @@ -0,0 +1,182 @@ + + + + + diff --git a/src/views/spring/blessing/generateRecord/index.vue b/src/views/spring/blessing/generateRecord/index.vue index f41a581..8130105 100644 --- a/src/views/spring/blessing/generateRecord/index.vue +++ b/src/views/spring/blessing/generateRecord/index.vue @@ -64,24 +64,6 @@ - - -