后台:虚拟充值
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user