diff --git a/api/fortune.js b/api/fortune.js
index 4a9be18..4b13458 100644
--- a/api/fortune.js
+++ b/api/fortune.js
@@ -6,3 +6,10 @@ export const drawFortune = async () => {
method: "GET",
});
};
+
+export const getList = async (page = 1) => {
+ return request({
+ url: `/api/blessing/fortune/list?page=${page}`,
+ method: "GET",
+ });
+};
diff --git a/pages.json b/pages.json
index 5795cb3..e0af25f 100644
--- a/pages.json
+++ b/pages.json
@@ -56,6 +56,14 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
+ },
+ {
+ "path": "pages/fortune/record",
+ "style": {
+ "navigationBarTitleText": "我的运势记录",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
}
],
"globalStyle": {
diff --git a/pages/fortune/index.vue b/pages/fortune/index.vue
index 9e9793d..28b61b0 100644
--- a/pages/fortune/index.vue
+++ b/pages/fortune/index.vue
@@ -95,7 +95,7 @@
-