@freelog/tools-lib 0.1.192 → 0.1.194
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 +11 -2
- 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 +11 -2
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/activities.ts +15 -1
|
@@ -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 {};
|
|
@@ -2882,10 +2882,18 @@ function lotteryDrawResult(params) {
|
|
|
2882
2882
|
function getTopicInfo(params) {
|
|
2883
2883
|
return FUtil.Request({
|
|
2884
2884
|
method: 'GET',
|
|
2885
|
-
url:
|
|
2885
|
+
// url: `/v2/activities/item/getInfoByCode`,
|
|
2886
|
+
url: "/v2/activities/item/getInfoByCode4Client",
|
|
2886
2887
|
params: params
|
|
2887
2888
|
});
|
|
2888
2889
|
}
|
|
2890
|
+
function getMaterialsByUserIds(params) {
|
|
2891
|
+
return FUtil.Request({
|
|
2892
|
+
method: 'POST',
|
|
2893
|
+
url: "/v2/activities/lottery/capsule/listByUserIds",
|
|
2894
|
+
data: params
|
|
2895
|
+
});
|
|
2896
|
+
}
|
|
2889
2897
|
|
|
2890
2898
|
var Activity = {
|
|
2891
2899
|
__proto__: null,
|
|
@@ -2914,7 +2922,8 @@ var Activity = {
|
|
|
2914
2922
|
statisticSingleRewardRecordForAll: statisticSingleRewardRecordForAll,
|
|
2915
2923
|
lotteryDraw: lotteryDraw,
|
|
2916
2924
|
lotteryDrawResult: lotteryDrawResult,
|
|
2917
|
-
getTopicInfo: getTopicInfo
|
|
2925
|
+
getTopicInfo: getTopicInfo,
|
|
2926
|
+
getMaterialsByUserIds: getMaterialsByUserIds
|
|
2918
2927
|
};
|
|
2919
2928
|
|
|
2920
2929
|
var _excluded$9 = ["recordId"];
|