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
{"version":3,"file":"task.controller.js","sourceRoot":"","sources":["../../src/controller/task.controller.ts"],"names":[],"mappings":";AAAA,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEd,4CAA2D;AAC3D,8CAAmF;AAEnF,8BAA6C;AAC7C,sCAAqD;AAGrD,sEAAoE;AAEpE;IAAA;IAsTA,CAAC;IArTC;;OAEG;IAKG,0BAAW,GAAjB,UACE,OAAyC,EACzC,EAAqD,EACrD,EAA4B;YAD1B,QAAQ,cAAA,EAAE,OAAO,aAAA,EAAE,YAAY,kBAAA;YAChC,WAAW,QAAA;;;;;;wBAEJ,KAAK,GAAgB,YAAY,MAA5B,EAAE,SAAS,GAAK,YAAY,UAAjB,CAAiB;wBAGnB,qBAAM,WAAW,CAAC,WAAW,CACjD,QAAQ,CAAC,GAAG;4BACZ,YAAY;4BACZ;gCACE,WAAW,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,CAAC;gCACnD,+CAA+C;gCAC/C,8EAA8E;6BAC/E,EACD,QAAQ,CACT,EAAA;;wBATG,eAAe,GAAG,SASrB;wBAED,IAAI,CAAC,eAAe;4BAAE,sBAAO,kBAAY,CAAC,KAAK,CAAC,sBAAU,CAAC,YAAY,EAAE,UAAU,CAAC;gCAEpF,+CAA+C;8BAFqC;wBAEpF,+CAA+C;wBAE/C,sBAAO,kBAAY,CAAC,OAAO,CAAC;gCAC1B,WAAW,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,CAAC;gCAC9D,WAAW,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,CAAC;gCAC9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CAAC,CAAC;;;;4CAiB7B;IASD;QAJC,oBAAW,CAAC,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;QACtC,qBAAY,CAAC,CAAC,SAAS,CAAC,CAAC;QACzB,iBAAQ,CAAC,CAAC,qBAAW,CAAC,CAAC;QACvB,iBAAQ,CAAC,CAAC,qCAAiB,CAAC,CAAC;;;;qDA0C7B;IAQD;QAHC,oBAAW,CAAC,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;QACrC,iBAAQ,CAAC,CAAC,qBAAW,CAAC,CAAC;QACvB,iBAAQ,CAAC,CAAC,qCAAiB,CAAC,CAAC;;;;iDAsC7B;IAQD;QAHC,oBAAW,CAAC,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;QACrC,iBAAQ,CAAC,CAAC,qBAAW,CAAC,CAAC;QACvB,iBAAQ,CAAC,CAAC,qCAAiB,CAAC,CAAC;;;;kDAuC7B;IAQD;QAHC,oBAAW,CAAC,CAAC,YAAY,CAAC,CAAC;QAC3B,iBAAQ,CAAC,CAAC,qBAAW,CAAC,CAAC;QACvB,iBAAQ,CAAC,CAAC,qCAAiB,CAAC,CAAC;;;;8CA+B7B;IAQD;QAHC,oBAAW,CAAC,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;QACvC,iBAAQ,CAAC,CAAC,qBAAW,CAAC,CAAC;QACvB,iBAAQ,CAAC,CAAC,qCAAiB,CAAC,CAAC;;;;kDA8B7B;IAQD;QAHC,oBAAW,CAAC,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;QACtC,qBAAY,CAAC,CAAC,SAAS,CAAC,CAAC;QACzB,iBAAQ,CAAC,CAAC,qBAAW,EAAE,qBAAW,CAAC,CAAC;;;;mDAoBpC;IACH,WAAC;CAAA,AAtTD,IAsTC;kBAtToB,IAAI"}
\ No newline at end of file \ No newline at end of file
...@@ -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,CAAA;;4BAErD,qBAAM,WAAW,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE,YAAY,CAAC,EAAA;;wBAA5E,QAAQ,GAAG,SAAiE,CAAA;;;oBAG9E,UAAU;oBACV,qBAAM,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAA;;wBADvC,UAAU;wBACV,SAAuC,CAAA;wBAEvC,sBAAO,kBAAY,CAAC,OAA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AE,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) {
......
{"version":3,"file":"user.service.js","sourceRoot":"","sources":["../../src/service/user.service.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,8BAAwC;AACxC,+CAAwC;AACxC,4BAAoC;AACpC,kCAA+D;AAC/D,0DAAyD;AACzD,kDAAwD;AACxD;IAA0B,+BAAW;IAEnC,qBAAY,OAA0B;QAAtC,YACE,kBAAM,OAAO,CAAC,SAEf;QADC,KAAI,CAAC,OAAO,GAAG,IAAI,aAAO,CAAC,OAAO,EAAE,iBAAY,CAAC,CAAA;;IACnD,CAAC;IACD;;;OAGG;IACG,iCAAW,GAAjB;;;;;;wBACM,KAAmB,IAAI,CAAC,OAAO,EAA7B,MAAM,YAAA,EAAE,IAAI,UAAA,CAAiB;wBAC7B,UAAU,GAAK,IAAI,WAAT,CAAS;wBACZ,qBAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAY,EAAE,MAAM,QAAA,EAAE,UAAU,YAAA,EAAE,CAAC,EAAA;;wBAAtE,MAAM,GAAG,SAA6D;wBAC1E,sBAAO,MAAM,EAAA;;;;KACd;IAED;;;;;OAKG;IACG,yCAAmB,GAAzB,UAA0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AAW;;;;4BACxB,qBAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,GAAG,KAAA,EAAE,CAAC,EAAA;4BAA1C,sBAAO,SAAmC,EAAA;;;;KAC3C;IACH,kBAAC;AAAD,CAAC,AAlND,CAA0B,sBAAW,GAkNpC;AAED,kBAAe,WAAW,CAAA"}
\ No newline at end of file \ No newline at end of file
/** @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