@freelog/tools-lib 0.1.84 → 0.1.85

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freelog/tools-lib",
3
- "version": "0.1.84",
3
+ "version": "0.1.85",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -2,6 +2,8 @@ import FUtil from '../utils';
2
2
 
3
3
  // 列出活动
4
4
  interface List4ClientParamsType {
5
+ skip?: number;
6
+ limit?: number;
5
7
  }
6
8
 
7
9
  export function list4Client(params: List4ClientParamsType) {
@@ -18,7 +18,7 @@ interface ActivitiesParamsType {
18
18
  }
19
19
 
20
20
  export function activities({}: ActivitiesParamsType = {}) {
21
- return `/activity`;
21
+ return `/activities`;
22
22
  }
23
23
 
24
24
  // 活动详情
@@ -27,7 +27,7 @@ interface ActivitiesParamsType {
27
27
  }
28
28
 
29
29
  export function activity({activityID}: ActivitiesParamsType) {
30
- return `/activityDetail/${activityID}`;
30
+ return `/activity/${activityID}`;
31
31
  }
32
32
 
33
33
  /************** www End ******************************************************/