diff --git a/app/service/warehouseMethods/inbox.js b/app/service/warehouseMethods/inbox.js index 847f579..7232976 100644 --- a/app/service/warehouseMethods/inbox.js +++ b/app/service/warehouseMethods/inbox.js @@ -33,10 +33,6 @@ class WarehouseInboxService extends MainService { throw new Error('targetChannel 不能为空'); } - if (!body.targetUrl || !String(body.targetUrl).trim()) { - throw new Error('targetUrl 不能为空'); - } - // 构造 ext_id const extId = `api:${String(appKey || 'unknown')}:${String(body.requestId).trim()}`; @@ -51,8 +47,6 @@ class WarehouseInboxService extends MainService { source_extra: String(appKey || ''), target_type: body.targetType || 'im', target_channel: body.targetChannel, - target_url: body.targetUrl, - ref_code: body.refCode || null, ext_data: body.extData || null, flags: body.flags || {}, }); diff --git a/database/migrations/20260803140000-inbox-remove-url-refcode.js b/database/migrations/20260803140000-inbox-remove-url-refcode.js deleted file mode 100644 index 1d16864..0000000 --- a/database/migrations/20260803140000-inbox-remove-url-refcode.js +++ /dev/null @@ -1 +0,0 @@ -use strict \ No newline at end of file