| 1 | /* |
| 2 | * @Author: nevin |
| 3 | * @Date: 2025-02-26 21:43:19 |
| 4 | * @LastEditTime: 2025-02-26 21:43:30 |
| 5 | * @LastEditors: nevin |
| 6 | * @Description: 热门事件 |
| 7 | */ |
| 8 | |
| 9 | import { platformApi } from '@/api/platform'; |
| 10 | import React from 'react'; |
| 11 | |
| 12 | const Page: React.FC = () => { |
| 13 | async function getAllHotTopics() { |
| 14 | const res = await platformApi.getAllHotTopics(); |
| 15 | console.log('----', res); |
| 16 | } |
| 17 | |
| 18 | // 获取热门事件 |
| 19 | getAllHotTopics(); |
| 20 | |
| 21 | return ( |
| 22 | <> |
| 23 | <div>热门内容</div> |
| 24 | </> |
| 25 | ); |
| 26 | }; |
| 27 | |
| 28 | export default Page; |
| 29 |