refactor(api): 更新 API 结果类型导入路径

- 将 ApiResult 和 PageResult 类型的导入路径从 '@/api/index' 修改为 '@/api'
- 修改了多个文件中的导入语句,以简化 API 结果类型的导入路径
This commit is contained in:
2025-08-19 09:56:44 +08:00
parent f928264e2c
commit 12b664fc46
97 changed files with 111 additions and 118 deletions

View File

@@ -8,7 +8,7 @@ import {
ArrowRight,
Purse,
People,
Chart
Presentation
} from '@nutui/icons-react-taro'
import {useDealerUser} from '@/hooks/useDealerUser'
import { useThemeStyles } from '@/hooks/useTheme'
@@ -256,7 +256,7 @@ const DealerIndex: React.FC = () => {
<Grid.Item text={'邀请统计'} onClick={() => navigateToPage('/dealer/invite-stats/index')}>
<View className="text-center">
<View className="w-12 h-12 bg-indigo-50 rounded-xl flex items-center justify-center mx-auto mb-2">
<Chart color="#6366f1" size="20"/>
<Presentation color="#6366f1" size="20"/>
</View>
</View>
</Grid.Item>