feat: 完成前端业务闭环与后端联调

This commit is contained in:
2026-08-24 23:37:56 +08:00
parent c59e36f933
commit 9ad572907b
175 changed files with 10711 additions and 1740 deletions
+14
View File
@@ -0,0 +1,14 @@
import { normalizeReferralProfile } from './referral-contract.js'
import { requestStrict } from './request-client.js'
export const referralApi = {
async getMyReferralProfile(requestOptions = {}) {
const profile = await requestStrict({
url: '/genealogy/app/referrals/me',
method: 'GET'
}, {
requestController: requestOptions.requestController ?? null
})
return normalizeReferralProfile(profile)
}
}