@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freelog/tools-lib",
3
- "version": "0.1.191",
3
+ "version": "0.1.192",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -340,3 +340,17 @@ export function lotteryDrawResult(params: LotteryDrawResultParamsType) {
340
340
  params: params,
341
341
  });
342
342
  }
343
+
344
+ // 查询专题信息
345
+ interface GetTopicInfoParamsType {
346
+ code: string;
347
+ keywords?: string;
348
+ }
349
+
350
+ export function getTopicInfo(params: GetTopicInfoParamsType) {
351
+ return FUtil.Request({
352
+ method: 'GET',
353
+ url: `/v2/activities/item/getInfoByCode`,
354
+ params: params,
355
+ });
356
+ }