Commit c078e2b0 authored by qinhaitao's avatar qinhaitao

feat: 🎸 任务注释

parent 4203224b
......@@ -71,7 +71,7 @@ var Task = /** @class */ (function () {
var userInfo = _a.userInfo, vipInfo = _a.vipInfo, activityInfo = _a.activityInfo, session = _a.session;
var taskService = _b[0];
return __awaiter(this, void 0, void 0, function () {
var tasks, startTime, updatedUserInfo, _c, _d, _e, _f, vipTask, followTask, signTask, orderGoodsTask, browseGoodsTask, collectGoodsTask, jumpLinkTask, invitesTask;
var tasks, startTime, updatedUserInfo, _c, _d, _e, _f, vipTask, followTask;
return __generator(this, function (_g) {
switch (_g.label) {
case 0:
......@@ -92,23 +92,29 @@ var Task = /** @class */ (function () {
];
vipTask = taskService.initVipTask(updatedUserInfo, vipInfo, tasks);
followTask = taskService.initFollowTask(updatedUserInfo, tasks);
signTask = taskService.initSignTask(updatedUserInfo, tasks);
orderGoodsTask = taskService.initOrderGoodsTask(updatedUserInfo, tasks);
browseGoodsTask = taskService.initBrowseGoodsTask(updatedUserInfo, tasks);
collectGoodsTask = taskService.initCollectGoodsTask(updatedUserInfo, tasks);
jumpLinkTask = taskService.initJumpLinkTask(updatedUserInfo, tasks);
invitesTask = taskService.initInvitesTask(updatedUserInfo, tasks);
// 签到任务
// const signTask = taskService.initSignTask(updatedUserInfo, tasks)
// // 下单任务
// const orderGoodsTask = taskService.initOrderGoodsTask(updatedUserInfo, tasks)
// // 浏览商品任务
// const browseGoodsTask = taskService.initBrowseGoodsTask(updatedUserInfo, tasks)
// // 收藏商品任务
// const collectGoodsTask = taskService.initCollectGoodsTask(updatedUserInfo, tasks)
// // 跳转链接任务
// const jumpLinkTask = taskService.initJumpLinkTask(updatedUserInfo, tasks)
// // 邀请任务
// const invitesTask = taskService.initInvitesTask(updatedUserInfo, tasks)
// 积分兑换
//const exchangeCreditsTask = taskService.initExchangeCreditsTask(updatedUserInfo, tasks)
return [2 /*return*/, sdk_1.resultsModel.success([
signTask,
//signTask,
vipTask,
followTask,
orderGoodsTask,
browseGoodsTask,
invitesTask,
collectGoodsTask,
jumpLinkTask
followTask
// orderGoodsTask,
// browseGoodsTask,
// invitesTask,
// collectGoodsTask,
// jumpLinkTask
])];
}
});
......
This diff is collapsed.
......@@ -42,30 +42,30 @@ export default class Task {
// 关注店铺
const followTask = taskService.initFollowTask(updatedUserInfo, tasks)
// 签到任务
const signTask = taskService.initSignTask(updatedUserInfo, tasks)
// 下单任务
const orderGoodsTask = taskService.initOrderGoodsTask(updatedUserInfo, tasks)
// 浏览商品任务
const browseGoodsTask = taskService.initBrowseGoodsTask(updatedUserInfo, tasks)
// 收藏商品任务
const collectGoodsTask = taskService.initCollectGoodsTask(updatedUserInfo, tasks)
// 跳转链接任务
const jumpLinkTask = taskService.initJumpLinkTask(updatedUserInfo, tasks)
// 邀请任务
const invitesTask = taskService.initInvitesTask(updatedUserInfo, tasks)
// const signTask = taskService.initSignTask(updatedUserInfo, tasks)
// // 下单任务
// const orderGoodsTask = taskService.initOrderGoodsTask(updatedUserInfo, tasks)
// // 浏览商品任务
// const browseGoodsTask = taskService.initBrowseGoodsTask(updatedUserInfo, tasks)
// // 收藏商品任务
// const collectGoodsTask = taskService.initCollectGoodsTask(updatedUserInfo, tasks)
// // 跳转链接任务
// const jumpLinkTask = taskService.initJumpLinkTask(updatedUserInfo, tasks)
// // 邀请任务
// const invitesTask = taskService.initInvitesTask(updatedUserInfo, tasks)
// 积分兑换
//const exchangeCreditsTask = taskService.initExchangeCreditsTask(updatedUserInfo, tasks)
return resultsModel.success([
signTask,
//signTask,
vipTask,
followTask,
orderGoodsTask,
browseGoodsTask,
invitesTask,
collectGoodsTask,
jumpLinkTask
followTask
// orderGoodsTask,
// browseGoodsTask,
// invitesTask,
// collectGoodsTask,
// jumpLinkTask
])
}
......
......@@ -12,7 +12,6 @@
"watch": true,
"moduleResolution": "node",
"isolatedModules": false,
"allowJs": true,
"declaration": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment