update pay ui

This commit is contained in:
2025-12-13 15:44:31 +08:00
parent 108204653a
commit ed9d49da01
6 changed files with 18 additions and 14 deletions

View File

@@ -21,6 +21,7 @@ import SimpleConceptCard from './SimpleConceptCard';
import DetailedConceptCard from './DetailedConceptCard';
import TradingDateInfo from './TradingDateInfo';
import { logger } from '@utils/logger';
import { getApiBase } from '@utils/apiConfig';
/**
* 相关概念区组件
@@ -109,13 +110,14 @@ const RelatedConceptsSection = ({
trade_date: formattedTradeDate
};
const apiUrl = `${getApiBase()}/concept-api/search`;
console.log('[RelatedConceptsSection] 发送请求', {
url: '/concept-api/search',
url: apiUrl,
requestBody
});
logger.debug('RelatedConceptsSection', '搜索概念', requestBody);
const response = await fetch('/concept-api/search', {
const response = await fetch(apiUrl, {
method: 'POST',
headers: {
'Content-Type': 'application/json',