Commit bb3b8553 authored by qinhaitao's avatar qinhaitao

perf: ️ utils 目录结构

parent 8024dc1b
...@@ -33,7 +33,7 @@ export default class AwardsController { ...@@ -33,7 +33,7 @@ export default class AwardsController {
/** /**
* 权益重新领取 * 权益重新领取
*/ */
receiveEnamePrize(context: IContext<IReceiveEnameParams>, {}: {}, [awardSer]: [AwardsService]): Promise<import("taobao-mini-sdk/lib/utils/resultmodel").Result<string | boolean | object | string[] | object[] | number[], false> | import("taobao-mini-sdk/lib/utils/resultmodel").Result<IAwards | CodeType, true>>; receiveEnamePrize(context: IContext<IReceiveEnameParams>, {}: {}, [awardSer]: [AwardsService]): Promise<import("taobao-mini-sdk/lib/utils/resultmodel").Result<string | boolean | object | object[] | number[] | string[], false> | import("taobao-mini-sdk/lib/utils/resultmodel").Result<CodeType | IAwards, true>>;
/** /**
* 概率抽奖 * 概率抽奖
*/ */
......
...@@ -50,7 +50,7 @@ var common_1 = require("../decorator/common"); ...@@ -50,7 +50,7 @@ var common_1 = require("../decorator/common");
var sdk_1 = require("../sdk"); var sdk_1 = require("../sdk");
var service_1 = require("../service"); var service_1 = require("../service");
var constants_1 = require("../constants"); var constants_1 = require("../constants");
var utils_1 = require("../utils"); var utils_1 = require("../utils/");
var preCheck_1 = require("../decorator/common/preCheck"); var preCheck_1 = require("../decorator/common/preCheck");
var checkActivityTime_1 = require("../utils/check/checkActivityTime"); var checkActivityTime_1 = require("../utils/check/checkActivityTime");
var AwardsController = /** @class */ (function () { var AwardsController = /** @class */ (function () {
......
{"version":3,"file":"awards.controller.js","sourceRoot":"","sources":["../../src/controller/awards.controller.ts"],"names":[],"mappings":";AAAA,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEd,8CAA2D;AAC3D,8BAAqC;AACrC,sCAA0C;AAC1C,0CAAkE;AAClE,kCAA2C;AAE3C,yDAAuD;AACvD,sEAAoE;AAuBpE;IAAA;IA4IA,CAAC;IA3IC;;OAEG;IAGG,yC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C,CAAC;QACjC,iBAAQ,CAAC,CAAC,uBAAa,CAAC,CAAC;;;;6DAYzB;IAQD;QAHC,oBAAW,CAAC,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;QAC5C,iBAAQ,CAAC,CAAC,uBAAa,CAAC,CAAC;QACzB,mBAAQ,CAAC,CAAC,qCAAiB,CAAC,CAAC;;;;4DAkE7B;IACH,uBAAC;CAAA,AA5ID,IA4IC;kBA5IoB,gBAAgB"}
\ No newline at end of file \ No newline at end of file
...@@ -6,7 +6,7 @@ export default class BaseController { ...@@ -6,7 +6,7 @@ export default class BaseController {
*/ */
getActivityBaseInfoById(context: IContext<{ getActivityBaseInfoById(context: IContext<{
activityId: string; activityId: string;
}>, {}: {}, [baseService]: [BaseService]): Promise<IResult<IActivityInfo>>; }>, { activityInfo }: IControllerInfos): Promise<IResult<IActivityInfo>>;
/** /**
* 获取商品列表 * 获取商品列表
*/ */
......
...@@ -46,7 +46,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) { ...@@ -46,7 +46,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
} }
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
var constants_1 = require("./../constants");
var common_1 = require("../decorator/common"); var common_1 = require("../decorator/common");
var sdk_1 = require("../sdk"); var sdk_1 = require("../sdk");
var service_1 = require("../service"); var service_1 = require("../service");
...@@ -56,23 +55,11 @@ var BaseController = /** @class */ (function () { ...@@ -56,23 +55,11 @@ var BaseController = /** @class */ (function () {
/** /**
* 活动基本信息 * 活动基本信息
*/ */
BaseController.prototype.getActivityBaseInfoById = function (context, _a, _b) { BaseController.prototype.getActivityBaseInfoById = function (context, _a) {
var baseService = _b[0]; var activityInfo = _a.activityInfo;
return __awaiter(this, void 0, void 0, function () { return __awaiter(this, void 0, void 0, function () {
var activityId, activityInfo; return __generator(this, function (_b) {
return __generator(this, function (_c) { return [2 /*return*/, sdk_1.resultsModel.success(activityInfo)];
switch (_c.label) {
case 0:
activityId = context.data.activityId;
// 参数校验
if (!activityId) {
return [2 /*return*/, sdk_1.resultsModel.error(constants_1.CODE_TYPES.PARAMS_ERROR, "activityId\u5FC5\u586B")];
}
return [4 /*yield*/, baseService.getBaseInfo(activityId)];
case 1:
activityInfo = _c.sent();
return [2 /*return*/, sdk_1.resultsModel.success(activityInfo)];
}
}); });
}); });
}; };
...@@ -100,7 +87,7 @@ var BaseController = /** @class */ (function () { ...@@ -100,7 +87,7 @@ var BaseController = /** @class */ (function () {
common_1.checkParams(['activityId']), common_1.checkParams(['activityId']),
common_1.services([service_1.BaseService]), common_1.services([service_1.BaseService]),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [Object, Object, Array]), __metadata("design:paramtypes", [Object, Object]),
__metadata("design:returntype", Promise) __metadata("design:returntype", Promise)
], BaseController.prototype, "getActivityBaseInfoById", null); ], BaseController.prototype, "getActivityBaseInfoById", null);
__decorate([ __decorate([
......
{"version":3,"file":"base.controller.js","sourceRoot":"","sources":["../../src/controller/base.controller.ts"],"names":[],"mappings":";AAAA,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEd,4CAA2C;AAC3C,8CAAyE;AAEzE,8BAAqC;AAErC,sCAAwC;AACxC;IAAA;IAwCA,CAAC;IAvCC;;OAEG;IAGG,gDAAuB,GAA7B,UACE,OAEE,EACF,EAAE,EACF,EAA4B;YAA3B,WAAW,QAAA;;;;;;wBAEJ,UAAU,GAAK,OAAO,CAAC,IAAI,WAAjB,CAAiB;wBACnC,OAAO;wBACP,IAAI,CAAC,UAAU,EAAE;4BACf,sBAAO,kBAAY,CAAC,KAAK,CAAC,sBAAU,CAAC,YAAY,EAAE,wBAAc,CAAC,EAAA;yBACnE;wBAEoB,qBAAM,WAAW,CAAC,WAAW,CAAC,UAAU,CAAC,EAAA;;wBAAxD,YAAY,GAAG,SAAyC;wBAC9D,sBAAO,kBAAY,CAAC,OAAO,CAAC,YA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,CAAC,OAAO,EAAE,OAAO,CAAC,EAAA;;wBAA3D,IAAI,GAAG,SAAoD;wBAEjE,sBAAO,kBAAY,CAAC,OAAO,CAAC,IAAI,CAAC,EAAA;;;;KAClC;IAzBD;QAFC,oBAAW,CAAC,CAAC,YAAY,CAAC,CAAC;QAC3B,iBAAQ,CAAC,CAAC,qBAAW,CAAC,CAAC;;;;iEAQvB;IAQD;QAHC,oBAAW,CAAC,CAAC,SAAS,CAAC,CAAC;QACxB,qBAAY,CAAC,CAAC,SAAS,CAAC,CAAC;QACzB,iBAAQ,CAAC,CAAC,qBAAW,CAAC,CAAC;;;;8DAWvB;IACH,qBAAC;CAAA,AAhCD,IAgCC;kBAhCoB,cAAc"}
\ No newline at end of file \ No newline at end of file
...@@ -52,8 +52,9 @@ var common_2 = require("../decorator/common/"); ...@@ -52,8 +52,9 @@ var common_2 = require("../decorator/common/");
var sdk_1 = require("../sdk"); var sdk_1 = require("../sdk");
var utils_1 = require("../utils"); var utils_1 = require("../utils");
var service_1 = require("../service"); var service_1 = require("../service");
var constants_2 = require("../constants");
var checkActivityTime_1 = require("../utils/check/checkActivityTime"); var checkActivityTime_1 = require("../utils/check/checkActivityTime");
var checkVip_1 = require("../utils/check/checkVip");
var constants_2 = require("../constants");
var Share = /** @class */ (function () { var Share = /** @class */ (function () {
function Share() { function Share() {
} }
...@@ -159,8 +160,8 @@ var Share = /** @class */ (function () { ...@@ -159,8 +160,8 @@ var Share = /** @class */ (function () {
__decorate([ __decorate([
common_1.checkParams(['activityId', 'inviteId']), common_1.checkParams(['activityId', 'inviteId']),
common_2.registeInfos(['vipInfo']), common_2.registeInfos(['vipInfo']),
common_2.preCheck([checkActivityTime_1.checkActivityTime]),
common_2.services([service_1.UserService, service_1.TaskService, service_1.StatService, service_1.AccessService]), common_2.services([service_1.UserService, service_1.TaskService, service_1.StatService, service_1.AccessService]),
common_2.preCheck([checkActivityTime_1.checkActivityTime, checkVip_1.checkVip]),
__metadata("design:type", Function), __metadata("design:type", Function),
__metadata("design:paramtypes", [Object, Object, Array]), __metadata("design:paramtypes", [Object, Object, Array]),
__metadata("design:returntype", Promise) __metadata("design:returntype", Promise)
......
{"version":3,"file":"share.controller.js","sourceRoot":"","sources":["../../src/controller/share.controller.ts"],"names":[],"mappings":";AAAA,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEd,4CAA2C;AAC3C,+CAAkD;AAClD,+CAAuE;AACvE,8BAAqC;AACrC,kCAAmE;AACnE,sCAAiF;AAEjF,0CAAwC;AACxC,sEAAoE;AAEpE;IAAA;IAkGA,CAAC;IAjGC;;OAEG;IAGG,4BAAY,GAAlB,UACE,OAEE,EACF,EAA8B;YAA5B,QAAQ,cAAA;;;;gBAOO,OAAO,GACpB,QAAQ,oBADY,CACZ;gBAEZ,sBAAO,kBAAY,CAAC,OAAO,CAAC;wBAC1B,OAAO,EAAE,OAAO;qBACjB,CAAC,EAAA;;;KACH;IACD;;OAEG;IAKG,sBAAM,GAAZ,UACE,OAGE,EACF,EAAqD,EACrD,EAA+F;YAD7F,QAAQ,cAAA,EAAE,OAAO,aAAA,EAAE,YAAY,kBAAA;YAChC,WAAW,QAAA,EAAE,WAAW,QAAA,EAAE,WAAW,QAAA;;;;;;;wBAEhC,KAA2B,OAAO,CAAC,IAAI,EAArC,QAAQ,cAAA,EAAE,UAAU,gBAAA,CAAiB;wBACrC,MAAM,GAAK,OAAO,OAAZ,CAAY;wBAE1B,IAAI,MAAM,KAAK,QAAQ;4BAAE,sBAAO,kBAAY,CAAC,KAAK,CAAC,sBAAU,CAAC,oBAAoB,CAAC,EAAA;wBAEjD,qBAAM,WAAW,CAAC,mBAAmB,CAAC,QAAQ,CAAC;4BAEjF,iCAAiC;0BAFgD;;wBAA3E,cAAc,GAAc,SAA+C;wBAEjF,iCAAiC;wBACjC,IAAI,CAAC,cAAc;4BAAE,sBAAO,kBAAY,CAAC,KAAK,CAAC,sBAAU,CAAC,uBAAuB,CAAC;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CAmEvC;IACH,YAAC;CAAA,AA5FD,IA4FC;kBA5FoB,KAAK"}
\ No newline at end of file \ No newline at end of file
{"version":3,"file":"stat.controller.js","sourceRoot":"","sources":["../../src/controller/stat.controller.ts"],"names":[],"mappings":";AAAA,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEd,4BAAoE;AACpE,8BAAmF;AACnF,0CAAyC;AACzC,gCAAiC;AACjC,8CAA8C;AAC9C,sCAAwC;AAcxC,cAAc;AACd;IAAA;IA6JA,CAAC;IA5JC;;OAEG;IAEG,gCAAO,GAAb,UAAc,OAAkC,EAAE,EAA8B,EAAE,EAA4B;YAA1D,QAAQ,cAAA;YAAuB,WAAW,QAAA;;;;;;wBACpF,IAAI,GAAK,OAAO,CAAC,IAAI,KAAjB,CAAiB;wBAC7B,qBAAM,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAA;;wBAAzC,SAAyC,CAAA;wBACzC,sBAAO,kBAAY,CAAC,OAAO,CAAC,IAAI,CAAC,EAAA;;;;KAClC;IACD;;OAEG;IACG,iCAAQ,GAAd,UAAe,OAAkC;;;;;;;;wBACzC,KAAmC,OAAO,CAAC,IAAI,EAA7C,UAAU,gBAAA,EAAE,QAAQ,cAAA,EAAE,MAAM,YAAA,CAAiB;wBAE/C,OAAO,GAAa,IAAI,aAAO,CAAC,OAAO,EAAE,iBAAY,CAAC,CAAA;wBACtD,SAAS,GAAa,IAAI,aAAO,CAAC,OAAO,EAAE,mBAAc,CAAC,CAAA;wBAC1D,MAAM,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAA;wBAEzB,QAAQ,GAAG,EAAE,CAAA;;;;wBAEb,GAAG,GAAG,QAAQ,CAAA;;;6BACX,CAAA,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,IAAI,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,CAAA;wBAE/C,qBAAM,SA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C,EAAA;;;;;KAE/D;IAvJD;QADC,iBAAQ,CAAC,CAAC,qBAAW,CAAC,CAAC;;;;iDAKvB;IAoJH,qBAAC;CAAA,AA7JD,IA6JC;kBA7JoB,cAAc"}
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
...@@ -49,7 +49,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); ...@@ -49,7 +49,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
var common_1 = require("../decorator/common"); var common_1 = require("../decorator/common");
var sdk_1 = require("../sdk"); var sdk_1 = require("../sdk");
var service_1 = require("../service"); var service_1 = require("../service");
var vip_1 = require("../utils/package/vip"); var vip_1 = require("../utils/common/vip");
var preCheck_1 = require("../decorator/common/preCheck"); var preCheck_1 = require("../decorator/common/preCheck");
var checkActivityTime_1 = require("../utils/check/checkActivityTime"); var checkActivityTime_1 = require("../utils/check/checkActivityTime");
var noCheckUser_1 = require("../decorator/common/noCheckUser"); var noCheckUser_1 = require("../decorator/common/noCheckUser");
......
{"version":3,"file":"user.controller.js","sourceRoot":"","sources":["../../src/controller/user.controller.ts"],"names":[],"mappings":";AAAA,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEd,8CAAyE;AACzE,8BAAqC;AACrC,sCAAuD;AACvD,4CAAiE;AACjE,yDAAuD;AACvD,sEAAoE;AACpE,+DAA6D;AAc7D;IAAA;IA2EA,CAAC;IA1EC;;OAEG;IAMG,oBAAK,GAAX,UACE,OAA+B,EAC/B,EAAqD,EACrD,EAA0D;YADxD,QAAQ,cAAA,EAAE,OAAO,aAAA,EAAE,YAAY,kBAAA;YAChC,WAAW,QAAA,EAAE,aAAa,QAAA;;;;;;wBAEnB,MAAM,GAAK,OAAO,OAAZ,CAAY;6BAEtB,CAAC,QAAQ,EAAT,wBAAS;wBACA,qBAAM,WAAW,CAAC,YAAY,CAAC,OAAO,EAAE,YAAY,CAAC,EAAA;;wBAAhE,QAAQ,GAAG,SAAqD,CAA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D,IAAI,GAAG,SAAiD;wBAE9D,sBAAO,kBAAY,CAAC,OAAO,CAAC;gCAC1B,QAAQ,UAAA;gCACR,MAAM,QAAA;gCACN,IAAI,MAAA;gCACJ,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;gCACxB,IAAI,MAAA;6BACL,CAAC,EAAA;;;;KACH;IAjED;QALC,oBAAW,CAAC,CAAC,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;QAC7D,yBAAW;QACX,qBAAY,CAAC,CAAC,SAAS,CAAC,CAAC;QACzB,iBAAQ,CAAC,CAAC,qBAAW,EAAE,uBAAa,CAAC,CAAC;QACtC,mBAAQ,CAAC,CAAC,qCAAiB,CAAC,CAAC;;;;qCAoB7B;IAOD;QAHC,oBAAW,CAAC,CAAC,YAAY,CAAC,CAAC;QAC3B,qBAAY,CAAC,CAAC,SAAS,CAAC,CAAC;QACzB,iBAAQ,CAAC,EAAE,CAAC;;;;0CAUZ;IAOD;QAFC,oBAAW,CAAC,CAAC,YAAY,CAAC,CAAC;QAC3B,iBAAQ,CAAC,CAAC,qBAAW,CAAC,CAAC;;;;2CAwBvB;IACH,WAAC;CAAA,AA3ED,IA2EC;kBA3EoB,IAAI"}
\ No newline at end of file \ No newline at end of file
...@@ -12,17 +12,17 @@ declare const _default: { ...@@ -12,17 +12,17 @@ declare const _default: {
}>>; }>>;
getActivityBaseInfoById: (context: IContext<{ getActivityBaseInfoById: (context: IContext<{
activityId: string; activityId: string;
}>, {}: {}, [baseService]: [import("./service").BaseService]) => Promise<IResult<IActivityInfo>>; }>, { activityInfo }: IControllerInfos) => Promise<IResult<IActivityInfo>>;
getMyPrizeList: (context: IContext<import("./controller/awards.controller").IPrizeListParams>, {}: {}, [awardSer]: [import("./service").AwardsService]) => Promise<IResult<{ getMyPrizeList: (context: IContext<import("./controller/awards.controller").IPrizeListParams>, {}: {}, [awardSer]: [import("./service").AwardsService]) => Promise<IResult<{
list: IAwards[]; list: IAwards[];
}>>; }>>;
receiveObjectPrize: (context: IContext<import("./controller/awards.controller").IReceiveOjectParams>, {}: {}, [awardSer]: [import("./service").AwardsService]) => Promise<IResult<boolean>>; receiveObjectPrize: (context: IContext<import("./controller/awards.controller").IReceiveOjectParams>, {}: {}, [awardSer]: [import("./service").AwardsService]) => Promise<IResult<boolean>>;
receiveEnamePrize: (context: IContext<import("./controller/awards.controller").IReceiveEnameParams>, {}: {}, [awardSer]: [import("./service").AwardsService]) => Promise<import("taobao-mini-sdk/lib/utils/resultmodel").Result<string | boolean | object | string[] | object[] | number[], false> | import("taobao-mini-sdk/lib/utils/resultmodel").Result<IAwards | import("taobao-mini-sdk/lib/utils/codetypes").CodeType, true>>; receiveEnamePrize: (context: IContext<import("./controller/awards.controller").IReceiveEnameParams>, {}: {}, [awardSer]: [import("./service").AwardsService]) => Promise<import("taobao-mini-sdk/lib/utils/resultmodel").Result<string | boolean | object | object[] | number[] | string[], false> | import("taobao-mini-sdk/lib/utils/resultmodel").Result<import("taobao-mini-sdk/lib/utils/codetypes").CodeType | IAwards, true>>;
doHelp: (context: IContext<{ doHelp: (context: IContext<{
activityId: string; activityId: string;
inviteId: string; inviteId: string;
}>, { userInfo, vipInfo, activityInfo }: IControllerInfos, [userService, taskService, statService]: [import("./service/user.service").default, import("./service").TaskService, import("./service").StatService, import("./service").AccessService]) => Promise<IResult<boolean>>; }>, { userInfo, vipInfo, activityInfo }: IControllerInfos, [userService, taskService, statService]: [import("./service/user.service").default, import("./service").TaskService, import("./service").StatService, import("./service").AccessService]) => Promise<IResult<boolean>>;
getStats: (context: IContext<import("./controller/stat.controller").IGetStatsParams>) => Promise<import("taobao-mini-sdk/lib/utils/resultmodel").Result<string | boolean | object | string[] | object[] | number[], false> | import("taobao-mini-sdk/lib/utils/resultmodel").Result<any, true>>; getStats: (context: IContext<import("./controller/stat.controller").IGetStatsParams>) => Promise<import("taobao-mini-sdk/lib/utils/resultmodel").Result<string | boolean | object | object[] | number[] | string[], false> | import("taobao-mini-sdk/lib/utils/resultmodel").Result<any, true>>;
addStat: (context: IContext<import("./controller/stat.controller").IAddStatsParams>, { userInfo }: IControllerInfos, [statService]: [import("./service").StatService]) => Promise<import("taobao-mini-sdk/lib/utils/resultmodel").Result<boolean, true>>; addStat: (context: IContext<import("./controller/stat.controller").IAddStatsParams>, { userInfo }: IControllerInfos, [statService]: [import("./service").StatService]) => Promise<import("taobao-mini-sdk/lib/utils/resultmodel").Result<boolean, true>>;
getRankList: (context: IContext<{ getRankList: (context: IContext<{
activityId: string; activityId: string;
......
...@@ -69,8 +69,8 @@ var sdk_1 = require("../sdk"); ...@@ -69,8 +69,8 @@ var sdk_1 = require("../sdk");
var base_service_1 = require("./base.service"); var base_service_1 = require("./base.service");
var db_1 = require("../db"); var db_1 = require("../db");
var utils_1 = require("../utils"); var utils_1 = require("../utils");
var userUpdate_1 = require("../utils/package/userUpdate"); var userUpdate_1 = require("../utils/common/userUpdate");
var format_1 = require("../utils/package/format"); var format_1 = require("../utils/common/format");
var UserService = /** @class */ (function (_super) { var UserService = /** @class */ (function (_super) {
__extends(UserService, _super); __extends(UserService, _super);
function UserService(context) { function UserService(context) {
......
This diff is collapsed.
/** @format */ /** @format */
export * from './package/getSession'; export * from './common/getSession';
export * from './package/getToday'; export * from './common/getToday';
export * from './package/sendTBAward'; export * from './common/sendTBAward';
export * from './package/lockUpdate'; export * from './common/lockUpdate';
export * from './package/logger'; export * from './common/logger';
export * from './package/rand'; export * from './common/rand';
export * from './package/getUserOrderlist'; export * from './common/getUserOrderlist';
export * from './package/vip'; export * from './common/vip';
export * from './package/exportHandlers'; export * from './common/exportHandlers';
export * from './package/helper'; export * from './common/helper';
export * from './package/userUpdate'; export * from './common/userUpdate';
export * from './package/format'; export * from './common/format';
export * from './common/doHandler';
...@@ -12,19 +12,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { ...@@ -12,19 +12,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
// 获取商家session // 获取商家session
__exportStar(require("./package/getSession"), exports); __exportStar(require("./common/getSession"), exports);
// 获取当天时间进行format // 获取当天时间进行format
__exportStar(require("./package/getToday"), exports); __exportStar(require("./common/getToday"), exports);
// 发放淘宝奖品(权益/积分) // 发放淘宝奖品(权益/积分)
__exportStar(require("./package/sendTBAward"), exports); __exportStar(require("./common/sendTBAward"), exports);
// 通用并发接口 // 通用并发接口
__exportStar(require("./package/lockUpdate"), exports); __exportStar(require("./common/lockUpdate"), exports);
__exportStar(require("./package/logger"), exports); __exportStar(require("./common/logger"), exports);
__exportStar(require("./package/rand"), exports); __exportStar(require("./common/rand"), exports);
__exportStar(require("./package/getUserOrderlist"), exports); __exportStar(require("./common/getUserOrderlist"), exports);
__exportStar(require("./package/vip"), exports); __exportStar(require("./common/vip"), exports);
__exportStar(require("./package/exportHandlers"), exports); __exportStar(require("./common/exportHandlers"), exports);
__exportStar(require("./package/helper"), exports); __exportStar(require("./common/helper"), exports);
__exportStar(require("./package/userUpdate"), exports); __exportStar(require("./common/userUpdate"), exports);
__exportStar(require("./package/format"), exports); __exportStar(require("./common/format"), exports);
__exportStar(require("./common/doHandler"), exports);
//# sourceMappingURL=index.js.map //# sourceMappingURL=index.js.map
\ No newline at end of file
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";AAAA,cAAc;;;;;;;;;;;;AAEd,cAAc;AACd,uDAAoC;AAEpC,iBAAiB;AACjB,qDAAkC;AAElC,gBAAgB;AAChB,wDAAqC;AAErC,SAAS;AACT,uDAAoC;AAEpC,mDAAgC;AAEhC,iDAA8B;AAE9B,6DAA0C;AAE1C,gDAA6B;AAE7B,2DAAwC;AAExC,mDAAgC;AAEhC,uDAAoC;AAEpC,mDAAgC"} {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";AAAA,cAAc;;;;;;;;;;;;AAEd,cAAc;AACd,sDAAmC;AAEnC,iBAAiB;AACjB,oDAAiC;AAEjC,gBAAgB;AAChB,uDAAoC;AAEpC,SAAS;AACT,sDAAmC;AAEnC,kDAA+B;AAE/B,gDAA6B;AAE7B,4DAAyC;AAEzC,+CAA4B;AAE5B,0DAAuC;AAEvC,kDAA+B;AAE/B,sDAAmC;AAEnC,kDAA+B;AAE/B,qDAAkC"}
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); ...@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.VIP_MOCK = void 0; exports.VIP_MOCK = void 0;
// 测试环境下 duiba2及其子账号自动开启VIP_MOCK, 返回数据可在此设置 // 测试环境下 duiba2及其子账号自动开启VIP_MOCK, 返回数据可在此设置
exports.VIP_MOCK = { exports.VIP_MOCK = {
isVip: true, isVip: false,
url: '//taobao.com' url: '//taobao.com'
}; };
//# sourceMappingURL=vipMock.js.map //# sourceMappingURL=vipMock.js.map
\ No newline at end of file
{"version":3,"file":"vipMock.js","sourceRoot":"","sources":["../src/vipMock.ts"],"names":[],"mappings":";AAAA,cAAc;;;AAEd,2CAA2C;AAC9B,QAAA,QAAQ,GAAG;IACtB,KAAK,EAAE,IAAI;IACX,GAAG,EAAE,cAAc;CACpB,CAAA"} {"version":3,"file":"vipMock.js","sourceRoot":"","sources":["../src/vipMock.ts"],"names":[],"mappings":";AAAA,cAAc;;;AAEd,2CAA2C;AAC9B,QAAA,QAAQ,GAAG;IACtB,KAAK,EAAE,KAAK;IACZ,GAAG,EAAE,cAAc;CACpB,CAAA"}
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ import { services, checkParams } from '../decorator/common' ...@@ -4,7 +4,7 @@ import { services, checkParams } from '../decorator/common'
import { resultsModel } from '../sdk' import { resultsModel } from '../sdk'
import { AwardsService } from '../service' import { AwardsService } from '../service'
import { PRIZE_TYPE, DRAW_STATUS, CODE_TYPES } from '../constants' import { PRIZE_TYPE, DRAW_STATUS, CODE_TYPES } from '../constants'
import { getToday, logger } from '../utils' import { getToday } from '../utils/'
import { CodeType } from 'taobao-mini-sdk/lib/utils/codetypes' import { CodeType } from 'taobao-mini-sdk/lib/utils/codetypes'
import { preCheck } from '../decorator/common/preCheck' import { preCheck } from '../decorator/common/preCheck'
import { checkActivityTime } from '../utils/check/checkActivityTime' import { checkActivityTime } from '../utils/check/checkActivityTime'
......
/** @format */ /** @format */
import { CODE_TYPES } from './../constants'
import { services, checkParams, registeInfos } from '../decorator/common' import { services, checkParams, registeInfos } from '../decorator/common'
import { resultsModel } from '../sdk' import { resultsModel } from '../sdk'
import { logger } from '../utils'
import { BaseService } from '../service' import { BaseService } from '../service'
export default class BaseController { export default class BaseController {
/** /**
...@@ -16,16 +13,8 @@ export default class BaseController { ...@@ -16,16 +13,8 @@ export default class BaseController {
context: IContext<{ context: IContext<{
activityId: string activityId: string
}>, }>,
{}, { activityInfo }: IControllerInfos
[baseService]: [BaseService]
): Promise<IResult<IActivityInfo>> { ): Promise<IResult<IActivityInfo>> {
const { activityId } = context.data
// 参数校验
if (!activityId) {
return resultsModel.error(CODE_TYPES.PARAMS_ERROR, `activityId必填`)
}
// 活动基本情况
const activityInfo = await baseService.getBaseInfo(activityId)
return resultsModel.success(activityInfo) return resultsModel.success(activityInfo)
} }
......
...@@ -6,9 +6,9 @@ import { services, preCheck, registeInfos } from '../decorator/common/' ...@@ -6,9 +6,9 @@ import { services, preCheck, registeInfos } from '../decorator/common/'
import { resultsModel } from '../sdk' import { resultsModel } from '../sdk'
import { getToday, setNewVipUserData, checkNewVip } from '../utils' import { getToday, setNewVipUserData, checkNewVip } from '../utils'
import { UserService, AccessService, TaskService, StatService } from '../service' import { UserService, AccessService, TaskService, StatService } from '../service'
import { STAT_TYPE } from '../constants'
import { checkActivityTime } from '../utils/check/checkActivityTime' import { checkActivityTime } from '../utils/check/checkActivityTime'
import { checkVip } from '../utils/check/checkVip'
import { STAT_TYPE } from '../constants'
export default class Share { export default class Share {
/** /**
...@@ -17,15 +17,9 @@ export default class Share { ...@@ -17,15 +17,9 @@ export default class Share {
@checkParams(['activityId']) @checkParams(['activityId'])
@services([UserService]) @services([UserService])
async getShareInfo( async getShareInfo(
context: IContext<{ context: IContext<{ activityId: string }>,
activityId: string
}>,
{ userInfo }: IControllerInfos { userInfo }: IControllerInfos
): Promise< ): Promise<IResult<{ rewards: number }>> {
IResult<{
rewards: number
}>
> {
const { const {
remainTimes: { invites } remainTimes: { invites }
} = userInfo } = userInfo
...@@ -39,8 +33,8 @@ export default class Share { ...@@ -39,8 +33,8 @@ export default class Share {
*/ */
@checkParams(['activityId', 'inviteId']) @checkParams(['activityId', 'inviteId'])
@registeInfos(['vipInfo']) @registeInfos(['vipInfo'])
@preCheck([checkActivityTime])
@services([UserService, TaskService, StatService, AccessService]) @services([UserService, TaskService, StatService, AccessService])
@preCheck([checkActivityTime, checkVip])
async doHelp( async doHelp(
context: IContext<{ context: IContext<{
activityId: string activityId: string
......
...@@ -4,9 +4,8 @@ import { USER_DB_NAME, ACCESS_DB_NAME, AWARDS_DB_NAME } from '../db' ...@@ -4,9 +4,8 @@ import { USER_DB_NAME, ACCESS_DB_NAME, AWARDS_DB_NAME } from '../db'
import { resultsModel, dateFormatter, transformBeijingDate, BaseDao } from '../sdk' import { resultsModel, dateFormatter, transformBeijingDate, BaseDao } from '../sdk'
import { CODE_TYPES } from '../constants' import { CODE_TYPES } from '../constants'
import * as xlsx from 'node-xlsx' import * as xlsx from 'node-xlsx'
import { services } from '../decorator/common' import { services, registeInfos } from '../decorator/common'
import { StatService } from '../service' import { StatService } from '../service'
import { registeInfos } from '../decorator/common'
export interface IGetStatsParams { export interface IGetStatsParams {
activityId: string activityId: string
......
...@@ -5,7 +5,6 @@ import { checkParams, services, registeInfos, preCheck } from '../decorator/comm ...@@ -5,7 +5,6 @@ import { checkParams, services, registeInfos, preCheck } from '../decorator/comm
import { resultsModel, TBAPIS } from '../sdk' import { resultsModel, TBAPIS } from '../sdk'
import { TaskService, BaseService } from '../service' import { TaskService, BaseService } from '../service'
import { logger } from '../utils'
import { ITaskInfo } from '../service/task.service' import { ITaskInfo } from '../service/task.service'
import { checkActivityTime } from '../utils/check/checkActivityTime' import { checkActivityTime } from '../utils/check/checkActivityTime'
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
import { services, checkParams, registeInfos } from '../decorator/common' import { services, checkParams, registeInfos } from '../decorator/common'
import { resultsModel } from '../sdk' import { resultsModel } from '../sdk'
import { UserService, AccessService } from '../service' import { UserService, AccessService } from '../service'
import { formatVipCbUrl, getShopVip } from '../utils/package/vip' import { formatVipCbUrl, getShopVip } from '../utils/common/vip'
import { preCheck } from '../decorator/common/preCheck' import { preCheck } from '../decorator/common/preCheck'
import { checkActivityTime } from '../utils/check/checkActivityTime' import { checkActivityTime } from '../utils/check/checkActivityTime'
import { noCheckUser } from '../decorator/common/noCheckUser' import { noCheckUser } from '../decorator/common/noCheckUser'
......
/** @format */ /** @format */
import { resultsModel } from '../../sdk' import { resultsModel } from '../../sdk'
import { CODE_TYPES } from '../../constants' import { CODE_TYPES } from '../../constants'
import { UserService, BaseService } from '../../service' import { logFn } from '../../utils'
import { getSellerSession, logFn } from '../../utils'
import { getConfig } from '../../config'
import { formatVipCbUrl, getShopVip } from '../../utils/package/vip'
// 检验参数是否存在 // 检验参数是否存在
export const checkParams = (params: string[]) => { export const checkParams = (params: string[]) => {
return function (target: Object, name: string, descriptor: PropertyDescriptor) { return function (target: Object, name: string, descriptor: PropertyDescriptor) {
......
/** @format */ /** @format */
import { UserService, BaseService } from '../../service' import { UserService, BaseService } from '../../service'
import { getSellerSession } from '../../utils' import { getSellerSession } from '../../utils'
import { formatVipCbUrl, getShopVip } from '../../utils/package/vip' import { formatVipCbUrl, getShopVip } from '../../utils/common/vip'
import { CODE_TYPES } from '../../errorCode' import { CODE_TYPES } from '../../errorCode'
import { resultsModel } from '../../sdk' import { resultsModel } from '../../sdk'
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
import { logFn, recordErrorLog } from '../../utils' import { logFn, recordErrorLog } from '../../utils'
import { resultsModel } from '../../sdk' import { resultsModel } from '../../sdk'
import { CODE_TYPES } from '../../constants' import { CODE_TYPES } from '../../constants'
import { doHandler } from '../../utils/common/doHandler' import { doHandler } from '../../utils/'
import { UserService, BaseService } from '../../service' import { UserService, BaseService } from '../../service'
type Constructor = new (...args: any[]) => {} type Constructor = new (...args: any[]) => {}
......
...@@ -8,8 +8,8 @@ import { BaseDao, TBAPIS } from '../sdk' ...@@ -8,8 +8,8 @@ import { BaseDao, TBAPIS } from '../sdk'
import BaseService from './base.service' import BaseService from './base.service'
import { USER_DB_NAME } from '../db' import { USER_DB_NAME } from '../db'
import { getToday, formatUpdateUserProjection } from '../utils' import { getToday, formatUpdateUserProjection } from '../utils'
import { checkNewVip } from '../utils/package/userUpdate' import { checkNewVip } from '../utils/common/userUpdate'
import { formatUserNick } from '../utils/package/format' import { formatUserNick } from '../utils/common/format'
class UserService extends BaseService { class UserService extends BaseService {
userdao: IBaseDao userdao: IBaseDao
constructor(context: IContext<IParams>) { constructor(context: IContext<IParams>) {
......
...@@ -24,10 +24,10 @@ interface IParams { ...@@ -24,10 +24,10 @@ interface IParams {
interface IControllerInfos { interface IControllerInfos {
userInfo: IUserInfo userInfo: IUserInfo
vipInfo: IVipInfo vipInfo?: IVipInfo
activityInfo?: IActivityInfo activityInfo: IActivityInfo
session: string session?: string
activityUserNick: string // 活动创建账号昵称 activityUserNick?: string // 活动创建账号昵称
} }
interface ICheckControllerInfos extends IControllerInfos { interface ICheckControllerInfos extends IControllerInfos {
......
...@@ -4,10 +4,6 @@ import { resultsModel } from '../../sdk' ...@@ -4,10 +4,6 @@ import { resultsModel } from '../../sdk'
import { CODE_TYPES } from '../../errorCode' import { CODE_TYPES } from '../../errorCode'
export const checkActivityTime = async (context: IContext<IParams>, { activityInfo }: IControllerInfos) => { export const checkActivityTime = async (context: IContext<IParams>, { activityInfo }: IControllerInfos) => {
if (!activityInfo) {
console.error(`使用checkActivityTime registeInfos必须注册activityInfo`)
}
// 活动不存在 // 活动不存在
if (!activityInfo) { if (!activityInfo) {
return resultsModel.error(CODE_TYPES.ERROR_NO_ACTIVITY) return resultsModel.error(CODE_TYPES.ERROR_NO_ACTIVITY)
...@@ -20,6 +16,4 @@ export const checkActivityTime = async (context: IContext<IParams>, { activityIn ...@@ -20,6 +16,4 @@ export const checkActivityTime = async (context: IContext<IParams>, { activityIn
if (currentTime > endTime) { if (currentTime > endTime) {
return resultsModel.error(CODE_TYPES.ERROR_ACTIVITY_OVER, `活动已结束`) return resultsModel.error(CODE_TYPES.ERROR_ACTIVITY_OVER, `活动已结束`)
} }
return {}
} }
/** @format */
import { resultsModel } from '../../sdk'
import { CODE_TYPES } from '../../errorCode'
export const checkVip = async (context: IContext<IParams>, { vipInfo }: IControllerInfos) => {
if (!vipInfo) {
console.error(`使用checkVip registeInfos必须注册vipInfo`)
}
if (!vipInfo.isVip) return resultsModel.error(CODE_TYPES.ERROR_NO_VIP)
}
/** @format */ /** @format */
import { resultsModel } from '../../sdk' import { resultsModel } from '../../sdk'
import { recordErrorLog } from '../package/logger' import { recordErrorLog } from './logger'
import { CODE_TYPES } from '../../errorCode' import { CODE_TYPES } from '../../errorCode'
/** @format */ /** @format */
......
/** @format */ /** @format */
// 获取商家session // 获取商家session
export * from './package/getSession' export * from './common/getSession'
// 获取当天时间进行format // 获取当天时间进行format
export * from './package/getToday' export * from './common/getToday'
// 发放淘宝奖品(权益/积分) // 发放淘宝奖品(权益/积分)
export * from './package/sendTBAward' export * from './common/sendTBAward'
// 通用并发接口 // 通用并发接口
export * from './package/lockUpdate' export * from './common/lockUpdate'
export * from './package/logger' export * from './common/logger'
export * from './package/rand' export * from './common/rand'
export * from './package/getUserOrderlist' export * from './common/getUserOrderlist'
export * from './package/vip' export * from './common/vip'
export * from './package/exportHandlers' export * from './common/exportHandlers'
export * from './package/helper' export * from './common/helper'
export * from './package/userUpdate' export * from './common/userUpdate'
export * from './package/format' export * from './common/format'
export * from './common/doHandler'
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
// 测试环境下 duiba2及其子账号自动开启VIP_MOCK, 返回数据可在此设置 // 测试环境下 duiba2及其子账号自动开启VIP_MOCK, 返回数据可在此设置
export const VIP_MOCK = { export const VIP_MOCK = {
isVip: true, isVip: false,
url: '//taobao.com' url: '//taobao.com'
} }
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