活动:月卡领取
This commit is contained in:
@@ -8,10 +8,10 @@ import { ActivityGrowthFundModel } from '../../../db/ActivityGrowthFund';
|
||||
|
||||
|
||||
export default function (app: Application) {
|
||||
return new SevenDaysHandler(app);
|
||||
return new GrowthFundHandler(app);
|
||||
}
|
||||
|
||||
export class SevenDaysHandler {
|
||||
export class GrowthFundHandler {
|
||||
constructor(private app: Application) {
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ export class SevenDaysHandler {
|
||||
* @description 获取成长基金活动数据
|
||||
* @param {{ type: number}} msg
|
||||
* @param {BackendSession} session
|
||||
* @memberof SevenDaysHandler
|
||||
* @memberof GrowthFundHandler
|
||||
*/
|
||||
async getGrowthFundActivity(msg: { type: number }, session: BackendSession) {
|
||||
const { type } = msg;
|
||||
@@ -39,7 +39,7 @@ export class SevenDaysHandler {
|
||||
* @description 获取成长基金奖励
|
||||
* @param {{ activityId: number, pageIndex: number, cellIndex: number}} msg
|
||||
* @param {BackendSession} session
|
||||
* @memberof SevenDaysHandler
|
||||
* @memberof GrowthFundHandler
|
||||
*/
|
||||
async getGrowthFundCellReward(msg: { activityId: number, pageIndex: number, cellIndex: number }, session: BackendSession) {
|
||||
const { activityId, pageIndex, cellIndex } = msg;
|
||||
|
||||
Reference in New Issue
Block a user