This commit is contained in:
2025-11-29 22:25:16 +08:00
parent 8718429ad1
commit 13f2940a3a

View File

@@ -13,8 +13,8 @@ export function login(data: { phone: string, code?: string, password?: string })
const user: User = { const user: User = {
id: 'user_001', id: 'user_001',
username: data.phone, username: data.phone,
nickname: `用户${data.phone.slice(-4)}`, nickname: `测试${data.phone.slice(-4)}`,
avatar: 'https://picsum.photos/200/200?random=avatar', avatar: '/static/images/avatar.jpg',
phone: data.phone, phone: data.phone,
creditLimits: [], creditLimits: [],
member: mockMember, member: mockMember,