feat: auth

This commit is contained in:
2025-09-07 13:32:25 +08:00
parent 1d5f227a72
commit 5a7a40bd41
13 changed files with 144 additions and 99 deletions

View File

@@ -7,6 +7,7 @@ import { UserInfoCard, UserInfo } from '@/components/UserInfo/index'
import { UserService } from '@/services/userService'
import ListContainer from '@/container/listContainer'
import { TennisMatch } from '../../../../types/list/types'
import { withAuth } from '@/components';
const MyselfPage: React.FC = () => {
// 获取页面参数
@@ -157,7 +158,7 @@ const MyselfPage: React.FC = () => {
is_current_user={is_current_user}
is_following={is_following}
on_follow={handle_follow}
/>
)}
{/* 球局订单和收藏功能 */}
@@ -212,4 +213,4 @@ const MyselfPage: React.FC = () => {
);
};
export default MyselfPage;
export default withAuth(MyselfPage);