fix: extract order from membership and stored value create response

This commit is contained in:
gqt
2026-07-12 20:46:56 +08:00
parent 62d59a2f03
commit 1cc96633ad
4 changed files with 6 additions and 4 deletions
@@ -26,6 +26,6 @@ export const membershipApi = {
url: '/api/membership/orders',
method: 'POST',
data: { plan_id: planId }
}).then(toOrderBrief)
}).then((data) => toOrderBrief(data.order))
}
}