@freelog/tools-lib 0.1.192 → 0.1.193
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 +4 -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 +13 -0
package/package.json
CHANGED
|
@@ -354,3 +354,16 @@ export function getTopicInfo(params: GetTopicInfoParamsType) {
|
|
|
354
354
|
params: params,
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
+
|
|
358
|
+
// 查询素材通过多个用户id
|
|
359
|
+
interface GetMaterialsByUserIdsParamsType {
|
|
360
|
+
userIds: number[];
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export function getMaterialsByUserIds(params: GetMaterialsByUserIdsParamsType) {
|
|
364
|
+
return FUtil.Request({
|
|
365
|
+
method: 'POST',
|
|
366
|
+
url: `/v2/activities/lottery/capsule/listByUserIds`,
|
|
367
|
+
data: params,
|
|
368
|
+
});
|
|
369
|
+
}
|