后台:虚拟充值

This commit is contained in:
luying
2022-04-20 16:45:08 +08:00
parent 4919b52e41
commit d9956a5754

View File

@@ -33,6 +33,7 @@ import { getActivitiesByType } from "./activity/activityService";
import { SurveyModel } from "../db/Survery";
import { SurveyRecModel } from "../db/SurveyRec";
import { getPopUpShopData } from "./activity/popUpShopService";
import { TaskPassData } from "../domain/activityField/taskPassField";
// —————————————— 跑马灯 —————————————— //
// 初始
@@ -291,6 +292,15 @@ export function getActivityProducts(activity: ActivityModelType) {
}
return products;
}
case ACTIVITY_TYPE.TASK_PASS:
{
let data = new TaskPassData(activity, 0, 0);
let products: { label: string, value: string }[] = [];
for(let reward of data.rewards) {
products.push(getDicRMB(reward.productID));
}
return products;
}
}
return false