diff --git a/api/card.js b/api/card.js index cbddc9c..3f60e56 100644 --- a/api/card.js +++ b/api/card.js @@ -14,3 +14,10 @@ export const createCardShareToken = async (data) => { data, }); }; + +export const getGreetingSceneList = async (exclude) => { + return request({ + url: `/api/blessing/greeting-scene/list?exclude=${exclude}`, + method: "GET", + }); +}; diff --git a/api/daily.js b/api/daily.js index 22be10b..f9ce3ad 100644 --- a/api/daily.js +++ b/api/daily.js @@ -21,10 +21,3 @@ export const saveDailyGreeting = async (data) => { data, }); }; - -export const getGreetingSceneList = async (exclude) => { - return request({ - url: `/api/blessing/greeting-scene/list?exclude=${exclude}`, - method: "GET", - }); -};