From 2cf940e0b96b6ce273ebf2524179ea2af861fc74 Mon Sep 17 00:00:00 2001 From: huxuejian Date: Thu, 29 Jan 2026 10:27:48 +0800 Subject: [PATCH] Update api.js --- utils/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/api.js b/utils/api.js index 336688d..8f709b8 100644 --- a/utils/api.js +++ b/utils/api.js @@ -108,7 +108,7 @@ const urlsConfig = { addServiceRecord: 'addServiceRecord', updateServiceRecord: 'updateServiceRecord', removeServiceRecord: 'removeServiceRecord', - sendConsultRejectedMessage: "sendConsultRejectedMessage" + // sendConsultRejectedMessage: "sendConsultRejectedMessage" } } @@ -118,7 +118,7 @@ const urls = Object.keys(urlsConfig).reduce((acc, path) => { keys.forEach((key) => { const data = acc[key]; if (data) { - throw new Error(`${data[0]}.${data[1]}和${path}.${url}重复了`) + throw new Error(`${data[0]}.${data[1]}和${path}.${key}重复了`) } acc[key] = [path, config[key]] return acc