This commit is contained in:
2025-10-29 21:37:00 +08:00
parent 3fe1e332b0
commit be3e4cb912
3 changed files with 6 additions and 10 deletions

View File

@@ -87,9 +87,10 @@ export class GwezzChangdunovel implements INodeType {
const distributorId = credentials.distributor_id as string;
const secretKey = credentials.secret_key as string;
let responseData;
for (let i = 0; i < items.length; i++) {
try {
let responseData;
if (resource === 'distribution') {
if (operation === 'contentBookMetaV1') {
const bookId = this.getNodeParameter('book_id', i) as string;

View File

@@ -19,12 +19,7 @@ export const distributionDescription: INodeProperties[] = [
name: '获取书籍信息',
value: 'contentBookMetaV1',
action: '获取书籍信息',
routing: {
request: {
method: 'GET',
url: '/content/book_meta/v1/',
},
},
description: '通过书籍 ID 获取书籍的元信息',
},
],
default: 'contentBookMetaV1',