@freelog/tools-lib 0.1.190 → 0.1.191

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.
@@ -102,4 +102,13 @@ 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>;
105
114
  export {};
@@ -2865,6 +2865,20 @@ 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
+ }
2868
2882
 
2869
2883
  var Activity = {
2870
2884
  __proto__: null,
@@ -2890,7 +2904,9 @@ var Activity = {
2890
2904
  listRewardRecordInfos: listRewardRecordInfos,
2891
2905
  statisticRewardRecords: statisticRewardRecords,
2892
2906
  statisticTaskRecords: statisticTaskRecords,
2893
- statisticSingleRewardRecordForAll: statisticSingleRewardRecordForAll
2907
+ statisticSingleRewardRecordForAll: statisticSingleRewardRecordForAll,
2908
+ lotteryDraw: lotteryDraw,
2909
+ lotteryDrawResult: lotteryDrawResult
2894
2910
  };
2895
2911
 
2896
2912
  var _excluded$9 = ["recordId"];