@freelog/tools-lib 0.1.192 → 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 +4 -0
- package/dist/tools-lib.cjs.development.js +9 -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 +9 -1
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/activities.ts +13 -0
|
@@ -116,4 +116,8 @@ interface GetTopicInfoParamsType {
|
|
|
116
116
|
keywords?: string;
|
|
117
117
|
}
|
|
118
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>;
|
|
119
123
|
export {};
|
|
@@ -2886,6 +2886,13 @@ function getTopicInfo(params) {
|
|
|
2886
2886
|
params: params
|
|
2887
2887
|
});
|
|
2888
2888
|
}
|
|
2889
|
+
function getMaterialsByUserIds(params) {
|
|
2890
|
+
return FUtil.Request({
|
|
2891
|
+
method: 'POST',
|
|
2892
|
+
url: "/v2/activities/lottery/capsule/listByUserIds",
|
|
2893
|
+
data: params
|
|
2894
|
+
});
|
|
2895
|
+
}
|
|
2889
2896
|
|
|
2890
2897
|
var Activity = {
|
|
2891
2898
|
__proto__: null,
|
|
@@ -2914,7 +2921,8 @@ var Activity = {
|
|
|
2914
2921
|
statisticSingleRewardRecordForAll: statisticSingleRewardRecordForAll,
|
|
2915
2922
|
lotteryDraw: lotteryDraw,
|
|
2916
2923
|
lotteryDrawResult: lotteryDrawResult,
|
|
2917
|
-
getTopicInfo: getTopicInfo
|
|
2924
|
+
getTopicInfo: getTopicInfo,
|
|
2925
|
+
getMaterialsByUserIds: getMaterialsByUserIds
|
|
2918
2926
|
};
|
|
2919
2927
|
|
|
2920
2928
|
var _excluded$9 = ["recordId"];
|