@freelog/tools-lib 0.1.191 → 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 +5 -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 +14 -0
|
@@ -111,4 +111,9 @@ 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>;
|
|
114
119
|
export {};
|
|
@@ -2879,6 +2879,13 @@ 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
|
+
}
|
|
2882
2889
|
|
|
2883
2890
|
var Activity = {
|
|
2884
2891
|
__proto__: null,
|
|
@@ -2906,7 +2913,8 @@ var Activity = {
|
|
|
2906
2913
|
statisticTaskRecords: statisticTaskRecords,
|
|
2907
2914
|
statisticSingleRewardRecordForAll: statisticSingleRewardRecordForAll,
|
|
2908
2915
|
lotteryDraw: lotteryDraw,
|
|
2909
|
-
lotteryDrawResult: lotteryDrawResult
|
|
2916
|
+
lotteryDrawResult: lotteryDrawResult,
|
|
2917
|
+
getTopicInfo: getTopicInfo
|
|
2910
2918
|
};
|
|
2911
2919
|
|
|
2912
2920
|
var _excluded$9 = ["recordId"];
|