@freelog/tools-lib 0.1.190 → 0.1.192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/service-API/activities.d.ts +14 -0
- package/dist/tools-lib.cjs.development.js +25 -1
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +25 -1
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/activities.ts +356 -314
|
@@ -102,4 +102,18 @@ interface StatisticSingleRewardRecordForAllParamsType {
|
|
|
102
102
|
code: string;
|
|
103
103
|
}
|
|
104
104
|
export declare function statisticSingleRewardRecordForAll(params: StatisticSingleRewardRecordForAllParamsType): Promise<any>;
|
|
105
|
+
interface LotteryDrawParamsType {
|
|
106
|
+
capsuleType: 1 | 2 | 3;
|
|
107
|
+
num: 3;
|
|
108
|
+
}
|
|
109
|
+
export declare function lotteryDraw(params: LotteryDrawParamsType): Promise<any>;
|
|
110
|
+
interface LotteryDrawResultParamsType {
|
|
111
|
+
capsuleType: 1 | 2 | 3;
|
|
112
|
+
}
|
|
113
|
+
export declare function lotteryDrawResult(params: LotteryDrawResultParamsType): Promise<any>;
|
|
114
|
+
interface GetTopicInfoParamsType {
|
|
115
|
+
code: string;
|
|
116
|
+
keywords?: string;
|
|
117
|
+
}
|
|
118
|
+
export declare function getTopicInfo(params: GetTopicInfoParamsType): Promise<any>;
|
|
105
119
|
export {};
|
|
@@ -2865,6 +2865,27 @@ function statisticSingleRewardRecordForAll(params) {
|
|
|
2865
2865
|
data: params
|
|
2866
2866
|
});
|
|
2867
2867
|
}
|
|
2868
|
+
function lotteryDraw(params) {
|
|
2869
|
+
return FUtil.Request({
|
|
2870
|
+
method: 'POST',
|
|
2871
|
+
url: "/v2/activities/lottery/capsule/draw",
|
|
2872
|
+
data: params
|
|
2873
|
+
});
|
|
2874
|
+
}
|
|
2875
|
+
function lotteryDrawResult(params) {
|
|
2876
|
+
return FUtil.Request({
|
|
2877
|
+
method: 'GET',
|
|
2878
|
+
url: "/v2/activities/lottery/capsule/getInfo",
|
|
2879
|
+
params: params
|
|
2880
|
+
});
|
|
2881
|
+
}
|
|
2882
|
+
function getTopicInfo(params) {
|
|
2883
|
+
return FUtil.Request({
|
|
2884
|
+
method: 'GET',
|
|
2885
|
+
url: "/v2/activities/item/getInfoByCode",
|
|
2886
|
+
params: params
|
|
2887
|
+
});
|
|
2888
|
+
}
|
|
2868
2889
|
|
|
2869
2890
|
var Activity = {
|
|
2870
2891
|
__proto__: null,
|
|
@@ -2890,7 +2911,10 @@ var Activity = {
|
|
|
2890
2911
|
listRewardRecordInfos: listRewardRecordInfos,
|
|
2891
2912
|
statisticRewardRecords: statisticRewardRecords,
|
|
2892
2913
|
statisticTaskRecords: statisticTaskRecords,
|
|
2893
|
-
statisticSingleRewardRecordForAll: statisticSingleRewardRecordForAll
|
|
2914
|
+
statisticSingleRewardRecordForAll: statisticSingleRewardRecordForAll,
|
|
2915
|
+
lotteryDraw: lotteryDraw,
|
|
2916
|
+
lotteryDrawResult: lotteryDrawResult,
|
|
2917
|
+
getTopicInfo: getTopicInfo
|
|
2894
2918
|
};
|
|
2895
2919
|
|
|
2896
2920
|
var _excluded$9 = ["recordId"];
|