update pay function

This commit is contained in:
2025-11-22 11:41:56 +08:00
parent a4b634abff
commit d8e4c737c5
397 changed files with 19572 additions and 9326 deletions

View File

@@ -3,6 +3,7 @@
import React from 'react';
import { ChakraProvider } from '@chakra-ui/react';
import { HeroUIProvider } from '@heroui/react';
import { Provider as ReduxProvider } from 'react-redux';
// Redux Store
@@ -21,9 +22,10 @@ import { NotificationProvider } from '../contexts/NotificationContext';
*
* Provider 层级顺序 (从外到内):
* 1. ReduxProvider - 状态管理层
* 2. ChakraProvider - UI 框架层
* 3. NotificationProvider - 通知系统
* 4. AuthProvider - 认证系统
* 2. ChakraProvider - UI 框架层(主要)
* 3. HeroUIProvider - Hero UI 框架层AgentChat 专用)
* 4. NotificationProvider - 通知系统
* 5. AuthProvider - 认证系统
*
* 注意:
* - AuthModal 已迁移到 Redux (authModalSlice + useAuthModal Hook)
@@ -47,11 +49,13 @@ export function AppProviders({ children }) {
}
}}
>
<NotificationProvider>
<AuthProvider>
{children}
</AuthProvider>
</NotificationProvider>
<HeroUIProvider>
<NotificationProvider>
<AuthProvider>
{children}
</AuthProvider>
</NotificationProvider>
</HeroUIProvider>
</ChakraProvider>
</ReduxProvider>
);