@freelog/tools-lib 0.1.191 → 0.1.193
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 +9 -0
- package/dist/tools-lib.cjs.development.js +17 -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 +17 -1
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/activities.ts +27 -0
|
@@ -111,4 +111,13 @@ interface LotteryDrawResultParamsType {
|
|
|
111
111
|
capsuleType: 1 | 2 | 3;
|
|
112
112
|
}
|
|
113
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>;
|
|
119
|
+
interface GetMaterialsByUserIdsParamsType {
|
|
120
|
+
userIds: number[];
|
|
121
|
+
}
|
|
122
|
+
export declare function getMaterialsByUserIds(params: GetMaterialsByUserIdsParamsType): Promise<any>;
|
|
114
123
|
export {};
|
|
@@ -2879,6 +2879,20 @@ function lotteryDrawResult(params) {
|
|
|
2879
2879
|
params: params
|
|
2880
2880
|
});
|
|
2881
2881
|
}
|
|
2882
|
+
function getTopicInfo(params) {
|
|
2883
|
+
return FUtil.Request({
|
|
2884
|
+
method: 'GET',
|
|
2885
|
+
url: "/v2/activities/item/getInfoByCode",
|
|
2886
|
+
params: params
|
|
2887
|
+
});
|
|
2888
|
+
}
|
|
2889
|
+
function getMaterialsByUserIds(params) {
|
|
2890
|
+
return FUtil.Request({
|
|
2891
|
+
method: 'POST',
|
|
2892
|
+
url: "/v2/activities/lottery/capsule/listByUserIds",
|
|
2893
|
+
data: params
|
|
2894
|
+
});
|
|
2895
|
+
}
|
|
2882
2896
|
|
|
2883
2897
|
var Activity = {
|
|
2884
2898
|
__proto__: null,
|
|
@@ -2906,7 +2920,9 @@ var Activity = {
|
|
|
2906
2920
|
statisticTaskRecords: statisticTaskRecords,
|
|
2907
2921
|
statisticSingleRewardRecordForAll: statisticSingleRewardRecordForAll,
|
|
2908
2922
|
lotteryDraw: lotteryDraw,
|
|
2909
|
-
lotteryDrawResult: lotteryDrawResult
|
|
2923
|
+
lotteryDrawResult: lotteryDrawResult,
|
|
2924
|
+
getTopicInfo: getTopicInfo,
|
|
2925
|
+
getMaterialsByUserIds: getMaterialsByUserIds
|
|
2910
2926
|
};
|
|
2911
2927
|
|
|
2912
2928
|
var _excluded$9 = ["recordId"];
|