diff --git a/laf-cloud/functions/wx/checkIos.ts b/laf-cloud/functions/wx/checkIos.ts index 845a18a..c12af72 100644 --- a/laf-cloud/functions/wx/checkIos.ts +++ b/laf-cloud/functions/wx/checkIos.ts @@ -52,6 +52,8 @@ export default async function (ctx: FunctionContext) { openid: res.data.openid, outTradeNo: res.data.outTradeNo, itemid: res.data.itemid, + ...(res.data.starterPackBuyRound != null ? { starterPackBuyRound: res.data.starterPackBuyRound } : {}), + ...(res.data.starterPackExpiresAt != null ? { starterPackExpiresAt: res.data.starterPackExpiresAt } : {}), ...(res.data.activityType ? { activityType: res.data.activityType } : {}), ...(res.data.rewardVersion ? { rewardVersion: res.data.rewardVersion } : {}), ...(res.data.paymentAppEnv ? { paymentAppEnv: res.data.paymentAppEnv } : {}),