@freelog/tools-lib 0.1.96 → 0.1.97

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.
@@ -8,7 +8,7 @@ interface BetaCodesActivateParamsType {
8
8
  export function betaCodesActivate({...params}: BetaCodesActivateParamsType) {
9
9
  return FUtil.Request({
10
10
  method: 'POST',
11
- url: '/v2/testQualifications/beta/codes/activate',
11
+ url: `/v2/testQualifications/beta/codes/activate`,
12
12
  data: params,
13
13
  });
14
14
  }
@@ -25,7 +25,32 @@ interface BetaApplyParamsType {
25
25
  export function betaApply({...params}: BetaApplyParamsType) {
26
26
  return FUtil.Request({
27
27
  method: 'POST',
28
- url: '/v2/testQualifications/beta/apply',
28
+ url: `/v2/testQualifications/beta/apply`,
29
+ data: params,
30
+ });
31
+ }
32
+
33
+ // 查看内测资格申请详情
34
+ interface GetBetaApply1ParamsType {
35
+
36
+ }
37
+
38
+ export function getBetaApply1({...params}: GetBetaApply1ParamsType = {}) {
39
+ return FUtil.Request({
40
+ method: 'GET',
41
+ url: `/v2/testQualifications/beta/apply/current`,
42
+ params: params,
43
+ });
44
+ }
45
+
46
+ interface GetBetaApply2ParamsType {
47
+ recordId: string;
48
+ }
49
+
50
+ export function getBetaApply2({recordId, ...params}: GetBetaApply2ParamsType) {
51
+ return FUtil.Request({
52
+ method: 'GET',
53
+ url: `/v2/testQualifications/beta/apply/${recordId}`,
29
54
  data: params,
30
55
  });
31
56
  }