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

@@ -28,6 +28,7 @@ import {
import { AlertCircle, Clock, TrendingUp, Info, RefreshCw } from 'lucide-react';
import ReactECharts from 'echarts-for-react';
import { logger } from '@utils/logger';
import { getApiBase } from '@utils/apiConfig';
import { useIndexQuote } from '@hooks/useIndexQuote';
// 定义动画
@@ -77,7 +78,7 @@ const fetchIndexKline = async (indexCode) => {
*/
const fetchPopularConcepts = async () => {
try {
const response = await fetch('/concept-api/search', {
const response = await fetch(`${getApiBase()}/concept-api/search`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ query: '', size: 60, page: 1, sort_by: 'change_pct' })